forked from pool/systemd
Frederic Crozat
6f4fdad1c2
- version 207, distribution specific changes follow, for overall release notes see NEWS. - Fixed: * Failed at step PAM spawning /usr/lib/systemd/systemd: Operation not permitted * Fix shutdown hang "a stop job is running for Session 1 of user root" that was reported in opensuse-factory list. - systemd-sysctl no longer reads /etc/sysctl.conf however backward compatbility is to be provides by a symlink created at %post. - version 207, distribution specific changes follow, for overall release notes see NEWS. - Fixed: * Failed at step PAM spawning /usr/lib/systemd/systemd: Operation not permitted * Fix shutdown hang "a stop job is running for Session 1 of user root" that was reported in opensuse-factory list. - systemd-sysctl no longer reads /etc/sysctl.conf however backward compatbility is to be provides by a symlink created at %post. OBS-URL: https://build.opensuse.org/request/show/198799 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=429
17 lines
741 B
Diff
17 lines
741 B
Diff
From: Andrey Borzenkov <arvidjaar@gmail.com>
|
|
Subject: use /usr/sbin/sulogin in emergency service
|
|
|
|
In current Factory sulogin is in /usr/sbin which makes it impossible
|
|
to enter emergency service.
|
|
--- systemd-206.orig/units/emergency.service.in
|
|
+++ systemd-206/units/emergency.service.in
|
|
@@ -17,7 +17,7 @@ Environment=HOME=/root
|
|
WorkingDirectory=/root
|
|
ExecStartPre=-/bin/plymouth quit
|
|
ExecStartPre=-/bin/echo -e 'Welcome to emergency mode! After logging in, type "journalctl -xb" to view\\nsystem logs, "systemctl reboot" to reboot, "systemctl default" to try again\\nto boot into default mode.'
|
|
-ExecStart=-/sbin/sulogin
|
|
+ExecStart=-/usr/sbin/sulogin
|
|
ExecStopPost=@SYSTEMCTL@ --fail --no-block default
|
|
Type=idle
|
|
StandardInput=tty-force
|