While there may be arguments for synthesizing UUIDs in various fs
drivers, or creating them in the first place in fs-creation tools, I
agree that if overlayfs has a hard dependency on UUIDs for uniquely
identifying layers, it needs to fill in the gaps where the previous
tools/drivers failed to provide.

So, yeah, I think Colin's on the right track here with making overlayfs
itself fix its own use-case, which will cover any future filesystem/tool
that otherwise fails to UUID itself.

My only review of the above is that you might want to mix a monotonic or
random seed in with your superblock when generating your fake UUIDs, in
case someone does something like stacking multiple empties on top of
each other, or some other madness where you effectively have the same
superblock more than once at the RO level, but need to identify them as
different.

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

Title:
  remount of multilower moved pivoted-root overlayfs root, results in
  I/O errors on some modified files

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

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

Reply via email to