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

2011-03-03 Thread Tollef Fog Heen
]] 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



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2011-03-02 Thread 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?

If so wouldn't it make more sense to fix this in systemd instead?
Cheers,
 -- Guido

 
 -- 
 Tollef Fog Heen
 UNIX is user friendly, it's just picky about who its friends are
 
 
 
 ___
 Pkg-libvirt-maintainers mailing list
 pkg-libvirt-maintain...@lists.alioth.debian.org
 http://lists.alioth.debian.org/mailman/listinfo/pkg-libvirt-maintainers
 



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org