Richard W.M. Jones
2014-May-05 14:55 UTC
[Libguestfs] [PATCH] customize: random-seed file has moved again.
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? *) "/var/lib/urandom/random-seed"; (* Debian *) "/var/lib/misc/random-seed"; (* SuSE *) ] in -- 1.9.0
Pino Toscano
2014-May-05 15:00 UTC
Re: [Libguestfs] [PATCH] customize: random-seed file has moved again.
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 *) > ] inACK. -- Pino Toscano