From: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Hannes Reinecke <hare-l3A5Bk7waGM@public.gmane.org>
Cc: Thomas Renninger <trenn-l3A5Bk7waGM@public.gmane.org>,
initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 06/10] Install /bin/mount
Date: Thu, 28 Nov 2013 15:08:42 +0100 [thread overview]
Message-ID: <52974E6A.70500@redhat.com> (raw)
In-Reply-To: <529743C7.80906-l3A5Bk7waGM@public.gmane.org>
On 11/28/2013 02:23 PM, Hannes Reinecke wrote:
> On 11/27/2013 04:44 PM, Hannes Reinecke wrote:
>> systemd relies on /bin/mount to be present, so install it.
>>
>> Signed-off-by: Hannes Reinecke <hare-l3A5Bk7waGM@public.gmane.org>
>> ---
>> modules.d/99fs-lib/module-setup.sh | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> 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
>>
>> inst_multiple -o $_helpers fsck
>> + inst /usr/bin/mount /bin/mount
>> }
>>
> 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
>
Like already discussed, we should alter dracut-install to search all PATH
elements, instead of just taking the first one.
http://git.kernel.org/cgit/boot/dracut/dracut.git/tree/install/dracut-install.c#n787
http://git.kernel.org/cgit/boot/dracut/dracut.git/tree/install/dracut-install.c#n851
http://git.kernel.org/cgit/boot/dracut/dracut.git/tree/install/dracut-install.c#n883
Will do, and also cleanup dracut-install.c in the process.
next prev parent reply other threads:[~2013-11-28 14:08 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-27 15:44 [PATCH 00/10] SUSE S/390 integration Hannes Reinecke
[not found] ` <1385567061-13247-1-git-send-email-hare-l3A5Bk7waGM@public.gmane.org>
2013-11-27 15:44 ` [PATCH 01/10] 95dasd: Install kernel modules only once Hannes Reinecke
2013-11-27 15:44 ` [PATCH 02/10] 95dasd: Only install module if normalize_dasd_arg is present Hannes Reinecke
2013-11-27 15:44 ` [PATCH 03/10] 95dasd_mod: make dasd_cio_free optional Hannes Reinecke
[not found] ` <1385567061-13247-4-git-send-email-hare-l3A5Bk7waGM@public.gmane.org>
2013-11-28 12:51 ` Harald Hoyer
[not found] ` <52973C68.8040504-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2013-11-28 12:53 ` Hannes Reinecke
2013-11-27 15:44 ` [PATCH 04/10] 95zfcp: Make installation optional Hannes Reinecke
2013-11-27 15:44 ` [PATCH 05/10] 95znet: " Hannes Reinecke
2013-11-27 15:44 ` [PATCH 06/10] Install /bin/mount Hannes Reinecke
[not found] ` <1385567061-13247-7-git-send-email-hare-l3A5Bk7waGM@public.gmane.org>
2013-11-28 13:23 ` Hannes Reinecke
[not found] ` <529743C7.80906-l3A5Bk7waGM@public.gmane.org>
2013-11-28 14:08 ` Harald Hoyer [this message]
2013-11-27 15:44 ` [PATCH 07/10] Fixup keymap setting for openSUSE Hannes Reinecke
2013-11-27 15:44 ` [PATCH 08/10] Check for plymouth lib directories Hannes Reinecke
2013-11-27 15:44 ` [PATCH 09/10] Add DASD configuration for SuSE Hannes Reinecke
2013-11-27 15:44 ` [PATCH 10/10] Add zfcp scripts for SUSE Hannes Reinecke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52974E6A.70500@redhat.com \
--to=harald-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=hare-l3A5Bk7waGM@public.gmane.org \
--cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=trenn-l3A5Bk7waGM@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.