From 9e5b4497992563fd66f2d937158e493bf3fd4b6c89e437d7b325747fb8fe6686 Mon Sep 17 00:00:00 2001 From: Robert Milasan Date: Fri, 8 Aug 2014 12:55:43 +0000 Subject: [PATCH] - Set default permissions for GenWQE device nodes to 0666 (bnc#890977). Add 1062-rules-set-default-permissions-for-GenWQE-devices.patch - Set default permissions for GenWQE device nodes to 0666 (bnc#890977). Add 1062-rules-set-default-permissions-for-GenWQE-devices.patch OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=749 --- ...s-set-default-permissions-for-GenWQE-devices.patch | 11 +++++++++++ systemd-mini.changes | 6 ++++++ systemd-mini.spec | 3 +++ systemd.changes | 6 ++++++ systemd.spec | 3 +++ 5 files changed, 29 insertions(+) create mode 100644 1062-rules-set-default-permissions-for-GenWQE-devices.patch diff --git a/1062-rules-set-default-permissions-for-GenWQE-devices.patch b/1062-rules-set-default-permissions-for-GenWQE-devices.patch new file mode 100644 index 0000000..8db264d --- /dev/null +++ b/1062-rules-set-default-permissions-for-GenWQE-devices.patch @@ -0,0 +1,11 @@ +Index: systemd-210/rules/50-udev-default.rules +=================================================================== +--- systemd-210.orig/rules/50-udev-default.rules ++++ systemd-210/rules/50-udev-default.rules +@@ -66,4 +66,6 @@ KERNEL=="tun", MODE="0666", OPTIONS+="st + + KERNEL=="fuse", MODE="0666", OPTIONS+="static_node=fuse" + ++KERNEL=="genwqe*", MODE="0666" ++ + LABEL="default_permissions_end" diff --git a/systemd-mini.changes b/systemd-mini.changes index 2d8e7a1..d691713 100644 --- a/systemd-mini.changes +++ b/systemd-mini.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Aug 8 12:47:48 UTC 2014 - rmilasan@suse.com + +- Set default permissions for GenWQE device nodes to 0666 (bnc#890977). + Add 1062-rules-set-default-permissions-for-GenWQE-devices.patch + ------------------------------------------------------------------- Fri Aug 1 09:53:30 UTC 2014 - werner@suse.de diff --git a/systemd-mini.spec b/systemd-mini.spec index 2fd4dbf..98a2cf3 100644 --- a/systemd-mini.spec +++ b/systemd-mini.spec @@ -890,6 +890,8 @@ Patch1059: 1059-udev-fixup-commit-dd5eddd28a74a49607a8fffcaf960040db.patch Patch1060: 1060-udev-use-device-mapper-target-name-for-btrfs-device-ready.patch # PATCH-FIX-UPSTREAM 1061-rules-allow-systemd-to-manage-loop-device-partitions.patch Patch1061: 1061-rules-allow-systemd-to-manage-loop-device-partitions.patch +# PATCH-FIX-SUSE 1062-rules-set-default-permissions-for-GenWQE-devices.patch (bnc#890977) +Patch1062: 1062-rules-set-default-permissions-for-GenWQE-devices.patch %description Systemd is a system and service manager, compatible with SysV and LSB @@ -1500,6 +1502,7 @@ cp %{SOURCE7} m4/ %patch1059 -p0 %patch1060 -p1 %patch1061 -p0 +%patch1062 -p1 # ensure generate files are removed rm -f units/emergency.service diff --git a/systemd.changes b/systemd.changes index 2d8e7a1..d691713 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Aug 8 12:47:48 UTC 2014 - rmilasan@suse.com + +- Set default permissions for GenWQE device nodes to 0666 (bnc#890977). + Add 1062-rules-set-default-permissions-for-GenWQE-devices.patch + ------------------------------------------------------------------- Fri Aug 1 09:53:30 UTC 2014 - werner@suse.de diff --git a/systemd.spec b/systemd.spec index a5f11d1..13707cf 100644 --- a/systemd.spec +++ b/systemd.spec @@ -885,6 +885,8 @@ Patch1059: 1059-udev-fixup-commit-dd5eddd28a74a49607a8fffcaf960040db.patch Patch1060: 1060-udev-use-device-mapper-target-name-for-btrfs-device-ready.patch # PATCH-FIX-UPSTREAM 1061-rules-allow-systemd-to-manage-loop-device-partitions.patch Patch1061: 1061-rules-allow-systemd-to-manage-loop-device-partitions.patch +# PATCH-FIX-SUSE 1062-rules-set-default-permissions-for-GenWQE-devices.patch (bnc#890977) +Patch1062: 1062-rules-set-default-permissions-for-GenWQE-devices.patch %description Systemd is a system and service manager, compatible with SysV and LSB @@ -1495,6 +1497,7 @@ cp %{SOURCE7} m4/ %patch1059 -p0 %patch1060 -p1 %patch1061 -p0 +%patch1062 -p1 # ensure generate files are removed rm -f units/emergency.service