Re: [RFC PATCH v2] fixfiles: correctly restore context of mountpoints

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/7/20 11:05 AM, Stephen Smalley wrote:

On 8/6/20 10:48 AM, bauen1 wrote:

By bind mounting every filesystem we want to relabel we can access all
files without anything hidden due to active mounts.

This comes at the cost of user experience, because setfiles only
displays the percentage if no path is given or the path is /

Signed-off-by: Jonathan Hettwer <j2468h@xxxxxxxxx>

This looks good to me and running fixfiles -vM relabel appeared to work as expected, and a subsequent fixfiles -v relabel didn't show any changes so it seems to yield a consistent result.  Would welcome comments from others though since fixfiles has always been somewhat magical / obscure to me and I am not much of a shell programmer.

Acked-by: Stephen Smalley <stephen.smalley.work@xxxxxxxxx>

Applied.





[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux