On Apr 21, Junichi Uekawa <dan...@netfort.gr.jp> 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 should daemons not be started if debootstrap is not being run in a chroot? Maybe that this should be fixed in deboostrap instead, i.e. it should not disable s-s-d if it's not running in a chroot.
> There are two ways to tackle the problem; the current problem at hand > seems like using a fake start-stop-daemon to stop udevd and assuming > udevd is stopped. > Why not use policy-rc.d / invoke-rc.d ? It sounds more generic. invoke-rc.d cannot be used because udevd must be started without using the init script. I don't know if using policy-rc.d would be possible and/or appropriate in this case. -- ciao, Marco
signature.asc
Description: Digital signature