[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Why udev does not use update-rc.d in its postinst



George Danchev <danchev@spnet.net> wrote:

> Hello,
> 	There is a /etc/init.d/udev script provided by the udev package, but as it 
> seems no entity cares to start it at boot time to populate the /dev 
> directory. Are there any good reasons for udev not to call update-rc.d from 
> its postinst to install the necessary symlinks in place ? Next, there might 
> be a udev entry in /etc/default/ to control start-on-boot behaviour of that 
> init.d script.

tail /var/lib/dpkg/info/udev.postinst
# Automatically added by dh_installinit
if [ -x "/etc/init.d/udev" ]; then
        update-rc.d udev start 03 S . >/dev/null || exit 0
fi
# End automatically added section
# Automatically added by dh_installinit
if [ -x "/etc/init.d/udev-mtab" ]; then
        update-rc.d udev-mtab start 36 S . >/dev/null || exit 0
fi
# End automatically added section

That's the version in testing, but the source package in sid also has
all that's needed to get it in again, unless there's a hard-to-see
subtle error.

Maybe you have some link to /etc/init.d/udev left in a runlevel you
don't use, or only a kill link?

Regards, Frank
-- 
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)



Reply to: