Accepting request 834931 from home:fbui:systemd:openSUSE-Factory

- Drop 0001-udev-temporarly-restore-the-creation-a-few-symlinks-.patch
  linuxrc has already been fixed.

OBS-URL: https://build.opensuse.org/request/show/834931
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1118
This commit is contained in:
Franck Bui 2020-09-16 14:11:19 +00:00 committed by Git OBS Bridge
parent 6bbab723c3
commit dbf44fd4bf
5 changed files with 14 additions and 42 deletions

View File

@ -1,40 +0,0 @@
From d5c1b44cf07918b4a28d905cc188c18bb16ab1f3 Mon Sep 17 00:00:00 2001
From: Franck Bui <fbui@suse.com>
Date: Wed, 16 Sep 2020 15:27:14 +0200
Subject: [PATCH 1/1] udev: temporarly restore the creation a few symlinks in
/dev
udevd used to create the following symlinks during its startup.
/dev/core
/dev/fd
/dev/stdin
/dev/stdout
/dev/stderr
but this isn't needed when systemd is run as init and other init systems should
do this on their own.
This commit partially reverts commit 6b2229c6c60d0486f5eb9ed3088f9c780d7c0233
and makes udevd creates the symlinks again until the installer environment is
fixed.
---
src/udev/udevd.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
index f3236dedfa..d24aae34ff 100644
--- a/src/udev/udevd.c
+++ b/src/udev/udevd.c
@@ -1869,6 +1869,8 @@ int run_udevd(int argc, char *argv[]) {
if (r < 0 && r != -EEXIST)
return log_error_errno(r, "Failed to create /run/udev: %m");
+ dev_setup(NULL, UID_INVALID, GID_INVALID);
+
if (getppid() == 1 && sd_booted() > 0) {
/* Get our own cgroup, we regularly kill everything udev has left behind.
* We only do this on systemd systems, and only if we are directly spawned
--
2.26.2

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Sep 16 14:07:56 UTC 2020 - Franck Bui <fbui@suse.com>
- Drop 0001-udev-temporarly-restore-the-creation-a-few-symlinks-.patch
linuxrc has already been fixed.
-------------------------------------------------------------------
Wed Sep 16 13:42:04 UTC 2020 - Franck Bui <fbui@suse.com>

View File

@ -175,7 +175,6 @@ Patch8: 0008-sysv-generator-translate-Required-Start-into-a-Wants.patch
Patch9: 0009-pid1-handle-console-specificities-weirdness-for-s390.patch
Patch11: 0011-core-disable-session-keyring-per-system-sevice-entir.patch
Patch12: 0012-resolved-create-etc-resolv.conf-symlink-at-runtime.patch
Patch13: 0001-udev-temporarly-restore-the-creation-a-few-symlinks-.patch
# Patches listed below are put in quarantine. Normally all changes
# must go to upstream first and then are cherry-picked in the SUSE git

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Sep 16 14:07:56 UTC 2020 - Franck Bui <fbui@suse.com>
- Drop 0001-udev-temporarly-restore-the-creation-a-few-symlinks-.patch
linuxrc has already been fixed.
-------------------------------------------------------------------
Wed Sep 16 13:42:04 UTC 2020 - Franck Bui <fbui@suse.com>

View File

@ -173,7 +173,6 @@ Patch8: 0008-sysv-generator-translate-Required-Start-into-a-Wants.patch
Patch9: 0009-pid1-handle-console-specificities-weirdness-for-s390.patch
Patch11: 0011-core-disable-session-keyring-per-system-sevice-entir.patch
Patch12: 0012-resolved-create-etc-resolv.conf-symlink-at-runtime.patch
Patch13: 0001-udev-temporarly-restore-the-creation-a-few-symlinks-.patch
# Patches listed below are put in quarantine. Normally all changes
# must go to upstream first and then are cherry-picked in the SUSE git