diff options
author | Simon Rettberg | 2018-10-05 16:35:34 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-10-05 16:35:34 +0200 |
commit | ba88f472f19a78319c93c2fb70fc90b5f919727a (patch) | |
tree | 4a8c1676e9c8bb38462efe12357b4e2cbb696a1c /core/rootfs | |
parent | [haveged] New module; used in stage31 to fill random pool (diff) | |
download | mltk-ba88f472f19a78319c93c2fb70fc90b5f919727a.tar.gz mltk-ba88f472f19a78319c93c2fb70fc90b5f919727a.tar.xz mltk-ba88f472f19a78319c93c2fb70fc90b5f919727a.zip |
[rfs-stage31] Write haveged pidfile to /tmp
haveged by default tries to write its pid file to /var/run, which wo
don't have, so instead of complaining or just starting up without pid
file, it would die. We don't want it to die. It should die on
switchroot.
Diffstat (limited to 'core/rootfs')
-rwxr-xr-x | core/rootfs/rootfs-stage31/data/init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/rootfs/rootfs-stage31/data/init b/core/rootfs/rootfs-stage31/data/init index 34c4c416..90c469f8 100755 --- a/core/rootfs/rootfs-stage31/data/init +++ b/core/rootfs/rootfs-stage31/data/init @@ -34,7 +34,7 @@ busybox mount -n -t devtmpfs -o 'rw,relatime,nosuid,noexec,mode=0755' initramfsd busybox mount -n -t tmpfs -o 'mode=755,size=10m' run "/run" busybox mount -n -t tmpfs -o 'mode=755,size=50m' temp "/tmp" -haveged +haveged --pidfile /tmp/haveged.pid # Tries to put it in /var/run by default, which doesn't exist so it just dies without any error message :-/ # IMPORTANT - check if kernel modules in initrams match kernel version BASEDIR="/lib/modules/$(uname -r)/kernel/drivers" |