[systemd-devel] systemd doesn't see ttyPS0 devices from udev
Lennart Poettering
lennart at poettering.net
Thu Sep 24 07:37:47 UTC 2020
On Mi, 23.09.20 18:25, Michael Olbrich (m.olbrich at pengutronix.de) wrote:
> On Wed, Sep 23, 2020 at 04:58:57PM +0800, ZhouPeng wrote:
> > I find that boot with the 'rescue' option, then exit 'rescue' mode, then
> > I can login to the ttyPS0, as below
>
> You're using a custom kernel, right? Please check the README in the systemd
> source tree. Specifically the kernel config options.
>
> >From what I remember, what you describe happens when CONFIG_FHANDLE is
> disabled in the kernel.
Just to mention that, newer versions of systemd nowadays have various
alternatives in place they can use if name_to_handle_at()
(i.e. CONFIG_FHANDLE) is not available: /proc/self/fdinfo/xxx exposes
what we need too these days, as does statx(). But of course if you use
a really old kernel+systemd version you won't take benefit of
this. systemd 237 and kernel 4.18 with fedora 28 is ancient, of course.
Lennart
--
Lennart Poettering, Berlin
More information about the systemd-devel
mailing list