mbox

systemd: Create missing system groups

Message ID 1445164810-2234-1-git-send-email-stefan.schantl@ipfire.org
State Accepted
Commit 747db4fdcf002ee97c155be7a20429ffc13c613c
Headers

Message

Stefan Schantl Oct. 18, 2015, 9:40 p.m. UTC
  The system groups input and utmp where missing which
are required by udevd to proper work.

Fixes #10942.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 systemd/systemd.nm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
  

Comments

Michael Tremer Oct. 19, 2015, 5:01 a.m. UTC | #1
Merged.

On Sun, 2015-10-18 at 12:40 +0200, Stefan Schantl wrote:
> The system groups input and utmp where missing which
> are required by udevd to proper work.
> 
> Fixes #10942.
> 
> Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
> ---
>  systemd/systemd.nm | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/systemd/systemd.nm b/systemd/systemd.nm
> index 7346c09..0b8e604 100644
> --- a/systemd/systemd.nm
> +++ b/systemd/systemd.nm
> @@ -5,7 +5,7 @@
>  
>  name       = systemd
>  version    = 221
> -release    = 2
> +release    = 3
>  
>  maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
>  groups     = System/Base
> @@ -164,6 +164,8 @@ create_groups
>  	getent group tape >/dev/null || groupadd -g 33 tape || :
>  	getent group dialout >/dev/null || groupadd -g 18 dialout ||
> :
>  	getent group floppy >/dev/null || groupadd -g 19 floppy || :
> +	getent group input >/dev/null || groupadd -r input || :
> +	getent group utmp >/dev/null || groupadd -r -g 22 utmp || :
>  
>  	# Create group for journald.
>  	getent group systemd-journal >/dev/null ||
> /usr/sbin/groupadd -r systemd-journal