Bug#520742: udev: udevd is started even when policy-rc.d says no, and fails with debootstrap.

2009-05-18 Thread Rafal Kupka
On Sat, May 16, 2009 at 10:57:12AM +0200, Marco d'Itri wrote: Hello, > On May 16, Rafa?? Kupka wrote: > > > I have following idea to solve that problem. Please check if it's good > > solution. > Maybe, but does debootstrap actually use policy-rc.d? No, it uses fake start-stop-daemon. But there

Bug#520742: udev: udevd is started even when policy-rc.d says no, and fails with debootstrap.

2009-05-16 Thread Marco d'Itri
On May 16, Rafa?? Kupka wrote: > I have following idea to solve that problem. Please check if it's good > solution. Maybe, but does debootstrap actually use policy-rc.d? -- ciao, Marco signature.asc Description: Digital signature

Bug#520742: udev: udevd is started even when policy-rc.d says no, and fails with debootstrap.

2009-05-15 Thread RafaƂ Kupka
Hello, I have following idea to solve that problem. Please check if it's good solution. Lets add additional test similar to chrooted() in post install script. forbidden() { if [ -x /usr/sbin/policy-rc.d ]; /usr/sbin/policy-rc.d check_udevd start case "$?" in 0|1|100|105)

Bug#520742: udev: udevd is started even when policy-rc.d says no, and fails with debootstrap.

2009-05-11 Thread Marco d'Itri
debootstrap maintainers, how do you want to solve this? I see three kind of solutions: - the udev postinst checks for [ -d /debootstrap ] and does not try to start the daemon if it exists - debootstrap --foreign creates /etc/udev/disabled and deletes it when it's done - debootstrap --foreign si

Bug#520742: udev: udevd is started even when policy-rc.d says no, and fails with debootstrap.

2009-04-20 Thread Marco d'Itri
On Apr 21, Junichi Uekawa wrote: > then run on the generated chroot (OS image): > > /debootstrap/debootstrap --second-stage > > udev postinst will of course know it's a chroot if it's a chroot, but > if it's running outside of chroot (like, inside qemu or natively), it > will fail. Why sho

Bug#520742: udev: udevd is started even when policy-rc.d says no, and fails with debootstrap.

2009-04-20 Thread Junichi Uekawa
Hi, At Sun, 12 Apr 2009 03:47:59 +0200, Marco d'Itri wrote: > > [1 ] > On Mar 23, Junichi Uekawa wrote: > > > One thing, it's not inside a chroot. It's a session inside qemu > > (qemubuilder --create, which is internally running debootstrap > > --cross). > I am not familiar with qemubuilder an

Bug#520742: udev: udevd is started even when policy-rc.d says no, and fails with debootstrap.

2009-04-11 Thread Marco d'Itri
On Mar 23, Junichi Uekawa wrote: > One thing, it's not inside a chroot. It's a session inside qemu > (qemubuilder --create, which is internally running debootstrap > --cross). I am not familiar with qemubuilder and I cannot find any documentation about debootstrap --cross. Can you explain me exac

Bug#520742: udev: udevd is started even when policy-rc.d says no, and fails with debootstrap.

2009-04-09 Thread Junichi Uekawa
Hi, So, the problem is: 1. udevd relies on start-stop-daemon working for stopping udevd (debootstrap overrides start-stop-daemon with a dummy) 2. does not use start-stop-daemon to start up udevd / does not honor invoke-rc.d rules At Wed, 08 Apr 2009 22:30:00 +0900, Junichi Uekawa wrote: >

Bug#520742: udev: udevd is started even when policy-rc.d says no, and fails with debootstrap.

2009-04-08 Thread Junichi Uekawa
Okay, looking at it again, since problem still persists. Log of failing udev installation looks like this: Setting up udev (0.140-2) ... run_command: calling: test udevadm_test: version 140 test: unrecognized option '--subsystem=net' run_command: calling: test udevadm_test: version 140 test: unr

Bug#520742: udev: udevd is started even when policy-rc.d says no, and fails with debootstrap.

2009-03-28 Thread Junichi Uekawa
Hi, At Mon, 23 Mar 2009 00:48:14 +0100, Marco d'Itri wrote: > > [1 ] > On Mar 23, Junichi Uekawa wrote: > > > > > udev seems to want to start a daemon even when policy-rc.d says no, > invoke-rc.d cannot be used because the daemon must be started directly > without using the init script. > > >

Bug#520742: udev: udevd is started even when policy-rc.d says no, and fails with debootstrap.

2009-03-27 Thread Marco d'Itri
On Mar 23, Marco d'Itri wrote: > > There shouldn't be another instance of udev running, so it sounds like > Except that there is, because udevd is failing to create the > @/org/kernel/udev/udevd abstract local domain socket which is created > only by udevd. Are there any news about this? -- cia

Bug#520742: udev: udevd is started even when policy-rc.d says no, and fails with debootstrap.

2009-03-22 Thread Marco d'Itri
On Mar 23, Junichi Uekawa wrote: > > > udev seems to want to start a daemon even when policy-rc.d says no, invoke-rc.d cannot be used because the daemon must be started directly without using the init script. > There shouldn't be another instance of udev running, so it sounds like Except that th

Bug#520742: udev: udevd is started even when policy-rc.d says no, and fails with debootstrap.

2009-03-22 Thread Junichi Uekawa
Hi, At Sun, 22 Mar 2009 15:07:15 +0100, Marco d'Itri wrote: > > [1 ] > On Mar 22, Junichi Uekawa wrote: > > > udev seems to want to start a daemon even when policy-rc.d says no, > > and fails. I am not quite sure why it failed this time and not any > > other time, but I'm reporting this failur

Bug#520742: udev: udevd is started even when policy-rc.d says no, and fails with debootstrap.

2009-03-22 Thread Marco d'Itri
On Mar 22, Junichi Uekawa wrote: > udev seems to want to start a daemon even when policy-rc.d says no, > and fails. I am not quite sure why it failed this time and not any > other time, but I'm reporting this failure anyway. postinst checks if it is running in a chroot. Please find out why this i

Bug#520742: udev: udevd is started even when policy-rc.d says no, and fails with debootstrap.

2009-03-22 Thread Junichi Uekawa
Package: udev Version: 0.125-7 udev seems to want to start a daemon even when policy-rc.d says no, and fails. I am not quite sure why it failed this time and not any other time, but I'm reporting this failure anyway. Setting up udev (0.125-7) ... Warning: Fake start-stop-daemon called, doing