Um 01:14 Uhr am 11.09.07 schrieb Sven Hartge:

> After a quick test and upgrade to a freshly build 2.2.3, I can see this 
> problem/bug is in all daemons from bacula (director, storage and file).

Hmm.

The code for daemonization in bacula is found in src/lib/daemon.c in 
daemon_start().

In line 77 debug_level is checked and low_fd set accordingly. Somehow this 
seems to be always > 0, causing the lower FDs to remain connected to the 
terminal.

"Brutally" disabling the if clause (and thus disabling any debug facility) 
restores the old pre-2.2.x behavior, but this is by any means no fix, just 
a very very crude work-around.

Right now I am trying to find out, why debug_level is set, even if the 
daemons are not started with any debug option.

I first suspected DEVELOPER to be set, but this turned out not to be the 
case.

Grüße,
Sven.

-- 
Sven Hartge -- professioneller Unix-Geek
Meine Gedanken im Netz: http://www.svenhartge.de/


Reply via email to