From 7bfe6c3261163e7dda482aca90b3862bdb79d277283b68c9844da2fb65778fc9 Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Fri, 16 Jun 2017 09:25:15 +0000 Subject: [PATCH] Accepting request 504039 from home:fbui:systemd:Factory - Make sure "lock" group is created OBS-URL: https://build.opensuse.org/request/show/504039 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=978 --- systemd-mini.changes | 19 +++++++++++++++++++ systemd-mini.spec | 1 + systemd.changes | 19 +++++++++++++++++++ systemd.spec | 1 + 4 files changed, 40 insertions(+) diff --git a/systemd-mini.changes b/systemd-mini.changes index f18b3bc5..ffafade9 100644 --- a/systemd-mini.changes +++ b/systemd-mini.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Fri Jun 16 09:14:43 UTC 2017 - fbui@suse.com + +- Make sure "lock" group is created + + On SUSE distros, /run/lock must be owned by "lock" group (see + boo#733523). + + This group was previously created by another package but since a + recent changes it doesn't seem to be true anymore or at least this + package isn't pulled in anymore when building the rescue system. + + For now make systemd creates the group by adding + "Requires: group(post)". + + I'm currently not sure why we don't use sysusers.d stuff for that + purpose and if the "lock" group on /run/lock is still + mandatory. This should be revisited later. + ------------------------------------------------------------------- Wed Jun 7 08:17:54 UTC 2017 - fbui@suse.com diff --git a/systemd-mini.spec b/systemd-mini.spec index ba13ee3f..a40555f2 100644 --- a/systemd-mini.spec +++ b/systemd-mini.spec @@ -121,6 +121,7 @@ Requires: systemd-presets-branding Requires: sysvinit-tools Requires: udev = %{version}-%{release} Requires: util-linux >= 2.27.1 +Requires: group(lock) Recommends: %{name}-bash-completion Requires(post): coreutils Requires(post): findutils diff --git a/systemd.changes b/systemd.changes index f18b3bc5..ffafade9 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Fri Jun 16 09:14:43 UTC 2017 - fbui@suse.com + +- Make sure "lock" group is created + + On SUSE distros, /run/lock must be owned by "lock" group (see + boo#733523). + + This group was previously created by another package but since a + recent changes it doesn't seem to be true anymore or at least this + package isn't pulled in anymore when building the rescue system. + + For now make systemd creates the group by adding + "Requires: group(post)". + + I'm currently not sure why we don't use sysusers.d stuff for that + purpose and if the "lock" group on /run/lock is still + mandatory. This should be revisited later. + ------------------------------------------------------------------- Wed Jun 7 08:17:54 UTC 2017 - fbui@suse.com diff --git a/systemd.spec b/systemd.spec index 2eab27f4..55318178 100644 --- a/systemd.spec +++ b/systemd.spec @@ -119,6 +119,7 @@ Requires: systemd-presets-branding Requires: sysvinit-tools Requires: udev = %{version}-%{release} Requires: util-linux >= 2.27.1 +Requires: group(lock) Recommends: %{name}-bash-completion Requires(post): coreutils Requires(post): findutils