From: Christophe Varoqui Subject: Re: improved daemon setup Date: Wed, 09 Nov 2005 23:50:55 +0100 Message-ID: <1131576656.7463.59.camel@zezette> References: <20051109220015.GD26529@phlogiston.msp.redhat.com> Reply-To: christophe.varoqui@free.fr, device-mapper development Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20051109220015.GD26529@phlogiston.msp.redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: device-mapper development List-Id: dm-devel.ids On mer, 2005-11-09 at 16:00 -0600, Benjamin Marzinski wrote: > If you log into a machine and start the multipathd daemon, you will hang on > logout, because multipathd doesn't fully detach itself from the calling > processes. Also, occasionally the device mapper library functions will print > error messages to stdout. These appear in the terminal that was used to > start multipathd, if it was started by hand (not by init scripts). To fix these > I added some code to fully daemonize multipathd, and redirect stdout and > stderr to /dev/console. > -- Thanks, applied. BTW, Ed has to add a EMC copyright notice in multipathd/main.c So I seeded the header with my copyright. You can send a patch adding yours or Redhat's too ... Regards, cvaroqui