Description of problem: The service provided by flow-tools (flow-capture) will not start Version-Release number of selected component (if applicable): flow-tools x86_64 0.68.5.1-6.fc18 fedora How reproducible: Reproducible always Steps to Reproduce: 1. yum install flow-tools 2. systemctl start flow-capture.service 3. (fails to start Actual results: ar 29 22:30:44 localhost systemd[1]: Starting Flow-capture Capture Traffic Flow Data... Mar 29 22:30:44 localhost flow-capture[23286]: setsockopt(size=4194304) Mar 29 22:30:44 localhost flow-capture[23286]: open(/run/flow-capture.pid.8818): Permission denied Mar 29 22:30:44 localhost systemd[1]: PID file /run/flow-capture.pid not readable (yet?) after start. Expected results: service ran without issue on FC16 - I've not tried it on FC17 Additional info:
It doesn't start correctly on F17 as well.
The problem appears to be that flow-capture appends the port it is listening on to the pidfile name (for example, /run/flow-capture.pid.9996 if you're listening on port 9996), so systemd can't find the pidfile and stops the process.
I think I'd better run it without forking, as a simple service.
http://pkgs.fedoraproject.org/cgit/flow-tools.git/commit/?id=9b9516cfb2fffc93bd657346b20b758a6a6d3241 like this. I've pushed the build to master, if you can modify the service file locally on your host and verify it works i'll push it to other branches as well.
It appears to work. Thanks!
flow-tools-0.68.5.1-10.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/flow-tools-0.68.5.1-10.fc19
flow-tools-0.68.5.1-10.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/flow-tools-0.68.5.1-10.fc18
Package flow-tools-0.68.5.1-10.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing flow-tools-0.68.5.1-10.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-15614/flow-tools-0.68.5.1-10.fc19 then log in and leave karma (feedback).
flow-tools-0.68.5.1-10.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
flow-tools-0.68.5.1-10.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.