Bug 1006613

Summary: init script has incorrect daemon names
Product: [Fedora] Fedora EPEL Reporter: Grant Hammond <linux>
Component: racoon2Assignee: Pavel Šimerda (pavlix) <psimerda>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: el6CC: psimerda
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: racoon2-20100526a-23.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-10 01:09:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
prefix init script daemon names with /racoon2-/ none

Description Grant Hammond 2013-09-10 22:25:09 UTC
Created attachment 796185 [details]
prefix init script daemon names with /racoon2-/

Description of problem:

The init script, /etc/init.d/racoon2, does not reflect the new daemon names for iked and spmd since the spec file was modified to prefix the daemon names with %{name}.

Version-Release number of selected component (if applicable):

The latest available package (at least) from EPEL - 20100526a-17.el6

http://dl.fedoraproject.org/pub/epel/6Server/SRPMS/racoon2-20100526a-17.el6.src.rpm
http://dl.fedoraproject.org/pub/epel/6Server/x86_64/racoon2-20100526a-17.el6.x86_64.rpm

How reproducible:
n/a

Steps to Reproduce:
1. Install binary EPEL package

Actual results:

Init script does not start daemons.

[root@localhost ~]# grep ^exec /etc/init.d/racoon2 
exec1="/usr/sbin/spmd"
exec2="/usr/sbin/iked"
[root@localhost ~]# rpm -ql racoon2 | grep sbin
/usr/sbin/racoon2-iked
/usr/sbin/racoon2-pskgen
/usr/sbin/racoon2-spmd
/usr/sbin/racoon2-spmdctl

Expected results:

Daemon names in init script should match the actual names of the daemons.

Additional info:

The init script is created by a patch. I have attached a patch for the patch.

Comment 1 Grant Hammond 2013-09-11 11:51:45 UTC
Actually, having looked further into the script I see other things that don't work. So I propose to ignore/close this bug and I'll work on a more encompassing patch - at which point I shall open a more appropriate bug for review.

Comment 2 Fedora Update System 2013-09-12 07:28:50 UTC
racoon2-20100526a-23.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/racoon2-20100526a-23.el6

Comment 3 Pavel Šimerda (pavlix) 2013-09-12 07:31:41 UTC
Hi Grant,

somehow we originally only fixed the issue for systemd unit files (for Fedora), the above is a build submitted with just your patch. Please test it and let me know if there are further improvements needed. Feel free to reuse this bugreport for initscript problems as long as its open.

Comment 4 Fedora Update System 2013-09-12 17:34:43 UTC
Package racoon2-20100526a-23.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 racoon2-20100526a-23.el6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2013-11541/racoon2-20100526a-23.el6
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2014-01-10 01:09:36 UTC
racoon2-20100526a-23.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.