Vitezslav Samel <vitezslav(a)samel.cz> writes:
On Tue, Sep 04, 2012 at 04:22:23PM +0200, Nikola Pajkovsky wrote:
> Signed-off-by: Nikola Pajkovsky <npajkovs(a)redhat.com>
> ---
> src/iptraf.c | 44 +++++++++++++++++++++++++++++++++++++++++---
> 1 file changed, 41 insertions(+), 3 deletions(-)
Thinking of it one more time: by this you disabled running concurrent
iptraf-ng in background (one or more instances, eg. logging all TCP
sessions on various interfaces) and in foreground, which is IMHO legal
requirement.
Either limit foreground instances only or disable locking entirely.
I know that's not good solution right now, but it's better than it
was. We need to think about that how to solve it properly.
--
Nikola