do not hide errors if cyrus user can't be added
This commit is contained in:
parent
db5cac617d
commit
f1a444adf7
@ -1,6 +1,6 @@
|
|||||||
Name: cyrus-imapd
|
Name: cyrus-imapd
|
||||||
Version: 2.4.12
|
Version: 2.4.12
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
|
|
||||||
%define ssl_pem_file %{_sysconfdir}/pki/%{name}/%{name}.pem
|
%define ssl_pem_file %{_sysconfdir}/pki/%{name}/%{name}.pem
|
||||||
|
|
||||||
@ -287,9 +287,9 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
%pre
|
%pre
|
||||||
# Create 'cyrus' user on target host
|
# Create 'cyrus' user on target host
|
||||||
/usr/sbin/groupadd -g %{gid} -r saslauth 2> /dev/null || :
|
getent group saslauth >/dev/null || /usr/sbin/groupadd -g %{gid} -r saslauth
|
||||||
/usr/sbin/useradd -c "Cyrus IMAP Server" -d %{_var}/lib/imap -g %{_cyrusgroup} \
|
getent passwd cyrus >/dev/null || /usr/sbin/useradd -c "Cyrus IMAP Server" -d %{_var}/lib/imap -g %{_cyrusgroup} \
|
||||||
-G saslauth -s /sbin/nologin -u %{uid} -r %{_cyrususer} 2> /dev/null || :
|
-G saslauth -s /sbin/nologin -u %{uid} -r %{_cyrususer}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/bin/systemctl daemon-reload > /dev/null 2>&1 :
|
/bin/systemctl daemon-reload > /dev/null 2>&1 :
|
||||||
@ -477,6 +477,9 @@ fi
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 11 2011 Michal Hlavinka <mhlavink@redhat.com> - 2.4.12-2
|
||||||
|
- do not hide errors if cyrus user can't be added
|
||||||
|
|
||||||
* Wed Oct 05 2011 Michal Hlavinka <mhlavink@redhat.com> - 2.4.12-1
|
* Wed Oct 05 2011 Michal Hlavinka <mhlavink@redhat.com> - 2.4.12-1
|
||||||
- cyrus-imapd updated to 2.4.12
|
- cyrus-imapd updated to 2.4.12
|
||||||
- fixes incomplete authentication checks in nntpd (Secunia SA46093)
|
- fixes incomplete authentication checks in nntpd (Secunia SA46093)
|
||||||
|
Loading…
Reference in New Issue
Block a user