[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#755996: ulatencyd: Install ulatencyd with systemd can not normal shutdown (even as root)



Package: ulatencyd
Version: 0.5.0-9
Followup-For: Bug #755996

Hi
I solved this bug.
Created an service ulatencyd-stop.service wich trigger stop ulatencyd.service
on shutdown.target, poweroff.target, halt.target
Copy file from attachment on /lib/systemd/system and then run as root
(systemctl enable ulatencyd-stop.service)



-- System Information:
Debian Release: jessie/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ulatencyd depends on:
ii  dbus                   1.8.6-1
ii  libc6                  2.19-7
ii  libdbus-1-3            1.8.6-1
ii  libdbus-glib-1-2       0.102-1
ii  libglib2.0-0           2.40.0-3
ii  liblua5.1-0            5.1.5-5
ii  libpolkit-gobject-1-0  0.105-6.1
ii  libxau6                1:1.0.8-1
ii  libxcb1                1.10-3
ii  lua-posix              31-2
ii  lua5.1 [lua]           5.1.5-5

Versions of packages ulatencyd recommends:
ii  consolekit  0.4.6-4

ulatencyd suggests no packages.

-- no debconf information
[Unit]
Description=Service to stop ulatencyd on shutdown


[Service]
ExecStart=/bin/systemctl stop ulatencyd.service



[Install]
WantedBy=poweroff.target  halt.target reboot.target

Reply to: