[systemd-devel] systemd fails to boot OLPC XO-1.5

Kay Sievers kay.sievers at vrfy.org
Sat May 7 15:30:52 PDT 2011


On Sun, May 8, 2011 at 00:26, Daniel Drake <dsd at laptop.org> wrote:
> On 7 May 2011 21:49, Gustavo Sverzut Barbieri <barbieri at profusion.mobi> wrote:
>> maybe need CONFIG_DEVTMPFS_MOUNT=y  as well? But yeah, take a look
>> from top->bottom in the log, don't bother investigating the last
>> messages if there are errors before them.
>
> CONFIG_DEVTMPFS_MOUNT is only for non-initramfs boot. I enabled it
> anyway, no change.
>
> I made all of the changes you suggested, still having problems.
>
> The autofs error is because systemd tries to mount
> /sys/kernel/security but that directory doesn't exist. It looks like
> the unit file tries to be conditional based on the existence of the
> directory, but it doesn't seem to be working.
> I was unable to disable it with "systemctl disable" so I resorted to
> removing the sys-kernel-security.automount and
> sys-kernel-security.mount files. Error gone.
>
> I think the /etc/mtab error is wrong; even after making the change you
> suggested, it complains in the same way. I'm assuming thats a
> non-critical error anyway.
>
> Now my first error is:
> [   10.572508] <29>systemd[1]: systemd-kmsg-syslogd.service: main
> process exited, code=exited, status=218
> [   10.594245] <29>systemd[1]: Unit systemd-kmsg-syslogd.service
> entered failed state.
>
> Any hints how to debug that?

You need capabilities in your kernel, or comment its use out, in the
service file.

Kay


More information about the systemd-devel mailing list