reassign 537251 hal retitle 537251 hal: init script should handle chroot in restart as well as start kthxbye
On Thu, Jul 16, 2009 at 16:51:36 +0400, Vladimir Stavrinov wrote: > Package: xserver-xorg > Version: 1:7.4+3 > Severity: normal > Tags: patch > > When upgrade diskless workstation in chrooted environment, I've got error: > > Setting up hal (0.5.12~git20090406.46dc48-2) ... > Can't start Hardware abstraction layer - detected chrooted session failed! > Setting up xserver-xorg (1:7.4+3) ... > invoke-rc.d: initscript hal, action "restart" failed. > dpkg: error processing xserver-xorg (--configure): > subprocess installed post-installation script returned error exit status 1 > > > The best solution is check if there are chroot, but simplest and quick is in > my patch. > This should be done in the hal init script, not papering over it in xserver-xorg. The various checks in the "start" case should probably be moved to the do_start function so they're applied in restart as well. Cheers, Julien -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org