[libvirt] [sandbox 3/3] Create /dev/fd symlink to /proc/self/fd

Cedric Bosdonnat cbosdonnat at suse.com
Mon Aug 24 12:56:12 UTC 2015


On Mon, 2015-08-24 at 11:26 +0100, Daniel P. Berrange wrote:
> On Mon, Aug 24, 2015 at 12:17:06PM +0200, Cédric Bosdonnat wrote:
> > Some applications and scripts are using /dev/fd. Netconfig and
> > openSUSE network scripts are in such a case, getting the symlink makes
> > them work.
> > ---
> >  libvirt-sandbox/libvirt-sandbox-init-qemu.c | 6 ++++++
> >  1 file changed, 6 insertions(+)
> 
> ACK
> 
> but do we need this for LXC too ?

No, libvirt's lxc driver does it for us in lxcContainerSetupDevices.

--
Cedric




More information about the libvir-list mailing list