[Debian-eeepc-devel] Bug#754377: unable to reproduce the insserv problem, piuparts likes wheezy but does not like jessie
Petter Reinholdtsen
pere at hungry.com
Fri Feb 19 23:37:54 UTC 2016
[Johan Laenen]
> I'm unable to reproduce the problem with insserv rejecting the script
> header on a fresh debian install in a virtual box environment. The install
> on wheezy works without a problem, on jessie piuparts:
Looking at the message, I suspect it only happen on machines / chroots
without udev installed. There are two fixes: (1) Depend on udev or (2)
make the udev init.d script dependency optional. I recommend (2).
Notice the Required-Start header in the current init.d script:
### BEGIN INIT INFO
# Provides: eeepc-acpi-scripts
# Required-Start: udev mountkernfs $remote_fs
# Required-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: Load modules which are useful on EeePCs and similar hardware
### END INIT INFO
If udev is moved to Should-Start instead, the init.d script will be installable
also when udev isn't installed.
Btw, are you sure it need to depend on udev mountkernfs and should be
enabled in rcS.d? I suspect using 'Default-Start: 2 3 4 5' might be a
better option if nothing during early boot or single user mode need
the modules loaded.
--
Happy hacking
Petter Reinholdtsen
More information about the Debian-eeepc-devel
mailing list