B1;4002;0cOn Wed, 17.06.15 23:45, cee1 (fykc...@gmail.com) wrote: > 2015-06-17 23:15 GMT+08:00 Lennart Poettering <lenn...@poettering.net>: > >> That don't mean blocking boot, but a service, let's say > >> systemd-random-seed.service: > >> 1. systemd-random-seed.service loads a seed from disk to /dev/urandom > >> 2. systemd-random-seed.service tells systemd "I'm ready" (sd_notify()) > >> 3. Instead of quitting immediately, systemd-random-seed.service tries > >> to read /dev/random, and it blocks ... > >> 4. systemd-random-seed.service at last gets a 'good random number', > >> and saves it on disk > > > > i'd be willing to take a patch for such a change. > > The type of this systemd-random-seed.service should be "notify", right?
yes, if sd_notify("READY=1") is used then the type should be "notify". Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel