[Pkg-libvirt-maintainers] Bug#616162: Bug#616162: libvirt-bin: missing dependency on $local_fs

Tollef Fog Heen tfheen at debian.org
Thu Mar 3 09:28:49 UTC 2011


]] Guido Günther 

| Hi Tollef,
| On Wed, Mar 02, 2011 at 10:47:09PM +0100, Tollef Fog Heen wrote:
| > Package: libvirt-bin
| > Version: 0.8.3-5
| > Severity: normal
| > 
| > #610738 added a Should-Start for cgconfig.  However, if you're using
| > systemd, the cgroup file system is mounted by systemd and so you have
| > the same race condition as described in #610738.  For me, I can make the
| > race condition go away by making the init script depend on $local_fs
| > rather than just $remote_fs as all local file systems will then have
| > been mounted.
| > 
| > The Debian wiki (http://wiki.debian.org/LSBInitScripts) wrongly suggests
| > that $remote_fs is a superset of $local_fs while I am unable to find
| > anything suggesting that in the LSB.
| >
| > 
| > Could you please add $local_fs to the Required-Start list?
| 
| Just to make sure I understand this correctly: the bug appears because
| systemd doesn't see $local_fs as a requirement for $remote_fs while
| Debian's sysvinit does?

Yes, or rather: I think so.

| If so wouldn't it make more sense to fix this in systemd instead?

No, since that would mask errors and cause a difference in behaviour
between Debian and other distributions for no good reason.  Sysvinit
should rather just follow the LSB specs.

-- 
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are





More information about the Pkg-libvirt-maintainers mailing list