Control: tag -1 + moreinfo

23.07.2014 01:11, Bastian Blank wrote:
> Package: qemu-system-x86
> Version: 2.0.0+dfsg-6+b1
> Severity: important
> 
> The local 9p support supports readdir.  It does not translate the value
> of d_type, so the guest always sees a regular file, even in a lstat call
> describes it correctly as symlink.

I'm not sure what do you mean by "translate".  It passes d_type from host.
And it works in guest as is.  Including ldconfig and other stuff.  In
particular, d_type is 8 for regular files in guest, 10 for symlinks and
4 for directories.

> Responsible for reading the info on the host is
> hw/9pfs/virtio-9p-local.c#local_readdir_r.  It could just return
> DT_UNKNOWN in either of the mapped cases.
> 
> This completely breaks ldconfig for example, so it is not usable to run
> a real system.

ldconfig works here just fine here.

Thanks,

/mjt


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to