Description of problem: Let's get the ball rolling on this one... http://fedoraproject.org/wiki/Features/SysVtoSystemd https://fedoraproject.org/wiki/Packaging:Guidelines:Systemd https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Note that I have noticed that upstream already has systemd units but for some reason we seemed to be shipping them in the DOC folder and are still using the old legacy sysv init scripts ( which should be dropped )? Anyway the upstream unit files can drop the syslog.target from the After= line and should use /run as opposed to /var/run in the PIDFile= path
Johann, Thanks for the input. The spec file for this project does need to be used for both old and new Linux versions. I have changed the spec file to include both systemd and sysv init, but only copy in one set. It uses the presence of /bin/systemctl to determine if systemd support is present. Attached is the new ipmiutil.spec file. I also made the changes to the *.service files to drop syslog.target and to use /run instead of /var/run. I noticed that /var/run is always there, but /run is only there on newer Linux versions. Do we know for sure that /run will always be there if systemd is supported? If this is sufficient, I can submit the changes. Andy
Created attachment 561978 [details] updated ipmiutil.spec file to use systemd scripts
(In reply to comment #2) > Johann, > > Thanks for the input. The spec file for this project does need to be used for > both old and new Linux versions. > I have changed the spec file to include both systemd and sysv init, but only > copy in one set. It uses the presence of /bin/systemctl to determine if > systemd support is present. Attached is the new ipmiutil.spec file. > > I also made the changes to the *.service files to drop syslog.target and to use > /run instead of /var/run. I noticed that /var/run is always there, but /run is > only there on newer Linux versions. Do we know for sure that /run will always > be there if systemd is supported? Yes you can be sure
ipmiutil-2.8.2-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/ipmiutil-2.8.2-1.el6
Package ipmiutil-2.8.2-1.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing ipmiutil-2.8.2-1.el6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2012-0863/ipmiutil-2.8.2-1.el6 then log in and leave karma (feedback).
ipmiutil-2.8.2-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.