Systemd port on custom embedded linux

Cristian Axenie cristian.axenie at gmail.com
Wed Sep 8 07:25:43 PDT 2010


I've managed to add the cgroupfs support and the systems doesn't complain
when mounting any filesystem. Due to the fact that I have disabled selinux
and auditing support I get the following messages :

[   18.770000] Freeing init memory: 152K
[   19.430000] systemd[1]: systemd 8 running in system mode. (+PAM +LIBWRAP
-AUDIT -SELINUX)
[   19.470000] systemd[1]: /sbin/modprobe failed with error code 1.
[   19.480000] systemd[1]: No hostname configured.
[   19.490000] systemd[1]: Set hostname to <localhost>.
[   19.500000] systemd[1]: Netlink failure for request 2: Operation not
supported
[   19.520000] systemd[1]: Failed to configure loopback device: Operation
not supported
[   19.550000] systemd[1]: Failed to create private D-Bus server: Operating
system does not support abstract socket namespace
[   19.570000] systemd[1]: Failed to allocate manager object: Input/output
error
[   19.590000] systemd-cgroups-agent[672]: Failed to get D-Bus connection:
Operating system does not support abstract socket namespace

It seems that I have stripped to much of the functionality required for
systemd to work when trying to make it lightweight.  Should I reconsider
some aspects ? Can you point the vital elements ?

Best !

On Wed, Sep 8, 2010 at 4:41 PM, Kay Sievers <kay.sievers at vrfy.org> wrote:

> On Wed, Sep 8, 2010 at 15:39, Cristian Axenie <cristian.axenie at gmail.com>
> wrote:
> > I've managed to rebuild my kernel with the CONFIG_DEVTMPFS activated and
> now
> > the problem doesn't reproduces anymore. Now it seems that /sys/fs/cgroup
> > cannot be mounted. Any other known issues or other kernel config options
> to
> > be activated ?
>
> You need this patch:
>
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=patch;h=676db4af043014e852f67ba0349dae0071bd11f3
> or a brand new kernel that has it.
>
> Kay
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20100908/aedf4741/attachment.html>


More information about the systemd-devel mailing list