Created attachment 333091 [details] Possible Startup Script for rpld Description of problem: The package for the RPL boot daemon does not include an init script. It would be preferable to add rpld as a service rather than restart it manually after a reboot. The script would also stop the daemon during a shutdown. Version-Release number of selected component (if applicable): 1.8-0.4.beta1.fc10 How reproducible: Install rpld Actual results: Must start RPL manually after a reboot. Expected results: Use chkconfig to start and stop as a service based on runlevel. Additional info: I've attached a possible script. rpld doesn't create a rpld.pid file when it runs. During start() I added the pidof command to create a pid file so the daemon function in /etc/init.d/functions would check to see if it is running before starting. There's probably a better or more preferred way of doing this. Then again, it may not even be that critical.
This continues to be an issue in fc11 with package rpld-1.8-0.5-beta1-fc11.
Still hoping that an init script will be added to this package to automate starting and stopping of RPL. rpld-1.8-0.6.beta1.fc12.i686 does not include a script. The one I supplied has been working pretty well since Fedora 10.
I changed the bug summary to a RFE. In fc13 the package version is the same as fc12 (rpld-1.8-0.6.beta1.fc12.i686). The script I uploaded on 2009-02-24 works with fc13.
The Version for this request has been updated to 14. The rpld package is still rpld-1.8-0.6.beta1.fc12.i686 in fc14. The attached startup script continues to work with fc14.
rpld-1.8-0.8.beta1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/rpld-1.8-0.8.beta1.fc14
rpld-1.8-0.8.beta1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/rpld-1.8-0.8.beta1.fc15
rpld-1.8-0.8.beta1.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/rpld-1.8-0.8.beta1.fc13
Package rpld-1.8-0.8.beta1.fc13: * should fix your issue, * was pushed to the Fedora 13 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing rpld-1.8-0.8.beta1.fc13' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/rpld-1.8-0.8.beta1.fc13 then log in and leave karma (feedback).
Tested install on Fedora 13, 14, and 15. The init script is okay, but rpld is not added as a service so it can't be managed using chkconfig. There needs to be a post install step in the spec file using /sbin/chkconfig --add rpld. The startup script I supplied will automatically turn on run levels 345. It is probably best to turn that off and leave it up to the end user.
rpld-1.8-0.10.beta1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/rpld-1.8-0.10.beta1.fc15
rpld-1.8-0.10.beta1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/rpld-1.8-0.10.beta1.fc14
My apologies for taking so long to get back on testing the latest updates. It looks like I may be one of the few people that still use this package. These are very close, but there are two items that I feel need to be changed. First in rpld.specs a line needs to be added to %preun to delete the rpld service if someone uninstalls rpld. %preun if [ "$1" = 0 ]; then /sbin/service %{name} stop >/dev/null 2>&1 /sbin/chkconfig --del %{name} fi Secondly, the rpld startup script in /etc/init.d should not automatically turn on run levels 345 upon installation. The user will need to create a /etc/rpld.conf configuration file before starting the service. Once that is complete they can turn on the service using chkconfig for the desired runlevels. The line to change in /etc/init.d/rpld is... < # chkconfig: 345 80 20 > # chkconfig: - 80 20 These two changes should make the package ready to move from testing to stable. I'm also updating the Fedora version for this request from 14 to 15.
rpld-1.8-0.11.beta1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/rpld-1.8-0.11.beta1.fc16
rpld-1.8-0.11.beta1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/rpld-1.8-0.11.beta1.fc15
rpld-1.8-0.11.beta1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/rpld-1.8-0.11.beta1.fc14
rpld-1.8-0.11.beta1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
rpld-1.8-0.11.beta1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
rpld-1.8-0.11.beta1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.