Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] console-common and systemd  (Read 3355 times)

hefee

  • Guest
[EN] console-common and systemd
« on: 2013/12/16, 18:25:22 »
When trying to update consol-common it fails with:

Code: [Select]
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:
Code: [Select]
keymap.sh.service
   Loaded: error (Reason: No such file or directory)
   Active: inactive (dead)

And now, what to do?

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.358
    • Land of the Buckeye
Re: console-common and systemd
« Reply #1 on: 2013/12/16, 18:39:33 »
It seems OK here:


Code: [Select]
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, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline melmarker

  • User
  • Posts: 2.799
    • g-com.eu
Re: console-common and systemd
« Reply #2 on: 2013/12/16, 21:18:50 »
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

  • Guest
Re: console-common and systemd
« Reply #3 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 :)

hefee

  • Guest
Re: console-common and systemd
« Reply #4 on: 2013/12/17, 00:24:17 »

Offline melmarker

  • User
  • Posts: 2.799
    • g-com.eu
Re: console-common and systemd
« Reply #5 on: 2013/12/17, 16:33:56 »
short workaround:
Code: [Select]
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)