we have been doing various test runs ... adding
rng_core.default_quality=700 to teh commandline on pi and dragonboard
gives a much greater entropy on boot:

$ cat /proc/sys/kernel/random/entropy_avail 
958

but the user.creation step in console-conf still hangs for 3min doing
the device key generation. this is a 4096bit rsa key ...

for comparison trying to run something like:
ssh-keygen -N "" -b 4096 -t rsa -f foo.key

does finish in abouit 30sec

so the suspicion is that rsa.GenerateKey() from go has some issues with arm 
here ... 
the respective code in snapd is at:

https://github.com/snapcore/snapd/blob/master/overlord/devicestate/handlers.go#L88

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1638537

Title:
  snapd eats 100% CPU for about 5 minutes on first boot causing a load
  of >2.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1638537/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to