[systemd-devel] [PATCH] build: lookup for the "mount" binary
Tom Gundersen
teg at jklm.no
Wed Oct 30 20:01:08 CET 2013
On Wed, Oct 30, 2013 at 7:51 PM, Cristian Rodríguez
<crrodriguez at opensuse.org> wrote:
> El 30/10/13 15:39, Dave Reisner escribió:
>
>> I think Tom meant that /bin would be a symlink to /usr/bin, which
>> implicitly links /bin/mount to /usr/bin/mount.
>
> In openSUSE, /bin is not a symlink to /usr/bin, only executables in that
> directory might be, "mount" is one of them.
>
>>> It is either this patch or I should send a patch to dracut instead :-)
>>
>> If Dracut doesn't create the above symlink, it really needs to. Or, it
>> needs to install mount in the "right" place. I'm curious why you'd be
>> the first person to report such a failure.
>
> Probably because we are just integrating dracut into openSUSE releases
> as the default initrd generator and I am trying to tackle some
> low-hanging fruit now ;-)
In this case, it probably makes sense to install all your binaries in
your initrd to /usr/bin/ and point /usr/sbin, /bin and /sbin all to
/usr/bin. Even if you don't do that in your real root. That should
hopefully remove most of the headaches.
Cheers,
Tom
More information about the systemd-devel
mailing list