Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153525 - net-analyzer/sguil-sensor-0.61 - "/etc/init.d/log_packets" overwrites snort pid file
Summary: net-analyzer/sguil-sensor-0.61 - "/etc/init.d/log_packets" overwrites snort p...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Benjamin Smee (strerror) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-31 01:22 UTC by Clemente Aguiar
Modified: 2006-12-02 15:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Clemente Aguiar 2006-10-31 01:22:31 UTC
The sguil-sensor machine normally runs two "snort" processes:
- one process is started with "/etc/init.d/snort" and creates the following pid file: "/var/run/snort_eth1.pid"
- the other process is started with "/etc/init.d/log_packets" and creates the following pid file: "/var/run/sguil/logpackets.pid". BUT at the same time overwrites the "/var/run/snort_eth1.pid" file which was created previously by the other "snort" process.

I restart these two processes frequently, log_packets every hour and snort every day, and after a couple of days I have numerous "snort" processes running, and I think it is the consequence of the above reported issue.

These two "init" scripts, and associated config files (conf.d) should be revised. See also bug "123477" reported previously.
Comment 1 Cédric Krier gentoo-dev 2006-12-02 15:27:23 UTC
Fix pidfile in cvs