From 074905379652283bcdb47f7a51df199196d50182 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Wed, 28 May 2014 18:05:34 +0800 Subject: [PATCH] fix systemd-timesync user/group creation --- systemd.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/systemd.spec b/systemd.spec index 383b4e7..7d2d229 100644 --- a/systemd.spec +++ b/systemd.spec @@ -393,7 +393,8 @@ getent group tape >/dev/null 2>&1 || groupadd -r -g 33 tape >/dev/null 2>&1 || : getent group dialout >/dev/null 2>&1 || groupadd -r -g 18 dialout >/dev/null 2>&1 || : getent group floppy >/dev/null 2>&1 || groupadd -r -g 19 floppy >/dev/null 2>&1 || : getent group systemd-journal >/dev/null 2>&1 || groupadd -r -g 190 systemd-journal 2>&1 || : -getent group systemd-timesync >/dev/null 2>&1 || groupadd -r -g 190 systemd-timesync 2>&1 || : +getent group systemd-timesync >/dev/null 2>&1 || groupadd -r systemd-timesync 2>&1 || : +getent passwd systemd-timesync >/dev/null 2>&1 || useradd -r -l -g systemd-timesync -d / -s /usr/sbin/nologin -c "Systemd Timesync" systemd-timesync >/dev/null 2>&1 || : systemctl stop systemd-udevd-control.socket systemd-udevd-kernel.socket systemd-udevd.service >/dev/null 2>&1 || :