-
Notifications
You must be signed in to change notification settings - Fork 203
Add haveged to image-builder's rootfs. #326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/etc/systemd/system/haveged.service |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[Unit] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Newer version of the haveged package provide their own unit file. You might consider borrowing the file from buster, or at least some of its settings. https://salsa.debian.org/debian/haveged/blob/buster/debian/haveged.service We should upgrade the VM image to buster one of these days... There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. buster upgrade is coming... d56b94b There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Will update There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Updated, only difference between the service files now is I inlined the args to the daemon instead of maintaining a separate env file (just seems simpler for us) and left out |
||
Description=Entropy Daemon based on the HAVEGE algorithm | ||
Documentation=man:haveged(8) http://www.issihosts.com/haveged/ | ||
DefaultDependencies=no | ||
ConditionVirtualization=!container | ||
After=local-fs.target | ||
Before=firecracker.target sysinit.target shutdown.target | ||
|
||
[Service] | ||
ExecStart=/usr/sbin/haveged --Foreground --verbose=1 -w 1024 | ||
SuccessExitStatus=143 | ||
SecureBits=noroot-locked | ||
NoNewPrivileges=yes | ||
CapabilityBoundingSet=CAP_SYS_ADMIN | ||
PrivateTmp=yes | ||
PrivateDevices=yes | ||
PrivateNetwork=yes | ||
ProtectSystem=full | ||
ProtectHome=yes | ||
|
||
[Install] | ||
WantedBy=default.target |
Uh oh!
There was an error while loading. Please reload this page.