diff --git a/YaST2-Second-Stage.service b/YaST2-Second-Stage.service index 48b5cf4..65b3be5 100644 --- a/YaST2-Second-Stage.service +++ b/YaST2-Second-Stage.service @@ -1,9 +1,14 @@ [Unit] Description=YaST2 Second Stage -After=apparmor.service local-fs.target plymouth-start.service systemd-user-sessions.service +After=apparmor.service local-fs.target plymouth-start.service +# systemd-user-sessions is needed to allow ssh connection (bsc#1195059) +After=systemd-user-sessions.service Conflicts=plymouth-start.service -Before=getty@tty1.service serial-getty@ttyS0.service serial-getty@ttyS1.service serial-getty@ttyS2.service -Before=serial-getty@hvc0.service serial-getty@ttyAMA0.service +# Prevent getty auto-generation (bsc#1196614, bsc#1196594) +Before=getty@tty1.service getty@tty2.service getty@tty3.service getty@tty4.service getty@tty5.service getty@tty6.service +Before=serial-getty@ttyS0.service serial-getty@ttyS1.service serial-getty@ttyS2.service +Before=serial-getty@hvc0.service serial-getty@ttyAMA0.service serial-getty@ttysclp0.service +# Prevent too early user login (bsc#1196594) Before=display-manager.service ConditionPathExists=/var/lib/YaST2/runme_at_boot @@ -15,6 +20,7 @@ Type=oneshot # and envvar extensions are still loaded, /etc/sysconfig/proxy values are still # used correctly (see bnc#866692 and bnc#866692 for details). Environment=TERM=linux PX_MODULE_PATH="" +# Block non-privileged user login (bsc#1195059) ExecStartPre=-/usr/bin/touch /run/nologin ExecStartPre=-/usr/bin/plymouth quit ExecStart=/usr/lib/YaST2/startup/YaST2.Second-Stage diff --git a/yast2-installation-4.4.47.tar.bz2 b/yast2-installation-4.4.47.tar.bz2 deleted file mode 100644 index 6e58e3b..0000000 --- a/yast2-installation-4.4.47.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1cf7bb6af1925dcad9ea785558c576b7f7d9c3507ba86cb5a2ab82a46678fb5b -size 1481645 diff --git a/yast2-installation-4.4.48.tar.bz2 b/yast2-installation-4.4.48.tar.bz2 new file mode 100644 index 0000000..e66c417 --- /dev/null +++ b/yast2-installation-4.4.48.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5bea9c480a13832de4872ffb6c2a5493d4218ac62d64705ee12968645e485a6a +size 1482539 diff --git a/yast2-installation.changes b/yast2-installation.changes index 73739ee..db0755d 100644 --- a/yast2-installation.changes +++ b/yast2-installation.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Mar 8 19:25:42 UTC 2022 - José Iván López González + +- Prevent getty auto-generation because it makes xvnc to fail when + it is started in YaST second stage (bsc#1196614). +- 4.4.48 + ------------------------------------------------------------------- Tue Mar 4 13:14:15 UTC 2022 - José Iván López González diff --git a/yast2-installation.spec b/yast2-installation.spec index 2300167..a4bd20f 100644 --- a/yast2-installation.spec +++ b/yast2-installation.spec @@ -17,7 +17,7 @@ Name: yast2-installation -Version: 4.4.47 +Version: 4.4.48 Release: 0 Summary: YaST2 - Installation Parts License: GPL-2.0-only