Re: [PATCH 09/15] Fix tgtd startup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 24 Jun 2009 14:02:18 +0200
Arne Redlich <arne.redlich@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux