Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: Bad %post scritlet
https://bugzilla.redhat.com/show_bug.cgi?id=810775
Summary: Bad %post scritlet
Product: Fedora
Version: 16
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: low
Priority: unspecified
Component: tomcat
AssignedTo: ivan.afonichev(a)gmail.com
ReportedBy: mattias.ellert(a)fysast.uu.se
QAContact: extras-qa(a)fedoraproject.org
CC: akurtako(a)redhat.com,
java-sig-commits(a)lists.fedoraproject.org,
ivan.afonichev(a)gmail.com, kdaniel(a)redhat.com
Classification: Fedora
Story Points: ---
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Description of problem:
Installing tomcat results in the following error:
Installerar : tomcat-7.0.26-1.fc16.noarch 8/8
fel vid läsning av information om tjänsten tomcat: Filen eller katalogen finns
inte
Version-Release number of selected component (if applicable):
tomcat-7.0.26-1.fc16.noarch
How reproducible:
always
Steps to Reproduce:
1. yum install tomcat
Actual results:
Error messaged about missing service information during installation
Expected results:
No errors during installation
Additional info:
Tomcat is handled using systemd. However the %post scriptlet still tries to
configure the service using chkconfig in the %post scriptlet. This call is
responsible for the error.
postinstall scriptlet (using /bin/sh):
# install but don't activate
/sbin/chkconfig --add tomcat
if [ $1 -eq 1 ]; then
#initial installation
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
fi
Additionally: installing tomcat resulted in that redhat-lsb was installed as a
dependency. Native Fedora packages are not supposed to depend on this. Do you
really need it?
--
Configure bugmail:
https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.