X-Original-To: alpine-devel@mail.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id ED93CDC15B1; Tue, 22 Sep 2015 14:05:01 +0000 (UTC) Received: from ncopa-desktop.alpinelinux.org (unknown [79.160.13.133]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: n@tanael.org) by mail.alpinelinux.org (Postfix) with ESMTPSA id 38EC8DC0075; Tue, 22 Sep 2015 14:05:01 +0000 (UTC) Date: Tue, 22 Sep 2015 16:04:58 +0200 From: Natanael Copa To: Jesse Young Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] [PATCH 2/4] mkinitfs: add /run to the initfs base image Message-ID: <20150922160458.00ff3cd0@ncopa-desktop.alpinelinux.org> In-Reply-To: <1442176909-6089-2-git-send-email-jlyo@jlyo.org> References: <1442176909-6089-1-git-send-email-jlyo@jlyo.org> <1442176909-6089-2-git-send-email-jlyo@jlyo.org> X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; x86_64-alpine-linux-musl) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP On Sun, 13 Sep 2015 15:41:47 -0500 Jesse Young wrote: > mdadm otherwise complains about not being able to lock > /run/mdadm/map.lock > --- > mkinitfs.in | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/mkinitfs.in b/mkinitfs.in > index 04dc99c..ced6792 100755 > --- a/mkinitfs.in > +++ b/mkinitfs.in > @@ -36,7 +36,7 @@ feature_files() { > > initfs_base() { > local i= dirs= glob= file= > - for i in dev proc sys sbin bin .modloop lib/modules media/cdrom \ > + for i in dev proc sys sbin bin run .modloop lib/modules media/cdrom \ > etc/apk media/floppy media/usb newroot; do > dirs="$dirs $tmpdir/$i" > done Thanks for this fix. I am about to refactor the way the root is detected and not having /run made mdadm not coldplug. It took a while for me to realize what was going bad. I think we also need mkdir /run in initramfs-init. Thanks! -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---