I think this problem boils down to core incompatibility between UIDs and
GIDs on the core snap (and all the other snaps) and the classic (host)
filesystem. Without an active remapping layer I don't see a way to solve
the issue.

I'm not aware of any kernel features that would allow us to do this but
perhaps I am mistaken. Perhaps some combination of ID namespaces and
something else would be sufficient to address this.

One way to look at this is NFS share problem, the idmap is a core
feature that allows various hosts to access files in a consistent way.
Whatever makes NFS work might be used to make core snap work.

** Changed in: snapd (Ubuntu)
       Status: New => Triaged

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

Title:
  getpwuid is failing on classic image

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to