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

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Tue Jun 30 03:45:54 CEST 2009


On Wed, 24 Jun 2009 14:02:18 +0200
Arne Redlich <arne.redlich at googlemail.com> wrote:

> 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.

Oops, I see.

Applied.
--
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