Bug#469855: postinst fails if udev is not running

2008-03-09 Thread Joseph Nahmias
tags 469855 + pending thanks Hello again, On Sun, Mar 09, 2008 at 11:17:42AM +0100, Sebastian Harl wrote: > On Sun, Mar 09, 2008 at 05:41:05AM +, Joseph Nahmias wrote: > > On Fri, Mar 07, 2008 at 08:07:14PM +0100, Sebastian Harl wrote: > > --- postinst2008-02-08 10:13:24.0 -05

Bug#469855: postinst fails if udev is not running

2008-03-09 Thread Julien Cristau
On Sun, Mar 9, 2008 at 11:17:42 +0100, Sebastian Harl wrote: > > +if [ -x /etc/init.d/udev ] && [ -n "$udev_pid" ]; then > > +if [ "$(stat -c %d/%i /)" = "$(stat -Lc %d/%i /proc/$udev_pid/root > > 2>/dev/null)" ]; > > The builtin stat shipped with zsh does not seem to recognize the

Bug#469855: postinst fails if udev is not running

2008-03-09 Thread Sebastian Harl
Hi, On Sun, Mar 09, 2008 at 05:41:05AM +, Joseph Nahmias wrote: > On Fri, Mar 07, 2008 at 08:07:14PM +0100, Sebastian Harl wrote: > > On Fri, Mar 07, 2008 at 06:47:53PM +0100, Julien Cristau wrote: > > > On Fri, Mar 7, 2008 at 18:36:07 +0100, Sebastian Harl wrote: > > > > Sorry, this patch do

Bug#469855: postinst fails if udev is not running

2008-03-08 Thread Joseph Nahmias
tags 469855 + patch thanks On Fri, Mar 07, 2008 at 08:07:14PM +0100, Sebastian Harl wrote: > Hi, > > On Fri, Mar 07, 2008 at 06:47:53PM +0100, Julien Cristau wrote: > > On Fri, Mar 7, 2008 at 18:36:07 +0100, Sebastian Harl wrote: > > > Sorry, this patch does not change anything. "a && b" is basi

Bug#469855: postinst fails if udev is not running

2008-03-07 Thread Sebastian Harl
Hi, On Fri, Mar 07, 2008 at 06:47:53PM +0100, Julien Cristau wrote: > On Fri, Mar 7, 2008 at 18:36:07 +0100, Sebastian Harl wrote: > > Sorry, this patch does not change anything. "a && b" is basically the > > same as "if a; then b; fi" which is what you're doing here. This issue > > has already b

Bug#469855: postinst fails if udev is not running

2008-03-07 Thread Julien Cristau
On Fri, Mar 7, 2008 at 18:36:07 +0100, Sebastian Harl wrote: > Sorry, this patch does not change anything. "a && b" is basically the > same as "if a; then b; fi" which is what you're doing here. This issue > has already been addressed in the fix for #447961. > Well no. "a && b" is only successfu

Bug#469855: postinst fails if udev is not running

2008-03-07 Thread Sebastian Harl
tags 469855 - patch thanks Hi, On Fri, Mar 07, 2008 at 09:46:56AM -0500, Joe Nahmias wrote: > It seems that the nut postinst script errors out if udev is not running > at the time the script is run. This creates problems in buildds or > chroots since udev is normally not started in those environ

Bug#469855: postinst fails if udev is not running

2008-03-07 Thread Joe Nahmias
Package: nut Version: 2.2.1-2 Severity: serious Tags: patch Hello, It seems that the nut postinst script errors out if udev is not running at the time the script is run. This creates problems in buildds or chroots since udev is normally not started in those environments. See, for example, the i