← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 663069] Re: "non-accessable symlink" errors when using aufs-shaddowed read-only root filesystem

 

I'm still seeing this on 12.04, but not on 13.04. Reproducible as
follows:

me@laptop ~/temp $ mkdir ro rw aufs
me@laptop ~/temp $ touch ro/dummy
me@laptop ~/temp $ sudo mount -t aufs -o dirs=rw:ro=ro none aufs
[sudo] password for me: 
me@laptop ~/temp $ ls aufs/
dummy
me@laptop ~/temp $ rm aufs/dummy 
rm: cannot remove `aufs/dummy': Operation not permitted
me@laptop ~/temp $ 

On 13.04 I don't get the error message and the file is 'deleted' (i.e, a
whiteout file is correctly created). Looks like the bug fix hasn't been
ported to the LTS release, but probably needs doing so.

-- 
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to a duplicate bug report (729338).
https://bugs.launchpad.net/bugs/663069

Title:
  "non-accessable symlink" errors when using aufs-shaddowed read-only
  root filesystem

Status in “linux” package in Ubuntu:
  Fix Released

Bug description:
  When I updated my pxeboot/nfs system to 10.10, several applets failed to load, and the log files contained the following messages:
  Oct 19 22:25:58 computer08 kernel: [   66.326808] non-accessible hardlink creation was attempted by: gconfd-2 (fsuid 1000)
  Oct 19 22:26:05 computer08 kernel: [   73.491138] non-accessible hardlink creation was attempted by: gconfd-2 (fsuid 114)
  Oct 19 22:26:05 computer08 kernel: [   73.580608] non-accessible hardlink creation was attempted by: gdm-session-wor (fsuid 1000)
  Oct 19 22:26:09 computer08 kernel: [   77.545565] non-accessible hardlink creation was attempted by: indicator-apple (fsuid 1000)
  Oct 19 22:26:09 computer08 kernel: [   77.670861] non-accessible hardlink creation was attempted by: indicator-apple (fsuid 1000)

  Setting kernel.yama.protected_nonaccess_hardlinks=0 allows everything
  to work.

  The read-only root is configured according to the instructions at
  http://www.logicsupply.com/blog/2009/01/27/how-to-build-a-read-only-
  linux-system . It uses a initramfs script to create a tmpfs, move /,
  and mount the aufs union filesystem on / early in the boot process.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/663069/+subscriptions