<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Dear Lennart,<br>
<br>
thanks for the tips.<br>
<br>
The distro is buildroot, that compiles systemd with "
-Ddefault-hierarchy=unified ".<br>
Should I consider that the named kernel has incomplete cgroupsv2
support ?<br>
(How can I check that ?).<br>
<br>
I would need to cleanup the log before pasting it in a mail, but
what I can see<br>
is that some services start (NetworkManager), other not (sshd),
without being able <br>
to guess what makes them to fail or not.<br>
<br>
I will obviously try to recompile with "-Ddefault-hierarchy=hybrid"
today to check<br>
if that makes a change.<br>
<br>
Best regards<br>
Thierry<br>
<br>
<br>
<div class="moz-cite-prefix">Le 01/02/2024 à 22:27, Lennart
Poettering a écrit :<br>
</div>
<blockquote type="cite" cite="mid:ZbwMt0hrW1abhK41@gardel-login">
<pre class="moz-quote-pre" wrap="">On Do, 01.02.24 16:30, Thierry Bultel (<a class="moz-txt-link-abbreviated" href="mailto:thierry.bultel@linatsea.fr">thierry.bultel@linatsea.fr</a>) wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">Hi,
I am using systemd v255,
and currently using a kernel vendor branch :
<a class="moz-txt-link-abbreviated" href="mailto:git@github.com:varigit/linux-imx.git">git@github.com:varigit/linux-imx.git</a>
lf-5.15.y_var01
imx_v7_defconfig
I had no issue with the older 5.4 kernel.
I have verified that the kernel has the following options:
CONFIG_DEVTMPFS=y
CONFIG_CGROUPS=y
CONFIG_INOTIFY_USER=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EPOLL=y
CONFIG_UNIX=y
CONFIG_SYSFS=y
CONFIG_PROC_FS=y
CONFIG_FHANDLE=y
CONFIG_NET_NS=y
CONFIG_SYSFS_DEPRECATED is not set
CONFIG_AUTOFS_FS=y
CONFIG_AUTOFS4_FS=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_TMPFS_XATTR=y
--->
systemd is failing to start some units:
systemd[1]: wpa_supplicant.service: Failed to create cgroup
/system.slice/wpa_supplicant.service: No such file or directory
and also;
(agetty)[217]: <a class="moz-txt-link-abbreviated" href="mailto:serial-getty@ttymxc0.service">serial-getty@ttymxc0.service</a>: Failed to attach to cgroup
/system.slice/system-serial\<a class="moz-txt-link-abbreviated" href="mailto:x2dgetty.slice/serial-getty@ttymxc0.service">x2dgetty.slice/serial-getty@ttymxc0.service</a>: No
medium found
... and I do not have a serial console.
I am currently digging into systemd code to find out what is possibly wrong
.. but if anyone gets a clue, I would appreciate !
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
Educated guess, you have no cgroupvs2 or so?
Would make sense to provide logs?, use strace to check what precisely
fails?
Ask you distro for help?
Lennart
--
Lennart Poettering, Berlin
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Re: test</title>
<br>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<a href="www.linatsea.fr" moz-do-not-send="true"><img
moz-do-not-send="false"
src="cid:part1.ptRjWSQl.EhAnHRMF@linatsea.fr"
alt="www.linatsea.fr" title="Linatsea" class="" width="64"
height="84" border="0"></a><br>
<div class="moz-signature">-- <br>
</div>
<div class="moz-signature"> <a class="moz-txt-link-abbreviated"
href="http://www.linatsea.fr" moz-do-not-send="true">www.linatsea.fr</a></div>
</div>
</body>
</html>