From e2f2525cbe73e1dc65581d9fb9857e410bab0e0d98bd85186d693c9dc2f80e4d Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 13 Jan 2016 18:14:14 +0000 Subject: [PATCH] - Create groups adm,input,tape in fixed order (boo#944660) OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=926 --- systemd-mini.changes | 5 +++++ systemd-mini.spec | 7 ++++++- systemd.changes | 5 +++++ systemd.spec | 7 ++++++- 4 files changed, 22 insertions(+), 2 deletions(-) diff --git a/systemd-mini.changes b/systemd-mini.changes index 9539bf4..18c458e 100644 --- a/systemd-mini.changes +++ b/systemd-mini.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 7 08:01:07 UTC 2016 - olaf@aepfle.de + +- Create groups adm,input,tape in fixed order (boo#944660) + ------------------------------------------------------------------- Mon Dec 21 16:25:44 UTC 2015 - fbui@suse.com diff --git a/systemd-mini.spec b/systemd-mini.spec index 961fcca..9a6c9af 100644 --- a/systemd-mini.spec +++ b/systemd-mini.spec @@ -1,7 +1,7 @@ # # spec file for package systemd-mini # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -905,6 +905,11 @@ do getent group systemd-$name >/dev/null && continue groupadd -r systemd-$name || : done +for name in adm input tape +do + getent group $name >/dev/null && continue + groupadd -r $name || : +done for name in timesync network resolve bus-proxy do getent passwd systemd-$name >/dev/null && continue diff --git a/systemd.changes b/systemd.changes index cdbf25d..be8730f 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 7 08:01:07 UTC 2016 - olaf@aepfle.de + +- Create groups adm,input,tape in fixed order (boo#944660) + ------------------------------------------------------------------- Mon Dec 21 16:25:44 UTC 2015 - fbui@suse.com diff --git a/systemd.spec b/systemd.spec index cf87161..52c9e1d 100644 --- a/systemd.spec +++ b/systemd.spec @@ -1,7 +1,7 @@ # # spec file for package systemd # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -903,6 +903,11 @@ do getent group systemd-$name >/dev/null && continue groupadd -r systemd-$name || : done +for name in adm input tape +do + getent group $name >/dev/null && continue + groupadd -r $name || : +done for name in timesync network resolve bus-proxy do getent passwd systemd-$name >/dev/null && continue