Hi folks,
Problem: For rotating pflog log files I need the PID
of the appropriate pflogd. For 4.3 I could rely
upon pflogd -p pflogd4.pid, but for 4.8 the -p
is not allowed anymore :-(. The man page still points
to newsyslog, but thats all.
Of course this can be solved by messing around
with
On Thu, Jan 27, 2011 at 01:45:30PM +0100, Harald Dunkel wrote:
Hi folks,
Problem: For rotating pflog log files I need the PID
of the appropriate pflogd. For 4.3 I could rely
upon pflogd -p pflogd4.pid, but for 4.8 the -p
is not allowed anymore :-(. The man page still points
to newsyslog,
On 01/27/11 14:01, Otto Moerbeek wrote:
-p is prone to race conditions.
A race condition on writing a pid file in main()?
It would be very interesting to get more details
about this.
Regards
Harri
On Thu, Jan 27, 2011 at 03:08:32PM +0100, Harald Dunkel wrote:
On 01/27/11 14:01, Otto Moerbeek wrote:
-p is prone to race conditions.
A race condition on writing a pid file in main()?
It would be very interesting to get more details
about this.
Regards
Harri
in genreal, when
On 01/27/11 15:37, Otto Moerbeek wrote:
in genreal, when things go wrong, a pid file might remain. That file
does not reflect the pid of a pflogd daemon. You might be sending a
HUP to the wrong process. A race condition occurs when pflogd is
restarted, and in the meantime a process reads the
5 matches
Mail list logo