Bug 1006613 - init script has incorrect daemon names
Summary: init script has incorrect daemon names
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: racoon2
Version: el6
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Pavel Šimerda (pavlix)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-10 22:25 UTC by Grant Hammond
Modified: 2014-01-10 01:09 UTC (History)
1 user (show)

Fixed In Version: racoon2-20100526a-23.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-10 01:09:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
prefix init script daemon names with /racoon2-/ (389 bytes, patch)
2013-09-10 22:25 UTC, Grant Hammond
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.