diff --git a/systemd.spec b/systemd.spec index 8917aa5..97773dd 100644 --- a/systemd.spec +++ b/systemd.spec @@ -15,10 +15,12 @@ %define group_systemd_resolve 61 %define user_systemd_bus_proxy 62 %define group_systemd_bus_proxy 62 +%define user_systemd_timesync 64 +%define group_systemd_timesync 64 Name: systemd Epoch: 2 Version: 214 -Release: 2mamba +Release: 3mamba Summary: A system and service manager compatible with SysV and LSB init scripts Group: System/Configuration Vendor: openmamba @@ -293,6 +295,10 @@ if [ "$1" -ge 1 ]; then useradd -u %{user_systemd_bus_proxy} -g systemd-bus-proxy \ -d /dev/null -s /sbin/nologin -c "Systemd Bus proxy" \ systemd-bus-proxy 2>/dev/null + groupadd systemd-timesync -g %{group_systemd_timesync} 2>/dev/null + useradd -u %{user_systemd_timesync} -g systemd-timesync \ + -d /dev/null -s /sbin/nologin -c "Systemd time sync" \ + systemd-timesync 2>/dev/null # Configure libnss_myhostanme.so resolver grep "^hosts:.* myhostname" /etc/nsswitch.conf &>/dev/null || \ sed -i "s|\(^hosts:.*\)|\1 myhostname|" /etc/nsswitch.conf @@ -587,6 +593,9 @@ fi %{_datadir}/pkgconfig/udev.pc %changelog +* Sat Jul 05 2014 Silvan Calarco 214-3mamba +- add systemd-timesync user and group + * Sun Jun 22 2014 Silvan Calarco 214-2mamba - add new required users systemd-network, systemd-resolve, systemd-bus-proxy