SHA256
1
0
forked from pool/vsftpd
Tomáš Chvátal 2016-03-22 14:29:23 +00:00 committed by Git OBS Bridge
parent 04364bf0b8
commit 74d07aeab6
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 22 14:27:27 UTC 2016 - tchvatal@suse.com
- Fix user creation to not report error when user alredy exist
Spotted during testing of bnc#971784
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 21 12:53:59 UTC 2016 - tchvatal@suse.com Mon Mar 21 12:53:59 UTC 2016 - tchvatal@suse.com

View File

@ -151,7 +151,7 @@ install -d %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/
install -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name} install -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}
%pre %pre
%{_sbindir}/useradd -r -g nogroup -s /bin/false -c "Secure FTP User" -d %{_localstatedir}/lib/empty ftpsecure 2> /dev/null || : getent passwd ftpsecure >/dev/null || useradd -r -g nogroup -s /bin/false -c "Secure FTP User" -d %{_localstatedir}/lib/empty ftpsecure 2> /dev/null
%if %{with_systemd} %if %{with_systemd}
%service_add_pre %{name}.service %{name}@.service %{name}.socket %service_add_pre %{name}.service %{name}@.service %{name}.socket
%endif %endif