Comment 6 for bug 875525

Revision history for this message
Clint Byrum (clint-fewbar) wrote : Re: [Bug 875525] Re: cgroup-bin upstart job does not handle the package being removed but not purged properly

Excerpts from Serge Hallyn's message of Thu Oct 20 13:40:04 UTC 2011:
> @Clint,
>
> Note that I don't see any other upstart jobs (ssh, libvirt-bin, etc)
> doing this.
>
> For cgroup-bin, just to make sure I'm understanding right, should it do
> 'stop; exit 0;' if the binary is not found?

Err, are you sure ssh doesn't do it?

    test -x /usr/sbin/sshd || { stop; exit 0; }

Thats the first line of the pre-start of ssh.conf. Should do a similar
thing with cgconfigparser.