On Sunday 28 October 2012 02:22 PM, Ritesh Raj Sarraf wrote:
> Ideally, pid 14197 should have been backgrounded, and pid 14176 should
> have clean exited, leaving pid 14197 to loop. It does not allow that.

Also, frequently, I see the service hung when trying to manually start.

rrs@champaran:/run/lock$ sudo systemctl status laptop-mode.service
[sudo] password for rrs:
laptop-mode.service - Laptop Mode Tools
          Loaded: loaded (/lib/systemd/system/laptop-mode.service; enabled)
          Active: activating (start) since Sun, 28 Oct 2012 14:41:37
+0530; 3min 40s ago
         Process: 25805 ExecStopPost=/bin/rm -f
/var/run/laptop-mode-tools/enabled (code=exited, status=0/SUCCESS)
         Process: 25099 ExecStop=/usr/sbin/laptop_mode init stop
(code=exited, status=0/SUCCESS)
         Process: 25856 ExecStartPre=/usr/bin/touch
/var/run/laptop-mode-tools/enabled (code=exited, status=0/SUCCESS)
         Process: 25854 ExecStartPre=/usr/bin/install -d
/var/run/laptop-mode-tools (code=exited, status=0/SUCCESS)
        Main PID: 25858 (laptop_mode)
          CGroup: name=systemd:/system/laptop-mode.service
                  ├ 25858 /bin/sh /usr/sbin/laptop_mode init auto
                  ├ 25876 /bin/sh
/usr/share/laptop-mode-tools/module-helpers/lm-polling-daemon
                  └ 26724 sleep 150



If I Ctrl+C it and start again, it works. As you can see, it is in
activating state for 3+ mins.

-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to