console-common and systemd

Started by hefee, 2013/12/16, 18:25:22

Previous topic - Next topic

hefee

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?

dibl

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.
System76 Oryx Pro, Intel Core i7-11800H, ASRock B860 Pro-A, Intel Core Ultra 7 265KF, Nvidia GTX-1060, SSD 990 EVO Plus.

melmarker

hefee: write a bug against console-common/systemd?
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)

hefee

@dibl: I saw this issue while trying to udate to console-common 0.7.88. So maybe you will see this issue later :)


melmarker

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.
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)