New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
overlayfs: missing upperdir or lowerdir or workdir Unable to mount directory #1
Comments
|
I don't want to jump to conclusions too fast, but this might be a kernel bug... And an upper and lowerdir are given... (I am also looking at https://lkml.org/lkml/2014/11/10/129 right now) (if installed, the binary is suid-root and drops privileges as soon as possible - so no need for an explicit sudo) |
|
Hi @ximion Sorry for my late reply, I have to look after my wife she is pregnant ;)
Yes, it exist!
I am sorry I have bad habit: I often prefer to run lipa, lipkgen and runapp under ./build/tools/subdirectory directly ;P Because I failed to
_the patch is for the kernel`s git_ it might be not suitable for 3.18.0-rc4 emm, I am reading the linux-3.18-rc4/Documentation/filesystems/overlayfs.txt So I simply added workdir=/root, it is a MONKEY patch ;P Finally it worked ;) But I need to be familiar with overlayfs by reading the doc and source code, thanks for your reply ;) Regards, |
|
Looks like workdir is sometimes needed and sometimes not - I still need to figure oit how to reproduce this issue, but in any case, adding a workdir for compatibility seems to be an appropriate fix... I'll come up with a fix which includes a workdir soon. |
This should close bug #1 Also improve the runapp code slightly.
|
Can you please pull Git master, recompile Limba again (ensure that it picks up the right headers accompanying your 3.18 kernel), and see if this issue is fixed? |
|
Hi @ximion This issue fixed ;) I tried this on a ArchLinux box, using the 3.18.0-rc kernel with the _overlayfs_ built-in Thanks for your great job ;) Regards, |
Hi Matthias,
I built the 3.18 for my ArchLinux box
There are installed in Limba /opt/software
Then I tried to runapp foobar-1.0:
It thrown overlayfs's error
So I just monkey patch the https://github.com/ximion/limba/blob/master/tools/runapp/runapp.c
I am not familiar with overlayfs right now, and I will read Kernel's Document about it, but perhaps someone please give me some advice, thanks a lot!
Regards,
Leslie Zhai
The text was updated successfully, but these errors were encountered: