- Modified Second Stage service dependencies fixing a root login

systemd timeout when installing with ssh (bsc#1195059)
- 4.4.43

OBS-URL: https://build.opensuse.org/package/show/YaST:Head/yast2-installation?expand=0&rev=1159
This commit is contained in:
YaST Team Bot 2022-02-22 08:47:20 +00:00 committed by Git OBS Bridge
parent 4c3674a5e6
commit 7a1783fcf2
5 changed files with 15 additions and 8 deletions

View File

@ -1,10 +1,8 @@
[Unit] [Unit]
Description=YaST2 Second Stage Description=YaST2 Second Stage
After=apparmor.service local-fs.target plymouth-start.service After=apparmor.service local-fs.target plymouth-start.service systemd-user-sessions.service
Conflicts=plymouth-start.service Conflicts=plymouth-start.service
Before=getty@tty1.service serial-getty@ttyS0.service serial-getty@ttyS1.service serial-getty@ttyS2.service Before=getty-pre.target display-manager.service
Before=serial-getty@hvc0.service serial-getty@ttyAMA0.service
Before=display-manager.service
ConditionPathExists=/var/lib/YaST2/runme_at_boot ConditionPathExists=/var/lib/YaST2/runme_at_boot
[Service] [Service]
@ -15,6 +13,7 @@ Type=oneshot
# and envvar extensions are still loaded, /etc/sysconfig/proxy values are still # and envvar extensions are still loaded, /etc/sysconfig/proxy values are still
# used correctly (see bnc#866692 and bnc#866692 for details). # used correctly (see bnc#866692 and bnc#866692 for details).
Environment=TERM=linux PX_MODULE_PATH="" Environment=TERM=linux PX_MODULE_PATH=""
ExecStartPre=-/usr/bin/touch /run/nologin
ExecStartPre=-/usr/bin/plymouth quit ExecStartPre=-/usr/bin/plymouth quit
ExecStart=/usr/lib/YaST2/startup/YaST2.Second-Stage ExecStart=/usr/lib/YaST2/startup/YaST2.Second-Stage
RemainAfterExit=yes RemainAfterExit=yes
@ -22,6 +21,7 @@ TimeoutSec=0
# Initialize tty1 in order to remove old YaST output and to show the cursor # Initialize tty1 in order to remove old YaST output and to show the cursor
# again (bnc#1018037) # again (bnc#1018037)
ExecStartPost=/bin/sh -c '/usr/bin/printf "\033c" > /dev/tty1' ExecStartPost=/bin/sh -c '/usr/bin/printf "\033c" > /dev/tty1'
ExecStartPost=/usr/bin/rm -f /run/nologin
ExecStartPost=/usr/bin/rm -f /var/lib/YaST2/runme_at_boot ExecStartPost=/usr/bin/rm -f /var/lib/YaST2/runme_at_boot
ExecStartPost=/usr/bin/systemctl restart systemd-vconsole-setup.service ExecStartPost=/usr/bin/systemctl restart systemd-vconsole-setup.service
StandardInput=tty StandardInput=tty

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6d536b7a9eda98b64e5545223c2c59ce51eca4977e294c14839860a17891d60c
size 1481472

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e5c127b2857ee22d4252fd1fa15a0b08993b2a8db1d1419f007d80d8cc40109a
size 1481624

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Feb 21 14:59:55 UTC 2022 - Knut Anderssen <kanderssen@suse.com>
- Modified Second Stage service dependencies fixing a root login
systemd timeout when installing with ssh (bsc#1195059)
- 4.4.43
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Feb 20 09:35:26 UTC 2022 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> Sun Feb 20 09:35:26 UTC 2022 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>

View File

@ -17,7 +17,7 @@
Name: yast2-installation Name: yast2-installation
Version: 4.4.42 Version: 4.4.43
Release: 0 Release: 0
Summary: YaST2 - Installation Parts Summary: YaST2 - Installation Parts
License: GPL-2.0-only License: GPL-2.0-only