Markus Weich:
> Here is what I did with strace:
:::
> faccessat(AT_FDCWD, "d2/f1", W_OK) = 0
> unlinkat(AT_FDCWD, "d2/f1", 0) = -1 EPERM (Operation not permitted)
> ...
> Hence it is unlinkat.
Ok.
Reading git://kernel.ubuntu.com/ubuntu/ubuntu-precise.git,
unlinkeat(2) returns EPERM in these cases (other than aufs).
- name lookup
--> Since faccessat(2) succeeded just before unlinkat(2), it had to
succeed too.
- filesystem is not writable
--> not your case
- dir permission bits (writable, searchable), no special flags set
(append-only, sticky, immutable, swapfile)
--> not your case
- LSM checks
--> ??
Currently we should confirm the LSM settings on your system first.
How is your configuration? Could your check your LSM log file?
> root@it1-pc33:~# apt-cache show aufs-tools
:::
> Version: 1:3.0+20111101-1ubuntu1
> --> You said according to git it should print "aufs3.2 20120109". My
> installation is not older than 1 month, but i will do an upgrade and report.
I am afraid you are confusing the aufs user-space utilities and the aufs
kernel-space module. Note that aufs is a filesystem in kernel-space.
What we need to re-build is not the tools in user-space. It is the aufs
module in kernel-space. I hope you had ever build the kernel or module
in kernel-space.
> root@it1-pc33:~# uname -a
> Linux it1-pc33 3.2.0-45-generic-pae #70-Ubuntu SMP Wed May 29 20:31:05
> UTC 2013 i686 i686 i386 GNU/Linux
I can see the tag in ubuntu-precise.git.
$ git show Ubuntu-3.2.0-45.70
tag Ubuntu-3.2.0-45.70
Tagger: Steve Conklin <[email protected]>
Date: Wed May 29 09:19:22 2013 -0500
Ubuntu-3.2.0-45.70
:::
And latest commit shows
$ git show
commit b0333794e682bb7138171c687f98d603e6676c97
Author: Steve Conklin <[email protected]>
Date: Tue Jun 18 12:13:28 2013 -0500
UBUNTU: Ubuntu-3.2.0-49.75
:::
But I don't know whether the ubuntu update is important for the current
problem.
> I would be glad to help and apply a debug patch on my side.
> For that, I assume I have to download the sources (apt-get source
> aufs-tools), cd aufs-tools-3.0+20111101/, apply your patch (via
> patch??), compile (make && make install ???) and ??
> Then I mail you back some output.
Thanks, but is it ok for you if I send a patch in kernel-space?
J. R. Okajima
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk