Bug 153187
| Summary: | init.d startup script | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Florian La Roche <laroche> |
| Component: | tomcat5 | Assignee: | Devrim GUNDUZ <devrim> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 5.5.26-1jpp.2.fc7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-02-13 04:54:55 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 235704 | ||
>Usually< %{_initrddir} should be used!
Still not fixed in current Fedora rpm. regards, Florian La Roche Not fixd for Fedora 7, Fedora 8, and Fedora 8.9 -- bad! Ok, initscript fixed... It will appear in next tomcat5 release. tomcat5-5.5.25-2jpp.1.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update tomcat5' tomcat5-5.5.25-2jpp.1.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update tomcat5' tomcat5-5.5.26-1jpp.1.fc7 has been submitted as an update for Fedora 7 tomcat5-5.5.26-1jpp.1.fc8 has been submitted as an update for Fedora 8 tomcat5-5.5.26-1jpp.2.fc8 has been submitted as an update for Fedora 8 tomcat5-5.5.26-1jpp.2.fc7 has been submitted as an update for Fedora 7 tomcat5-5.5.26-1jpp.2.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report. tomcat5-5.5.26-1jpp.2.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: We usually package startup scripts in /etc/rc.d/init.d/ and not /etc/init.d/. --- tomcat5.spec 14 Mar 2005 13:55:27 -0000 1.9 +++ tomcat5.spec 2 Apr 2005 11:28:13 -0000 @@ -299,12 +299,12 @@ install -d -m 755 $RPM_BUILD_ROOT/{%{con install -d -m 755 $RPM_BUILD_ROOT/{%{serverdir},%{tempdir},%{workdir}} install -d -m 755 $RPM_BUILD_ROOT/{%{appdir},%{commondir},%{shareddir}} -install -d -m 755 $RPM_BUILD_ROOT/{%{_bindir},%{_sysconfdir}/{init.d,logrotate.d},%{_javadir}} +install -d -m 755 $RPM_BUILD_ROOT/{%{_bindir},%{_sysconfdir}/{rc.d/init.d,logrotate.d},%{_javadir}} install -m 755 %{SOURCE9} $RPM_BUILD_ROOT/%{bindir}/relink # sysv init and logging -install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/init.d/%{name} +install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/%{name} install %{SOURCE5} $RPM_BUILD_ROOT/%{confdir}/%{name}.conf pushd %{packdname}/jakarta-tomcat-5 @@ -359,7 +359,7 @@ rm -f $RPM_BUILD_ROOT%{bindir}/*.sh $RP # FHS compliance patches, not easy to track them all boys :) for i in $RPM_BUILD_ROOT%{confdir}/%{name}.conf $RPM_BUILD_ROOT%{_bindir}/d%{name} \ - $RPM_BUILD_ROOT%{_bindir}/%{name} $RPM_BUILD_ROOT%{_sysconfdir}/init.d/%{name} \ + $RPM_BUILD_ROOT%{_bindir}/%{name} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/%{name} \ $RPM_BUILD_ROOT%{_bindir}/d%{jname} $RPM_BUILD_ROOT%{_bindir}/%{jname} \ $RPM_BUILD_ROOT%{bindir}/relink $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/%{name} do @@ -511,8 +511,8 @@ build-jar-repository %{serverdir}/webapp rm -fr %{workdir}/* %{tempdir}/* if [ $1 = 0 ]; then - [ -f /var/lock/subsys/%{name} ] && %{_sysconfdir}/init.d/%{name} stop - [ -f %{_sysconfdir}/init.d/%{name} ] && /sbin/chkconfig --del %{name} + [ -f /var/lock/subsys/%{name} ] && %{_sysconfdir}/rc.d/init.d/%{name} stop + [ -f %{_sysconfdir}/rc.d/init.d/%{name} ] && /sbin/chkconfig --del %{name} # NEVER remove a serve system user and group from the system # You can leave orphaned files behind @@ -583,7 +583,7 @@ fi %attr(755,root,root) %{_bindir}/* %attr(755,root,root) %{bindir}/* -%attr(755,root,root) %{_sysconfdir}/init.d/%{name} +%attr(755,root,root) %{_sysconfdir}/rc.d/init.d/%{name} %attr(644,root,tomcat) %config(noreplace) %{confdir}/catalina.policy %attr(644,root,tomcat) %config(noreplace) %{confdir}/catalina.properties Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: