From 6da4c8e3f47fa8e7250543990ba7f215a62e3f153b17edbd19c5a268da372252 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Mon, 11 Aug 2014 08:08:39 +0000 Subject: [PATCH] Accepting request 243963 from Base:System 1 OBS-URL: https://build.opensuse.org/request/show/243963 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=199 --- ...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 00000000..8db264df --- /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 2d8e7a10..d691713d 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 2fd4dbf0..98a2cf3c 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 2d8e7a10..d691713d 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 a5f11d12..13707cf4 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