From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hannes Reinecke Subject: Re: [PATCH 06/10] Install /bin/mount Date: Thu, 28 Nov 2013 14:23:19 +0100 Message-ID: <529743C7.80906@suse.de> References: <1385567061-13247-1-git-send-email-hare@suse.de> <1385567061-13247-7-git-send-email-hare@suse.de> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <1385567061-13247-7-git-send-email-hare-l3A5Bk7waGM@public.gmane.org> Sender: initramfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="iso-8859-1" To: Harald Hoyer Cc: Thomas Renninger , initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Hannes Reinecke On 11/27/2013 04:44 PM, Hannes Reinecke wrote: > systemd relies on /bin/mount to be present, so install it. >=20 > Signed-off-by: Hannes Reinecke > --- > modules.d/99fs-lib/module-setup.sh | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/modules.d/99fs-lib/module-setup.sh b/modules.d/99fs-lib/= module-setup.sh > index 7979bab..b24207d 100755 > --- a/modules.d/99fs-lib/module-setup.sh > +++ b/modules.d/99fs-lib/module-setup.sh > @@ -85,4 +85,5 @@ install() { > fi > =20 > inst_multiple -o $_helpers fsck > + inst /usr/bin/mount /bin/mount > } >=20 After much debate and soul-searching it was found that a) /bin/mount is _REQUIRED_ to be present b) dracut will only copy /usr/bin/mount So if /bin is _not_ a symlink to /usr/bin, but the individual programs are, /bin/mount doesn't find it's way into the initrd. Nor do several other programs. How to approach this fundamentally? I would prefer to have 'inst' checking for symlinks, and copy them over if required. Adding them manually seems ineffectual to me. But I'll do whatever is desired here ... Cheers, Hannes --=20 Dr. Hannes Reinecke zSeries & Storage hare-l3A5Bk7waGM@public.gmane.org +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg GF: J. Hawn, J. Guild, F. Imend=F6rffer, HRB 16746 (AG N=FCrnberg)