Looking at a test VM the problematic files seem to be present in the
read-only base but then have been at some point deleted. So when the
rename/move is attempted there are whiteout softlinks present in the
overlay.

E.g.:
/media/root-ro/var/lib/cloud/data/status.json
/media/root-rw/overlay/var/lib/cloud/data/status.json -> (overlayfs-whiteout)

#> cd /var/lib/cloud/data
#> touch tmpfile
#> mv tmpfile status.json
mv: cannot move 'tmpfile' to 'status.json': Stale file handle

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1618572

Title:
  apt-key add fails in overlayfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1618572/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to