Siduction Forum

Siduction Forum => Software - Support => Topic started by: hefee on 2013/12/16, 18:25:22

Title: console-common and systemd
Post by: hefee on 2013/12/16, 18:25:22
When trying to update consol-common it fails with:


Neue Version der Konfigurationsdatei /etc/init.d/keymap.sh wird installiert ...
Looking for keymap to install:
NONE
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Failed to issue method call: Unit keymap.sh.service failed to load: No such file or directory. See system logs and 'systemctl status keymap.sh.service' for details.
invoke-rc.d: initscript keymap.sh, action "start" failed.


and systemctl status keymap.sh.service:

keymap.sh.service
   Loaded: error (Reason: No such file or directory)
   Active: inactive (dead)


And now, what to do?
Title: Re: console-common and systemd
Post by: dibl on 2013/12/16, 18:39:33
It seems OK here:


root@imerabox:/# apt-cache policy console-common
console-common:
  Installed: 0.7.87
  Candidate: 0.7.87
  Version table:
*** 0.7.87 0
        500 http://ftp.us.debian.org/debian/ unstable/main amd64 Packages
        500 http://http.debian.net/debian/ unstable/main amd64 Packages        100 /var/lib/dpkg/status
root@imerabox:/# systemctl status keymap
keymap.service - LSB: Set keymap
   Loaded: loaded (/etc/init.d/keymap.sh)
   Active: active (exited) since Mon 2013-12-16 12:36:43 EST; 43s ago
  Process: 9524 ExecStop=/etc/init.d/keymap.sh stop (code=exited, status=0/SUCCESS)
  Process: 9565 ExecStart=/etc/init.d/keymap.sh start (code=exited, status=0/SUCCESS)


Dec 16 12:36:43 imerabox systemd[1]: Starting LSB: Set keymap...
Dec 16 12:36:43 imerabox systemd[1]: Started LSB: Set keymap.



If you have converted to systemd initialization, then you can't use /etc/init.d/foo.
Title: Re: console-common and systemd
Post by: melmarker on 2013/12/16, 21:18:50
hefee: write a bug against console-common/systemd?
Title: Re: console-common and systemd
Post by: hefee on 2013/12/17, 00:04:03
@dibl: I saw this issue while trying to udate to console-common 0.7.88. So maybe you will see this issue later :)
Title: Re: console-common and systemd
Post by: hefee on 2013/12/17, 00:24:17
Quote from: melmarker on 2013/12/16, 21:18:50
hefee: write a bug against console-common/systemd?
done

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732341
Title: Re: console-common and systemd
Post by: melmarker on 2013/12/17, 16:33:56
short workaround:

mv /etc/init.d/keymap.sh /etc/init.d/keymap.sh.tmp
apt-get dist-upgrade
mv /etc/init.d/keymap.sh.tmp /etc/init.d/keymap.sh


:)

Whatever keymap.sh does.