#11941: systemd-243
-------------------------+-----------------------
 Reporter:  renodr       |       Owner:  renodr
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  9.1
Component:  BOOK         |     Version:  SVN
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+-----------------------

Comment (by xry111):

 Replying to [comment:18 renodr]:
 > 'systemctl enable systemd-random-seed.service' should do the trick I
 think. Should probably run this in LFS too

 It's enabled with `systemctl preset-all`.

 The problem is: though it will load the random seed, but the seed is
 considered unreliable because it may be in an OS image used by multiple
 systems.  If a distribution can guarantee that there is no saved seed in
 its OS image, `SYSTEMD_RANDOM_SEED_CREDIT=1` can be used to tell systemd
 `/var/lib/systemd/random-seed` is reliable and can provide entropy.

 We can use:

 {{{
 install -vdm755 /lib/systemd/system/systemd-random-seed.service.d &&
 cat > /lib/systemd/system/systemd-random-seed.service.d/credit.conf << EOF
 [Service]
 Environment='SYSTEMD_RANDOM_SEED_CREDIT=1'
 EOF
 }}}

--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/11941#comment:19>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to