Bug 909128

Summary: Systemctl (systemd) does not start conntrackd
Product: [Fedora] Fedora Reporter: Miroslav Miklus <miroslav.miklus>
Component: conntrack-toolsAssignee: Paul P Komkoff Jr <i>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 18CC: i, pwouters, twoerner
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-25 23:04:54 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:

Description Miroslav Miklus 2013-02-08 11:19:28 UTC
Description of problem:

There is defined:
ExecStart=/usr/sbin/conntrackd -d -C /etc/conntrackd/conntrackd.conf
in file /usr/lib/systemd/system/conntrackd.service

Systemd starts conntrackd with -d option and contrackd tries to daemonize itself, but the damonization should be done by systemd not conntrackd, the fix is to remove the "-d" option:
ExecStart=/usr/sbin/conntrackd -C /etc/conntrackd/conntrackd.conf


Version-Release number of selected component (if applicable):
Name        : conntrack-tools
Arch        : x86_64
Version     : 1.4.0
Release     : 1.fc18


How reproducible:
systemctl start conntrackd

Steps to Reproduce:
1.systemctl start conntrackd
2. ps aux |grep conntrackd
  
Actual results:
[root@localhost system]# ps aux |grep conntr
root     10311  0.0  0.1 109176   920 pts/0    S+   01:38   0:00 grep --color=auto conntr

Expected results:
[root@localhost system]# ps aux |grep conntr
root     10352  0.0  0.4  21276  3248 ?        S<s  01:40   0:00 /usr/sbin/conntrackd -C /etc/conntrackd/conntrackd.conf
root     10360  0.0  0.1 109176   920 pts/0    S+   01:40   0:00 grep --color=auto conntr

Additional info:

Comment 1 Fedora Update System 2013-02-09 19:54:20 UTC
conntrack-tools-1.4.0-2.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/conntrack-tools-1.4.0-2.fc18

Comment 2 Fedora Update System 2013-02-11 04:59:22 UTC
Package conntrack-tools-1.4.0-2.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing conntrack-tools-1.4.0-2.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-2294/conntrack-tools-1.4.0-2.fc18
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2013-03-25 23:04:56 UTC
conntrack-tools-1.4.0-2.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.