Re: systemd doesn't see ttyPS0 devices from udev

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mi, 23.09.20 18:25, Michael Olbrich (m.olbrich@xxxxxxxxxxxxxx) 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
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux