From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eumx.net ([91.82.101.43] helo=owm.eumx.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1URjzx-0007Cp-Lb for openembedded-core@lists.openembedded.org; Mon, 15 Apr 2013 16:03:17 +0200 Message-ID: <516C0484.7050402@communistcode.co.uk> Date: Mon, 15 Apr 2013 14:45:40 +0100 From: Jack Mitchell User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130403 Thunderbird/17.0.5 MIME-Version: 1.0 To: Martin Jansa References: <5102423C.4010408@intel.com> <511CF540.6090302@communistcode.co.uk> <511D0669.6020903@communistcode.co.uk> <20130221222728.GA1833@sakrah.homelinux.org> <512738BF.9000404@communistcode.co.uk> <51277D87.3090703@communistcode.co.uk> <512785CE.5020508@communistcode.co.uk> <516BF98C.2080603@communistcode.co.uk> <20130415131058.GB10628@jama.dyndns-home.com> In-Reply-To: <20130415131058.GB10628@jama.dyndns-home.com> Cc: openembedded-core@lists.openembedded.org Subject: Re: systemd: /run directory not created X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: ml@communistcode.co.uk List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Apr 2013 14:03:28 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 15/04/13 14:10, Martin Jansa wrote: > On Mon, Apr 15, 2013 at 01:58:52PM +0100, Jack Mitchell wrote: >> Ok, I have just come back to trying out the new systemd implementation, >> and this bug still exists. >> >> Exactly the same error as before: >> >> [ 2.390730] systemd[1]: Failed to mount /run: No such file or directory >> >> Can we shed any light on why this directory is failing to be created and >> what can be done to fix it. Having looked in my final target filesystem >> there are no links to the volatiles in /var/voltatile/* to /*, should >> there be? The base-files packages looks like it should do it but >> obviously something is going wrong. >> >> for d in ${volatiles}; do >> ln -sf volatile/$d ${D}${localstatedir}/$d >> done > We're using base-files bbappend to create it and also replacing few > symlinks to volatile with real directories (not mandatory for systemd > iirc, but useful in some cases). > > https://github.com/shr-distribution/meta-smartphone/commit/24161eed3c185867b2fd91aab6532f370d327cdd > Ok, manually adding /run to 775dirs in a base-files append fixed this for me. I still don't understand why this should be needed as an addition though... -- Jack Mitchell (jack@embed.me.uk) Embedded Systems Engineer http://www.embed.me.uk --