Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/haveged: Allow service to run early
Date: Sat, 6 Jun 2020 21:33:10 +0200	[thread overview]
Message-ID: <20200606213310.606b44b6@windsurf> (raw)
In-Reply-To: <20200605225421.13494-1-nolange79@gmail.com>

Hello,

On Sat,  6 Jun 2020 00:54:21 +0200
Norbert Lange <nolange79@gmail.com> wrote:

> Drop default dependencies, haveged needs nothing but
> local sockets and /dev/random.
> This allows the entropy to be available earlier.
> 
> Signed-off-by: Norbert Lange <nolange79@gmail.com>

Thanks Norbert. I will need the review of those systemd person on this
patch. J?r?my ? Matt ?

>  package/haveged/haveged.service | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/package/haveged/haveged.service b/package/haveged/haveged.service
> index 91035c6711..ed9f043a91 100644
> --- a/package/haveged/haveged.service
> +++ b/package/haveged/haveged.service
> @@ -1,10 +1,13 @@
>  [Unit]
>  Description=Entropy Harvesting Daemon
>  Documentation=man:haveged(8)
> +DefaultDependencies=no
> +Conflicts=shutdown.target
> +Before=sysinit.target shutdown.target systemd-update-done.service
>  
>  [Service]
>  ExecStart=/usr/sbin/haveged -F -w 1024 -v 1
>  SuccessExitStatus=143
>  
>  [Install]
> -WantedBy=multi-user.target
> +WantedBy=sysinit.target



-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2020-06-06 19:33 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-05 22:54 [Buildroot] [PATCH] package/haveged: Allow service to run early Norbert Lange
2020-06-06 19:33 ` Thomas Petazzoni [this message]
2020-06-07 10:35 ` Jérémy ROSEN
2020-06-07 18:35   ` Norbert Lange
2020-06-07 19:05     ` Jérémy ROSEN
2020-06-07 19:18       ` Norbert Lange
2020-06-07 19:26         ` Jérémy ROSEN
2020-06-07 19:42           ` Norbert Lange
2020-06-07 19:47             ` Jérémy ROSEN
2020-06-07 19:59               ` Norbert Lange
2020-06-07 20:07                 ` Jérémy ROSEN
2020-06-07 20:14                   ` Norbert Lange
2020-06-07 20:19                     ` Jérémy ROSEN
2020-06-07 20:36                       ` Norbert Lange
2020-06-08  8:38                         ` Alexander Dahl
2020-06-08 14:14                           ` Jérémy ROSEN
2020-06-08 21:34                             ` Peter Seiderer
2020-06-08 22:50                               ` Jérémy ROSEN

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200606213310.606b44b6@windsurf \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox