diff --git a/0001-udev-temporarly-restore-the-creation-a-few-symlinks-.patch b/0001-udev-temporarly-restore-the-creation-a-few-symlinks-.patch deleted file mode 100644 index 3734f06e..00000000 --- a/0001-udev-temporarly-restore-the-creation-a-few-symlinks-.patch +++ /dev/null @@ -1,40 +0,0 @@ -From d5c1b44cf07918b4a28d905cc188c18bb16ab1f3 Mon Sep 17 00:00:00 2001 -From: Franck Bui -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 - diff --git a/systemd-mini.changes b/systemd-mini.changes index 37e671c7..0932d62e 100644 --- a/systemd-mini.changes +++ b/systemd-mini.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Sep 16 14:07:56 UTC 2020 - Franck Bui + +- 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 diff --git a/systemd-mini.spec b/systemd-mini.spec index 7b9fa532..f7f696ea 100644 --- a/systemd-mini.spec +++ b/systemd-mini.spec @@ -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 diff --git a/systemd.changes b/systemd.changes index 37e671c7..0932d62e 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Sep 16 14:07:56 UTC 2020 - Franck Bui + +- 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 diff --git a/systemd.spec b/systemd.spec index eb8fdaa8..bd35fc30 100644 --- a/systemd.spec +++ b/systemd.spec @@ -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