Your message dated Sat, 24 May 2025 18:41:43 +0000
with message-id <e1uitov-000u9n...@fasolo.debian.org>
and subject line Bug#1105853: Removed package(s) from unstable
has caused the Debian Bug report #840533,
regarding rcconf fails with multiple files
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
840533: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840533
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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, uh...@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...
--- rcconf	2013-10-26 03:10:57.000000000 +0200
+++ rcconf.fixed	2016-10-12 15:31:17.939272822 +0200
@@ -1079,7 +1079,7 @@
     if ( ( exists($data->{$key}) ) &&
          ( $data->{$key}->{'start'} eq "z" ) &&
          ( $data->{$key}->{'stop'} eq "z" ) ) {
-      $command .= $UPDATE_RCD_PATH . " " . $key . " enable ";
+      $command = $UPDATE_RCD_PATH . " " . $key . " enable ";
     } else {
       $command = $UPDATE_RCD_PATH." -f ".$key." remove $DEBUG_STRING ";
       if ( ( exists($data->{$key}) ) &&
@@ -1129,7 +1129,7 @@
         $pn = "00";
     }
     if ( $data->{$key}->{'stop'} eq "z" ) {
-      $command .= $UPDATE_RCD_PATH . " " . $key . " disable $DEBUG_STRING ";
+      $command = $UPDATE_RCD_PATH . " " . $key . " disable $DEBUG_STRING ";
     } else {
       $command = $UPDATE_RCD_PATH." -f ".$key." remove $DEBUG_STRING ";
       if ( $pn ne "" ) {

--- End Message ---
--- Begin Message ---
Version: 3.2+nmu2+rm

Dear submitter,

as the package rcconf has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1105853

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmas...@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Paul Tagliamonte (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to