[Libguestfs] [PATCH] customize: random-seed file has moved again.

Pino Toscano ptoscano at redhat.com
Mon May 5 15:00:55 UTC 2014


On Monday 05 May 2014 15:55:16 Richard W.M. Jones wrote:
> Thanks, systemd.
> ---
>  customize/random_seed.ml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/customize/random_seed.ml b/customize/random_seed.ml
> index 84236cd..8eedc1e 100644
> --- a/customize/random_seed.ml
> +++ b/customize/random_seed.ml
> @@ -27,6 +27,7 @@ let rec set_random_seed (g : Guestfs.guestfs) root =
> if typ = "linux" then (
>      let files = [
>        "/var/lib/random-seed";         (* Fedora *)
> +      "/var/lib/systemd/random-seed"; (* Fedora after F20? *)

It is in this path even in my F20 (and might help also in other distros 
using systemd).

>        "/var/lib/urandom/random-seed"; (* Debian *)
>        "/var/lib/misc/random-seed";    (* SuSE *)
>      ] in

ACK.

-- 
Pino Toscano




More information about the Libguestfs mailing list