On Thu, Oct 30, 2014 at 01:18:24PM +0100, Jan Synáček wrote: > Hello, > > commit 539618a0ddc2dc7f0fbe28de2ae0e07b34c81e60 > Author: Lennart Poettering <lenn...@poettering.net> > Date: Wed Oct 29 17:06:32 2014 +0100 > > util: make use of the new getrandom() syscall if it is available when > needing entropy > > Doesn't require an fd, and could be a bit faster, so let's make use of > it, if it is available. > > Beginning from this commit, switch root takes about a minute on my machine. > > Excerpts from the journal: > Oct 30 13:08:37 fedora-rawhide-systemd-virt kernel: random: systemd urandom > read with 10 bits of entropy available > Oct 30 13:08:37 fedora-rawhide-systemd-virt systemd-journal[109]: Journal > started > Oct 30 13:08:37 fedora-rawhide-systemd-virt dracut-cmdline[105]: dracut-22 > (Rawhide) dracut-038-36.git20140815.fc22 > Oct 30 13:08:37 fedora-rawhide-systemd-virt dracut-cmdline[105]: Using kernel > command line parameters: > Oct 30 13:08:37 fedora-rawhide-systemd-virt systemd-udevd[158]: starting > version 216 > ^^^^ > This line is pretty weird too, this commit is after v217 had been tagged. >
Not that weird, it just means you didn't update your initrd after updating to 217. > ... > Oct 30 13:08:38 fedora-rawhide-systemd-virt systemd[1]: Switching root. > Oct 30 13:08:38 fedora-rawhide-systemd-virt systemd-journal[109]: Journal > stopped > ^^^^ > Hangs here for a while with no output. > vvvv > Oct 30 13:09:44 fedora-rawhide-systemd-virt systemd-journal[279]: Runtime > journal is using 8.0M (max allowed 100.0M, trying to leave 150.1M free of > 992.7M available → current limit 100.0M). > Oct 30 13:09:44 fedora-rawhide-systemd-virt systemd-journal[279]: Runtime > journal is using 8.0M (max allowed 100.0M, trying to leave 150.1M free of > 992.7M available → current limit 100.0M). > Oct 30 13:09:44 fedora-rawhide-systemd-virt systemd-journald[109]: Received > SIGTERM from PID 1 (systemd). > <snip a lot of selinux related stuff> > Oct 30 13:09:44 fedora-rawhide-systemd-virt kernel: random: nonblocking pool > is initialized > > Is anyone else running into this? Probably fixed by: http://cgit.freedesktop.org/systemd/systemd/commit/?id=74a550c5d8228 d _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel