bug#37501: [core-updates] Entropy starvation during boot

2019-10-06 Thread Ludovic Courtès
Hello! Marius Bakke skribis: > Ludovic Courtès writes: [...] >> Bah, too bad, though it still doesn’t sound right to consume this much >> entropy right from the start. I’m surprised it doesn’t make any >> difference when you remove that bit. > > I guess generating 512 random bytes does not c

bug#37501: [core-updates] Entropy starvation during boot

2019-10-06 Thread Marius Bakke
Marius Bakke writes: > Ludovic Courtès writes: > >> Hi, >> >> Marius Bakke skribis: >> >>> I tried it, but it did not make any discernible difference in the >>> available entropy right after boot, nor did it aid the CRNG seeding. >> >> Bah, too bad, though it still doesn’t sound right to consum

bug#37501: [core-updates] Entropy starvation during boot

2019-10-06 Thread Marius Bakke
Ludovic Courtès writes: > Hi, > > Marius Bakke skribis: > >> I tried it, but it did not make any discernible difference in the >> available entropy right after boot, nor did it aid the CRNG seeding. > > Bah, too bad, though it still doesn’t sound right to consume this much > entropy right from t

bug#37501: [core-updates] Entropy starvation during boot

2019-10-05 Thread Ludovic Courtès
Hi, Marius Bakke skribis: > I tried it, but it did not make any discernible difference in the > available entropy right after boot, nor did it aid the CRNG seeding. Bah, too bad, though it still doesn’t sound right to consume this much entropy right from the start. I’m surprised it doesn’t mak

bug#37501: [core-updates] Entropy starvation during boot

2019-10-05 Thread Marius Bakke
Ludovic Courtès writes: > Ludovic Courtès skribis: > >> I read some of these, and our ‘urandom-seed-service-type’ has the same >> bug as . Namely, we >> write the previous seed to /dev/urandom but we don’t credit the >> entropy. > > Now that I thi

bug#37501: [core-updates] Entropy starvation during boot

2019-10-04 Thread Ludovic Courtès
Ludovic Courtès skribis: > I read some of these, and our ‘urandom-seed-service-type’ has the same > bug as . Namely, we > write the previous seed to /dev/urandom but we don’t credit the > entropy. Now that I think about it, ‘urandom-seed’ normally

bug#37501: [core-updates] Entropy starvation during boot

2019-10-04 Thread Ludovic Courtès
Ludovic Courtès skribis: > + (let ((bits (* 8 (stat:size (stat seed) > +(add-to-entropy-count urandom bits))) Oh we also need to do that below, when reading from /dev/hwrng: (when buf (call-with-outpu

bug#37501: [core-updates] Entropy starvation during boot

2019-10-04 Thread Ludovic Courtès
Hi Marius, Marius Bakke skribis: > Ludovic Courtès writes: [...] >> I read some of these, and our ‘urandom-seed-service-type’ has the same >> bug as . Namely, we >> write the previous seed to /dev/urandom but we don’t credit the >> entropy. >>

bug#37501: [core-updates] Entropy starvation during boot

2019-10-03 Thread Marius Bakke
Ludovic Courtès writes: > Hi again, > > Marius Bakke skribis: > >> After reconfiguring on the 'core-updates' branch, systems using the >> OpenSSH service will occasionally (not always!) hang forever during >> boot, waiting for entropy. Moving the mouse or mashing the keyboard >> allows the boot

bug#37501: [core-updates] Entropy starvation during boot

2019-10-02 Thread Ludovic Courtès
Hi again, Marius Bakke skribis: > After reconfiguring on the 'core-updates' branch, systems using the > OpenSSH service will occasionally (not always!) hang forever during > boot, waiting for entropy. Moving the mouse or mashing the keyboard > allows the boot to proceed. > > I don't think this

bug#37501: [core-updates] Entropy starvation during boot

2019-10-02 Thread Ludovic Courtès
Hello! Marius Bakke skribis: > After reconfiguring on the 'core-updates' branch, systems using the > OpenSSH service will occasionally (not always!) hang forever during > boot, waiting for entropy. Moving the mouse or mashing the keyboard > allows the boot to proceed. > > I don't think this is

bug#37501: [core-updates] Entropy starvation during boot

2019-09-24 Thread Marius Bakke
Hello, After reconfiguring on the 'core-updates' branch, systems using the OpenSSH service will occasionally (not always!) hang forever during boot, waiting for entropy. Moving the mouse or mashing the keyboard allows the boot to proceed. I don't think this is limited to OpenSSH, but anything th