Discussion:
Bug#840533: rcconf fails with multiple files
(too old to reply)
Matus UHLAR - fantomas
2016-10-12 14:00:01 UTC
Permalink
Package: rcconf
Version: 3.1

when enabling or disabling multiple daemons, rcconf fails with all but one
of them.

The problem seems to lie in "$command" variable not being overwritten but
appended with each daemon, which results in the same command being run
repeatedly with new argumets added, see example from "rcconf -v":

/usr/sbin/update-rc.d courier-imap-ssl enable
/usr/sbin/update-rc.d courier-imap-ssl enable /usr/sbin/update-rc.d courier-pop enable
update-rc.d: warning: enable action will have no effect on runlevel /usr/sbin/update-rc.d
update-rc.d: warning: enable action will have no effect on runlevel courier-pop
update-rc.d: warning: enable action will have no effect on runlevel enable
update-rc.d: error: no runlevel symlinks to modify, aborting!
/usr/sbin/update-rc.d courier-imap-ssl enable /usr/sbin/update-rc.d courier-pop enable /usr/sbin/update-rc.d courier-pop-ssl enable
update-rc.d: warning: enable action will have no effect on runlevel /usr/sbin/update-rc.d
update-rc.d: warning: enable action will have no effect on runlevel courier-pop
update-rc.d: warning: enable action will have no effect on runlevel enable
update-rc.d: warning: enable action will have no effect on runlevel /usr/sbin/update-rc.d
update-rc.d: warning: enable action will have no effect on runlevel courier-pop-ssl
update-rc.d: warning: enable action will have no effect on runlevel enable
update-rc.d: error: no runlevel symlinks to modify, aborting!

the patch that fixed the behaviour attached.
--
Matus UHLAR - fantomas, ***@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Fighting for peace is like fucking for virginity...
Matus UHLAR - fantomas
2019-11-08 11:10:02 UTC
Permalink
Hello,

anything new about this package? It's been two releases since...
Thanks
--
Matus UHLAR - fantomas, ***@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
A day without sunshine is like, night.
Loading...