Accepting request 141246 from GNOME:Next
useradd -o without -u is bogus OBS-URL: https://build.opensuse.org/request/show/141246 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/avahi?expand=0&rev=92
This commit is contained in:
parent
de82197151
commit
53a2359ea9
@ -910,7 +910,7 @@ rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-ui.pc
|
||||
|
||||
%pre
|
||||
%{_sbindir}/groupadd -r avahi 2> /dev/null || :
|
||||
%{_sbindir}/useradd -r -o -s /bin/false -c "User for Avahi" -d %{_localstatedir}/run/avahi-daemon -g avahi avahi 2> /dev/null || :
|
||||
%{_sbindir}/useradd -r -s /bin/false -c "User for Avahi" -d %{_localstatedir}/run/avahi-daemon -g avahi avahi 2> /dev/null || :
|
||||
%if %suse_version >= 1210
|
||||
%service_add_pre avahi-dnsconfd.service avahi-daemon.service
|
||||
%endif
|
||||
|
@ -909,7 +909,7 @@ rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-ui.pc
|
||||
|
||||
%pre
|
||||
%{_sbindir}/groupadd -r avahi 2> /dev/null || :
|
||||
%{_sbindir}/useradd -r -o -s /bin/false -c "User for Avahi" -d %{_localstatedir}/run/avahi-daemon -g avahi avahi 2> /dev/null || :
|
||||
%{_sbindir}/useradd -r -s /bin/false -c "User for Avahi" -d %{_localstatedir}/run/avahi-daemon -g avahi avahi 2> /dev/null || :
|
||||
%if %suse_version >= 1210
|
||||
%service_add_pre avahi-dnsconfd.service avahi-daemon.service
|
||||
%endif
|
||||
|
@ -912,7 +912,7 @@ rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-ui.pc
|
||||
|
||||
%pre
|
||||
%{_sbindir}/groupadd -r avahi 2> /dev/null || :
|
||||
%{_sbindir}/useradd -r -o -s /bin/false -c "User for Avahi" -d %{_localstatedir}/run/avahi-daemon -g avahi avahi 2> /dev/null || :
|
||||
%{_sbindir}/useradd -r -s /bin/false -c "User for Avahi" -d %{_localstatedir}/run/avahi-daemon -g avahi avahi 2> /dev/null || :
|
||||
%if %suse_version >= 1210
|
||||
%service_add_pre avahi-dnsconfd.service avahi-daemon.service
|
||||
%endif
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 14 09:05:25 UTC 2012 - dimstar@opensuse.org
|
||||
|
||||
- Fix useradd invocation: -o is useless without -u and newer
|
||||
versions of pwdutils/shadowutils fail on this now.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 16 11:37:56 UTC 2012 - coolo@suse.com
|
||||
|
||||
|
@ -912,7 +912,7 @@ rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-ui.pc
|
||||
|
||||
%pre
|
||||
%{_sbindir}/groupadd -r avahi 2> /dev/null || :
|
||||
%{_sbindir}/useradd -r -o -s /bin/false -c "User for Avahi" -d %{_localstatedir}/run/avahi-daemon -g avahi avahi 2> /dev/null || :
|
||||
%{_sbindir}/useradd -r -s /bin/false -c "User for Avahi" -d %{_localstatedir}/run/avahi-daemon -g avahi avahi 2> /dev/null || :
|
||||
%if %suse_version >= 1210
|
||||
%service_add_pre avahi-dnsconfd.service avahi-daemon.service
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user