Bug#486826: multipathd: suspicious file descriptors

Bastian Blank waldi at debian.org
Thu Jun 19 17:58:01 UTC 2008


On Thu, Jun 19, 2008 at 01:03:08PM +0200, Guido Günther wrote:
> On Wed, Jun 18, 2008 at 02:22:41PM +0200, Ferenc Wagner wrote:
> >  * Shouldn't a daemon process always use /dev/null as stdin/stdout/stderr?
> multipathd uses /dev/console to output messages if necessary. See
> daemonize in the code. I'm not seeing anything really wrong with this.

/dev/console is routed somewhere. In case of emergency it should write
to syslog with the appropriate severity to get the admin notified.

> > The sockets seem reasonable (based on /proc/net/unix), but how could I find out
> > what the pipe is for?  /proc/*/fd reveals writers only.

lsof and grep? Otherwise: strace.

Bastian

-- 
We'll pivot at warp 2 and bring all tubes to bear, Mr. Sulu!





More information about the pkg-lvm-maintainers mailing list