From d01f2765dc5bdad73209f9ca1fabd45b1342f14c444b4406c65399e9ccd195e2 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 13 Jan 2016 18:14:14 +0000 Subject: [PATCH] Accepting request 352395 from home:olh:branches:Base:System - Create groups adm,input,tape in fixed order (boo#944660) OBS-URL: https://build.opensuse.org/request/show/352395 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 9539bf45..18c458e1 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 961fcca6..9a6c9af5 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 cdbf25de..be8730fc 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 cf871610..52c9e1d6 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