[systemd-devel] No device unit created

jean-philippe francois jp.francois at cynove.com
Mon Sep 7 07:31:59 PDT 2015


2015-09-07 15:54 GMT+02:00 Richard Maw <richard.maw at codethink.co.uk>:
> On Mon, Sep 07, 2015 at 03:42:11PM +0200, jean-philippe francois wrote:
>> Hi,
>>
>> I have a problem I don't know how to debug.
>> The documentation for device units says :
>>
>> systemd will dynamically create device units for all kernel devices
>> that are marked with the "systemd" udev tag
>>
>> Howevever, while the device I am waiting for are given the systemd
>> tag, it seems no device unit is ever created.
>> This is on an embedded machine,
>
> First thing to check here is your kernel version and whether you have
> CONFIG_FHANDLE enabled in your kernel.
>
Kernel version is 3.10 serie
CONFIG_FHANDLE was not configured in.

Adding CONFIG_FHANDLE solves the problem.

Thank you for this quick and spot on answer.

Jean-Philippe

> Unfortunately FHANDLE is not enabled by default and systemd/udev require it.
>
> New enough kernels and systemd versions have fallback code when the system
> calls provided by FHANDLE are not available, but for a while there was a period
> where the common kernel configurations weren't sufficient for running systemd.


More information about the systemd-devel mailing list