> Can you please try this experiment:
> update-rc.d -f wwwoffle remove
> update-rc.d wwwoffle defaults
> then run rcconf and in it deselect wwwoffle,
> then do
> # find /etc/rc?* -name \*wwwoffle*
> /etc/rc0.d/K20wwwoffle
> /etc/rc1.d/K20wwwoffle
> /etc/rc2.d/K20wwwoffle
> /etc/rc3.d/K20wwwoffle
> /etc/rc4.d/K20wwwoffle
> /etc/rc5.d/K20wwwoffle
> /etc/rc6.d/K20wwwoffle
> do you see rcconf left behind only K links? OK, I guess, but
> then run rcconf and see if wwwoffle is listed at all.

Rcconf sets K links when you de-select the package.
The daemon process of the package will be stopped safely when the system
is shutdown after you de-select the package.

I tried your instruction and can see wwwoffle and other packages.
Of course, I can see K links as follows:
# update-rc.d -f wwwoffle remove
 Removing any system startup links for /etc/init.d/wwwoffle ...
   /etc/rc0.d/K20wwwoffle
   /etc/rc1.d/K20wwwoffle
   /etc/rc2.d/S20wwwoffle
   /etc/rc3.d/S20wwwoffle
   /etc/rc4.d/S20wwwoffle
   /etc/rc5.d/S20wwwoffle
   /etc/rc6.d/K20wwwoffle
# update-rc.d wwwoffle defaults
 Adding system startup for /etc/init.d/wwwoffle ...
   /etc/rc0.d/K20wwwoffle -> ../init.d/wwwoffle
   /etc/rc1.d/K20wwwoffle -> ../init.d/wwwoffle
   /etc/rc6.d/K20wwwoffle -> ../init.d/wwwoffle
   /etc/rc2.d/S20wwwoffle -> ../init.d/wwwoffle
   /etc/rc3.d/S20wwwoffle -> ../init.d/wwwoffle
   /etc/rc4.d/S20wwwoffle -> ../init.d/wwwoffle
   /etc/rc5.d/S20wwwoffle -> ../init.d/wwwoffle
# rcconf  <--- de-select
# find /etc/rc?* -name \*wwwoffle*
/etc/rc0.d/K00wwwoffle
/etc/rc1.d/K00wwwoffle
/etc/rc2.d/K00wwwoffle
/etc/rc3.d/K00wwwoffle
/etc/rc4.d/K00wwwoffle
/etc/rc5.d/K00wwwoffle
/etc/rc6.d/K00wwwoffle
# rcconf  <--- select
# rcconf  <--- de-select


The following result is after wwwoffle is selected by rcconf:
# find /etc/rc?* -name \*wwwoffle*
/etc/rc0.d/K20wwwoffle
/etc/rc1.d/K20wwwoffle
/etc/rc2.d/S20wwwoffle
/etc/rc3.d/S20wwwoffle
/etc/rc4.d/S20wwwoffle
/etc/rc5.d/S20wwwoffle
/etc/rc6.d/K20wwwoffle


Here is de-selecting wwwoffle only with --verbose option.

# rcconf --verbose
/usr/sbin/update-rc.d -f wwwoffle remove  ; /usr/sbin/update-rc.d wwwoffle stop 
00 0 1 2 3 4 5 6 .  
 Removing any system startup links for /etc/init.d/wwwoffle ...
   /etc/rc0.d/K20wwwoffle
   /etc/rc1.d/K20wwwoffle
   /etc/rc2.d/S20wwwoffle
   /etc/rc3.d/S20wwwoffle
   /etc/rc4.d/S20wwwoffle
   /etc/rc5.d/S20wwwoffle
   /etc/rc6.d/K20wwwoffle
 Adding system startup for /etc/init.d/wwwoffle ...
   /etc/rc0.d/K00wwwoffle -> ../init.d/wwwoffle
   /etc/rc1.d/K00wwwoffle -> ../init.d/wwwoffle
   /etc/rc2.d/K00wwwoffle -> ../init.d/wwwoffle
   /etc/rc3.d/K00wwwoffle -> ../init.d/wwwoffle
   /etc/rc4.d/K00wwwoffle -> ../init.d/wwwoffle
   /etc/rc5.d/K00wwwoffle -> ../init.d/wwwoffle
   /etc/rc6.d/K00wwwoffle -> ../init.d/wwwoffle

And, here is selecting wwwoffle only again with --verbose option.

# rcconf --verbose
/usr/sbin/update-rc.d -f wwwoffle remove  ; /usr/sbin/update-rc.d wwwoffle 
defaults 
 Removing any system startup links for /etc/init.d/wwwoffle ...
   /etc/rc0.d/K00wwwoffle
   /etc/rc1.d/K00wwwoffle
   /etc/rc2.d/K00wwwoffle
   /etc/rc3.d/K00wwwoffle
   /etc/rc4.d/K00wwwoffle
   /etc/rc5.d/K00wwwoffle
   /etc/rc6.d/K00wwwoffle
 Adding system startup for /etc/init.d/wwwoffle ...
   /etc/rc0.d/K20wwwoffle -> ../init.d/wwwoffle
   /etc/rc1.d/K20wwwoffle -> ../init.d/wwwoffle
   /etc/rc6.d/K20wwwoffle -> ../init.d/wwwoffle
   /etc/rc2.d/S20wwwoffle -> ../init.d/wwwoffle
   /etc/rc3.d/S20wwwoffle -> ../init.d/wwwoffle
   /etc/rc4.d/S20wwwoffle -> ../init.d/wwwoffle
   /etc/rc5.d/S20wwwoffle -> ../init.d/wwwoffle

The both result cause no wwwoffle line in /var/lib/rcconf/services.

# grep wwwoffle /var/lib/rcconf/services 
#

I just uploaded 2.1 but only changes install path(nothing has changed in
rcconf itself)





-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to