[Pkg-sysvinit-devel] Bug#524314: [sysv-rc] Sysv-rc always reports that actions failed

Carlo Aquilini caquilini at gmail.com
Thu Apr 16 08:42:39 UTC 2009


Hello, I discovered it during acpid upgrade that failed claiming that it
couldn't stop and restart the service (solved by momentarily
renaming /etc/init.d/acpid and then upgrading).


One example could be "freepops":
$ ps aux | grep freepops
carlo     8052  0.0  0.0   3212   752 pts/0    S+   10:28   0:00 grep
freepops
nobody   15771  0.4  0.3  27936  7448 ?        S    09:48
0:11 /usr/bin/freepopsd -p 110 -n -s nobody.nogroup

$ sudo invoke-rc.d freepops stop
 * Stopping freepops daemon freepopsd		[ OK ] 
invoke-rc.d: initscript freepops, action "stop" failed.

$ ps aux | grep freepops
carlo    11644  0.0  0.0   3212   752 pts/0    R+   10:34   0:00 grep
freepops

$ sudo invoke-rc.d freepops start
 * Starting freepops daemon freepopsd		[ OK ] 
invoke-rc.d: initscript freepops, action "start" failed.

$ ps aux | grep freepops
nobody   12303  0.0  0.0   5980  1708 ?        S    10:35
0:00 /usr/bin/freepopsd -p 110 -n -s nobody.nogroup
carlo    12690  0.0  0.0   3212   752 pts/0    R+   10:36   0:00 grep
freepops


So that package "freepops" is stopped and started successfully, but
invoke-rc.d claims that the actions failed.
This happens with every service in /etc/init.d/

Please, ask for further informations if needed.


Regards, CA 


Il giorno gio, 16/04/2009 alle 18.15 +1000, Kel Modderman ha scritto:
> tags 524314 moreinfo
> thanks
> 
> 
> 
> On Thursday 16 April 2009 18:04:27 Carlo Aquilini wrote:
> > Package: sysv-rc
> > Version: 2.86.ds1-61
> > Severity: critical
> > 
> > 
> > Sysv-rc always reports that actions failed even if they are
> successfully accomplished.
> > This breaks reconfiguration of every package that call invoke-rc.d
> during upgrade, remove, purge, install or reinstall.
> 
> 
> 
> You need to provide actual data to support this claim, such as
> commands which
> reproduce the problem described.
> 
> 
> 
> Thanks, Kel.
> 




More information about the Pkg-sysvinit-devel mailing list