[Libguestfs] [PATCH] appliance: Disable ipv6 in the appliance because qemu usernet is ipv4 only

Richard W.M. Jones rjones at redhat.com
Fri Jan 24 12:40:39 UTC 2014


On Fri, Jan 24, 2014 at 10:26:22AM +0000, Richard W.M. Jones wrote:
> On Thu, Jan 23, 2014 at 11:46:33PM +0100, Olaf Hering wrote:
> > On Thu, Jan 23, Olaf Hering wrote:
> > 
> > > +++ b/appliance/init
> > >  # Update the system clock.
> > >  hwclock -u -s
> > 
> > Why is that needed? Just wondering...
> 
> I suspect it's not needed at all.

Actually I looked into this, and it is needed.  We added it to fix a
bug, which was to do with files being created with the wrong dates &
times.

On the other hand it may not be necessary now.  I tried commenting it
out and doing various tests, and the dates of files seem correct (even
with TCG with is not using kvm-clock).

It doesn't seem to do any harm to keep it.  'time' indicates that it
takes 0.14 seconds to run (on my laptop, with KVM).

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW




More information about the Libguestfs mailing list