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
This commit is contained in:
Franck Bui 2017-06-16 09:25:15 +00:00 committed by Git OBS Bridge
parent 870853a831
commit 24c299c13d
4 changed files with 40 additions and 0 deletions

View File

@ -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 Wed Jun 7 08:17:54 UTC 2017 - fbui@suse.com

View File

@ -121,6 +121,7 @@ Requires: systemd-presets-branding
Requires: sysvinit-tools Requires: sysvinit-tools
Requires: udev = %{version}-%{release} Requires: udev = %{version}-%{release}
Requires: util-linux >= 2.27.1 Requires: util-linux >= 2.27.1
Requires: group(lock)
Recommends: %{name}-bash-completion Recommends: %{name}-bash-completion
Requires(post): coreutils Requires(post): coreutils
Requires(post): findutils Requires(post): findutils

View File

@ -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 Wed Jun 7 08:17:54 UTC 2017 - fbui@suse.com

View File

@ -119,6 +119,7 @@ Requires: systemd-presets-branding
Requires: sysvinit-tools Requires: sysvinit-tools
Requires: udev = %{version}-%{release} Requires: udev = %{version}-%{release}
Requires: util-linux >= 2.27.1 Requires: util-linux >= 2.27.1
Requires: group(lock)
Recommends: %{name}-bash-completion Recommends: %{name}-bash-completion
Requires(post): coreutils Requires(post): coreutils
Requires(post): findutils Requires(post): findutils