SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I wonder if it would make sense to have somewhere early in the initialization scripts a call to something like /etc/rc.d/rc.random? /etc/rc.d/rc.random would be a user supplied script to enhance the availability of entropy.
This script would have to be called after the modules are loaded (e.g. TPM driver), but before any services requiring randomness are started (sshd? httpd?).
Maybe it would be worth putting in initrd?
I'm not too proficient in this matter, so I cannot say much.
I was recently bitten by the lack of entropy (libvirt: libvirtd often takes ~45 seconds to start) and have added the following in rc.S, after "random-seed" stuff:
Code:
# Start rngd if available:
if [ -x /etc/rc.d/rc.rngd ]; then
/etc/rc.d/rc.rngd start
fi
/etc/rc.d/rc.rngd starts rngd from rng-tools and I'm using TPM as RNG.
I'm asking for a global change, because this might be an addition that might benefit broader audience.
Even those, who don't know it yet.
--
Best regards,
Andrzej Telszewski
Last edited by atelszewski; 02-05-2017 at 09:48 AM.
My request is more about at what point in the boot process the tool is called, rather what tool to use.
I can't really discuss this further, since I don't have enough knowledge.
And it's not the place to discuss which tool is better ;-)
The entropy pool is initialised at the end of rc.S from the carry over from the last shutdown (/etc/random-seed), so perhaps the start of rc.M would be the correct place for calling a rc.random/rc.rngd.
Doesn't seem like a bad idea, and it's not going to hurt anyone who doesn't install one
Could busybox in mkinitrd package be compiled with Btrfs support ?
Right now it's not possible to boot with initrd, if root is on btrfs, because findfs doesn't find any btrfs filesystems.
Also rootflags from kernel cmdline should be passed to mount options.
Something like this patch.
There is also problem with setup, btrfs is not detected if it's created on device without partitions and
it can't be installed to subvolume, if it's not default, but that's probably advanced usage.
It would be nice, if setup would have switch that will just install in mounted /mnt, it seems it was supported long time ago (-target_mounted).
This release won't make the headlines but fixes a bug introduced in sed-4.3: "sed could segfault when invoked with specific combination of newlines in the input and regex pattern." Also documentation updates. Upgrading doesn't seem urgent, but hopefully won't hurt.
Some using alpine and other distros were able of getting sed to segfault while configuring...sed. I was not able to reproduce it with slackware though.
First of all , THANKS! for this update on current (10 february)
I see ffmpeg package NO HAVE ffplay , some video editors want this executable to video preview , for make ffplay only need ADD sdl2 library and recompile ffmpeg to obtain ffplay executable.
Is possible add SDL2 , and rebuild ffmpeg ?
ffmpeg slackbuild no need modifications,sdl2 is autodetected.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.