From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrei B Subject: Re: Chicken and egg problem with multipath-tools Date: Sun, 03 Mar 2013 23:01:37 +0200 Message-ID: <5133BA31.6080208@yahoo.com> References: <1362220999.44153.YahooMailClassic@web126202.mail.ne1.yahoo.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: 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 Well, that would be an idea. However, multipathd has the pidfile hardcoded. It cannot be changed at runtime, nor can it be disabled. I know, I could compile it with a different hardcoded path, but that's really a bad idea, because then if multipathd were to be restarted anytime later after boot, it would then fail because of the same reason. On 2013-03-03 01:42 PM, Gabriel de Perthuis wrote: >> The problem is that multipathd wants to create a PID file under /var >> (which is at this time readonly). This fails and multipathd fails to >> start. > Distros handle this by putting pidfiles in /run, a tmpfs set up at early > boot. There might be some magic to ensure that later mounts don't shadow > it. > > -- > dm-devel mailing list > dm-devel@redhat.com > https://www.redhat.com/mailman/listinfo/dm-devel