Resolves: rhbz-1302718 Program /bin/nologin does not exist

This commit is contained in:
Coty Sutherland 2016-02-02 11:36:08 -05:00 committed by Ivan Afonichev
parent 4f6d837abc
commit 669936a5b8
1 changed files with 2 additions and 1 deletions

View File

@ -526,7 +526,7 @@ EOF
# add the tomcat user and group
%{_sbindir}/groupadd -g %{tcuid} -r tomcat 2>/dev/null || :
%{_sbindir}/useradd -c "Apache Tomcat" -u %{tcuid} -g tomcat \
-s /bin/nologin -r -d %{homedir} tomcat 2>/dev/null || :
-s /sbin/nologin -r -d %{homedir} tomcat 2>/dev/null || :
%post
# install but don't activate
@ -690,6 +690,7 @@ fi
%changelog
* Wed Feb 10 2016 Coty Sutherland <csutherl@redhat.com> 1:8.0.26-4
- Resolves: rhbz#1286800 Failed to start component due to wrong allowLinking="true" in context.xml
- Program /bin/nologin does not exist (#1302718)
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:8.0.26-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild