Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

ubuntu apt-get update failed with aufs storage driver #399

Closed
Crazykev opened this issue Jul 28, 2016 · 2 comments
Closed

ubuntu apt-get update failed with aufs storage driver #399

Crazykev opened this issue Jul 28, 2016 · 2 comments

Comments

@Crazykev
Copy link
Contributor

With aufs storage driver enabled, when execute apt-get update in a ubuntu image container, will get a error. Like this

Ign http://mirrors.aliyun.com trusty InRelease
Hit http://mirrors.aliyun.com trusty-updates InRelease
Get:1 http://mirrors.aliyun.com trusty-backports InRelease [65.9 kB]
E: Unable to determine file size for fd 7 - fstat (2: No such file or directory)

It seems a 9pfs problem, post just in case someone meet the same problem.
An easy workaround is not use aufs storage driver when using ubuntu image.

@bergwolf
Copy link
Member

bergwolf commented Jul 28, 2016

Looks like hyperhq/hyperstart#74

Are you using a guest kernel with https://github.com/hyperhq/hyperstart/blob/master/build/kernel_patch/0001-HACK-9P-always-use-cached-inode-to-fill-in-v9fs_vfs_.patch ?

An easy way to verify is to run the test program mentioned in hyperhq/hyperstart#74 (comment) inside your ubuntu container.

@Crazykev
Copy link
Contributor Author

Crazykev commented Jul 28, 2016

@bergwolf yep, seems this patch has fixed it. It's the same problem.

@Crazykev Crazykev closed this as completed Sep 9, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants