rpm-software-management / mock

Mock is a tool for a reproducible build of RPM packages.
GNU General Public License v2.0
382 stars 231 forks source link

Revisit the unshare(CLONE_NEWNS) use #317

Open praiskup opened 5 years ago

praiskup commented 5 years ago

See #234 and --make-rprivate discussion, even though it didn't mention the real reason why it was added (explained in #315).

We should better take care of all the mount points, because actually it doesn't seem to be useful to call unshare() on shared mounts (bacuse it has no effect; no isolation). Basically I think that we should:

But first, we should have proper test coverage:

QuLogic commented 5 years ago

Could changing of how these mount points are handled fix https://bugzilla.redhat.com/show_bug.cgi?id=1750000 ?