Accepting request 398342 from home:jengelh:branches:Virtualization

- Avoid suppressing errors during useradd/groupadd

OBS-URL: https://build.opensuse.org/request/show/398342
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=536
This commit is contained in:
James Fehlig 2016-05-31 14:57:49 +00:00 committed by Git OBS Bridge
parent 8eb128040f
commit 4a0f0b0a30
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 27 10:15:43 UTC 2016 - jengelh@inai.de
- Avoid suppressing errors during useradd/groupadd
-------------------------------------------------------------------
Wed May 25 16:41:11 UTC 2016 - jfehlig@suse.com

View File

@ -1436,7 +1436,7 @@ fi
%service_add_pre virtlogd.service virtlogd.socket
%endif
%{_bindir}/getent group libvirt >/dev/null || \
%{_sbindir}/groupadd -r libvirt 2>/dev/null
%{_sbindir}/groupadd -r libvirt || :
%post daemon
/sbin/ldconfig