[Pkg-sysvinit-devel] Bug#726483: console-tools fails to install
James McCoy
jamessan at debian.org
Thu Oct 17 13:55:33 UTC 2013
Control: reassign -1 src:sysvinit 2.88dsf-43
Control: retitle -1 service incorrectly handles console-screen.service
Control: affects console-tools -1
On Wed, Oct 16, 2013 at 09:50:15AM +0200, David Weinehall wrote:
> When upgrading to the latest version of console-tools, I received the
> following error message:
>
> Setting up console-tools (2:0.2.3-71) ...
> update-rc.d: warning: start and stop actions are no longer supported;
> falling back to defaults
> Failed to issue method call: Unit console-screen.sh.service failed to
> load: No such file or directory. See system logs and 'systemctl status
> console-screen.sh.service' for details.
“/etc/init.d/console-screen.sh start” works fine but neither “service
console-screen.sh start” nor the equivalent invoke-rc.d does.
The difference is that /lib/lsb/init-functions.d/40-systemd correctly
trims the .sh off the service name while service does not. The attached
patch addresses the issue in both service and invoke-rc.d
James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: systemd_service.diff
Type: text/x-diff
Size: 5838 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20131017/13ce3824/attachment.diff>
More information about the Pkg-sysvinit-devel
mailing list