Leo Famulari skribis: > On Wed, Dec 20, 2017 at 11:19:36AM +0100, Ludovic Courtès wrote: >> There’s a ‘user-processes’ service that serves a similar purpose. >> >> With the attached patches ‘urandom-seed’ becomes a dependency of >> ‘user-processes’, meaning that daemons & co. start after >> ‘urandom-seed’. >> >> WDYT? > > In general, I think it's a good approach. > > Currently, the urandom-seed-service seems to non-deterministically but > typically start after the udev-service, so that /dev/hwrng is always set > up by udev before the urandom-seed-service tries to use it. > > With these patches, that's not the case. This breaks the hwrng seeding > feature added in 9a56cf2b5b (services: urandom-seed: Try using a HWRNG > to seed the Linux CRNG at boot). > > I'll try rearranging the service dependency graph. The attached patch does the trick, AFAICS: