diff options
Diffstat (limited to 'httpd.spec')
-rw-r--r-- | httpd.spec | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -14,7 +14,7 @@ Summary: Apache HTTP Server Name: httpd Version: 2.4.10 -Release: 2%{?dist} +Release: 3%{?dist} URL: http://httpd.apache.org/ Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2 Source1: index.html @@ -453,6 +453,11 @@ rm -vf \ rm -rf $RPM_BUILD_ROOT/etc/httpd/conf/{original,extra} +%pre +# Add the "apache" user +/usr/sbin/useradd -c "Apache" -u 48 \ + -s /sbin/nologin -r -d %{contentdir} apache 2> /dev/null || : + %pre filesystem # Add the "apache" user /usr/sbin/useradd -c "Apache" -u 48 \ @@ -653,6 +658,9 @@ rm -rf $RPM_BUILD_ROOT %{_rpmconfigdir}/macros.d/macros.httpd %changelog +* Thu Aug 14 2014 Jan Kaluza <jkaluza@redhat.com> - 2.4.10-3 +- fix creating apache user in pre script (#1128328) + * Thu Jul 31 2014 Joe Orton <jorton@redhat.com> - 2.4.10-2 - enable mod_request by default for mod_auth_form - move disabled-by-default modules from 00-base.conf to 00-optional.conf |