On Tue, May 14, 2013 at 9:12 AM, Daniel P. Berrange
<berrange(a)redhat.com>wrote:
> On Tue, May 14, 2013 at 09:06:36AM -0500, Dennis Jenkins wrote:
> > The log is large to place inline in an email (32K), so I posted it (no
> > expiration) to pastebin. But below are the juicy bits. If you want the
> > entire log in the email, I will resend it.
> >
> >
http://pastebin.com/nXcNQukz
>
> Hmm, so from the logs I'm fairly certain the missing path is the
> /.oldroot//var/run/libvirt/lxc/dwj-lnx-dev.devpts one, not /dev/pts
>
> Can you tell me if any part of '/var/run/libvirt/lxc/' is a symlink
> to elsewhere ? In particular is '/var/run' a symlink, and if so
> is it relative or absolute ?
>
>
No symlinks under "/var/run/libvirt", but "/var/run" is a symlink to
"/run".
ostara ~ # file /var/run
/var/run: symbolic link to `/run'
Ok, that'll be the problem. When libvirt prepends /.oldroot onto
the path, the symlink keeps pointing to /run instead of to
/.oldroot/run :-(
On Fedora "/var/run" is a relative symlink to "../run" to avoid
these kinds of problem.
As a quick workaround you can make your symlink relative too.
I'll get a fix into the next libvirt release to deal with
absolute symlinks better.
Daniel
--
|: