> However, I've check samba.postinst and I don't see anything wrong on it > (assuming that invoke-rc.d works properly): > > if [ -x "/etc/init.d/samba" ]; then > update-rc.d samba defaults 20 19 >/dev/null > if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then > invoke-rc.d samba start || exit 0 > else > /etc/init.d/samba start || exit 0 > fi > fi > > So maybe there is some bug in invoke-rc.d... but I was also having a look to > invoke-rc.d and I didn't find anything wrong on it (it is a quite complex > script, though).
I'm afraid I either don't understand invoke-rc.d or there's a bug in it.... >From what I understand, if I : -stop cron by /etc/init.d/cron stop -remove /etc/rc2.d/S89cron link -use "invoke-rc.d cron start" cron should *not* start as there's no start script for it in /etc/rc2.d (I'm of course in runlevel 2) And, actually, doing so, just starts cron....