Accepting request 346364 from home:darix:branches:network:time
- silence groupadd/useradd call and drop the shell from the user. OBS-URL: https://build.opensuse.org/request/show/346364 OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=7
This commit is contained in:
parent
83aa68ed96
commit
beefc924bf
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 26 10:45:06 UTC 2015 - mrueckert@suse.de
|
||||
|
||||
- silence groupadd/useradd call and drop the shell from the user.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 26 01:13:52 UTC 2015 - mrueckert@suse.de
|
||||
|
||||
|
@ -152,8 +152,8 @@ touch %{buildroot}%{_localstatedir}/lib/chrony/{drift,rtc}
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%pre
|
||||
/usr/sbin/groupadd -r chrony || :
|
||||
/usr/sbin/useradd -r -g chrony -c "Chrony Daemon" -d "%{_localstatedir}/lib/chrony" chrony || :
|
||||
/usr/sbin/groupadd -r chrony >/dev/null 2>&1 || :
|
||||
/usr/sbin/useradd -g chrony -s /bin/false -r -c "Chrony Daemon" -d "%{_localstatedir}/lib/chrony" chrony >/dev/null 2>&1 || :
|
||||
# START BIG SYSTEMD
|
||||
%if %{with systemd}
|
||||
%service_add_pre chronyd.service chrony-wait.service
|
||||
|
Loading…
Reference in New Issue
Block a user