[stgt] [PATCH 09/15] Fix tgtd startup

Arne Redlich arne.redlich at googlemail.com
Wed Jun 24 14:02:18 CEST 2009


Am Freitag, den 12.06.2009, 11:35 +0900 schrieb FUJITA Tomonori:
> On Tue, 09 Jun 2009 18:22:30 +0200
> Arne Redlich <arne.redlich at googlemail.com> wrote:
> 
> > tgtd was deamonized and forked the logger daemon quite late during startup,
> > leading to the logger getting ahold of resources (IPC fd) it should not
> > have.
> > 
> > This also fixes the working dir and closes the std{in,out,err} file descriptors of
> > the logger daemon.
> 
> daemon() could simplify this part?

No, it couldn't, because daemon() exits the parent, which we don't want
here.

Sorry for the late reply,
Arne


--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list