[systemd-devel] Problems with setting up systemd

Lennart Poettering lennart at poettering.net
Fri May 20 03:31:38 PDT 2011


On Fri, 20.05.11 11:03, Maciej Piechotka (uzytkownik2 at gmail.com) wrote:

> Hello. I tried to set up systemd on Gentoo and I've run into several
> problems:
> 
> 1. I have custom init in which I initialise lvm by:
> 
> /bin/lvm vgchange -ay <my_vg>
> 
> In /etc/fstab I have devices mentioned by UUID. During boot systemd
> complains that fsck.ext2 cannot find /dev/<my_vg>/root. If I use dracut
> it works but running dracut takes as long as my whole boot with OpenRC
> so I would prefer to not migrate 

You need to ensure to place this service file after udev-settle.service
> 
> 2. systemd have problems when I have clock in UTC. I use laptop and due
> to relatively frequent change of TZ I use UTC clock. I don't have
> problems with OpenRC but on systemd the 'last mount is in the future'
> each time I boot.

systemctl enable hwclock-load.service

> 3. systemd appears to work very slow. After displaying output of fsck it
> waits some time (roughly whole previous boot by OpenRC) and display
> option to emergency drop to shell or continue to default. I haven't
> configured systemd services (which was my error) but I guess it should
> not take so long. Is it possible to turn on verbose mode to check what's
> wrong?

If the LVM device above doesn't show up systemd will have to timeout for
90s.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list