[systemd-devel] Problems with rootfs over nfs

Kay Sievers kay.sievers at vrfy.org
Mon May 16 05:18:32 PDT 2011


On Mon, May 16, 2011 at 14:14, Gustavo Sverzut Barbieri
<barbieri at profusion.mobi> wrote:
> On Mon, May 16, 2011 at 8:44 AM, Kay Sievers <kay.sievers at vrfy.org> wrote:
>> On Mon, May 16, 2011 at 13:39, Daniel Drake <dsd at laptop.org> wrote:
>>> On 15 May 2011 15:16, Kay Sievers <kay.sievers at vrfy.org> wrote:
>>>> Just a first quick check of an issue we ran into with ATA disks:
>>>> what's in /proc/sys/kernel/hotplug before you shut down? Or what's
>>>> CONFIG_UEVENT_HELPER in your kernel setup, it must be ="" on modern
>>>> systems, otherwise the kernel will they to exec() binaries all the
>>>> time and keep the system's rootfs busy.
>>>
>>> I'm also having trouble shutting down with systemd, and I have
>>> CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
>>> So I'll try this solution. Thanks.
>>>
>>> Just a quick question: is the same also true for Fedora 14
>>> (upstart-1.2, udev-161)? i.e. can and should that config option be
>>> cleared under that setup too? I guess so, given that /sbin/hotplug
>>> doesn't even exist.
>>
>> Yeah, /sbin/hotplug is ancient history or (broken) embedded-like
>> setups, it should always be disabled. In earlier udev/init setups we
>> used to do: echo > /proc/sys/kernel/hotplug, but we don't do it in
>> systemd setups, that's why it pops up now.
>
> Maybe state that in the README and even check during startup if such
> thing is set and warn the user?

It's in the README since ages. :)

Nah, we have no real business in checking the kernel config at
runtime. If people want to use /sbin/hotplug for whatever weird
reason, they should do it without udev complaining.

Kay


More information about the systemd-devel mailing list