mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-20 09:22:17 +00:00
db07a23349
The %post of xCAT-probe created /opt/xcat/probe/subcmds/bin, so the directory belonged to no package and carried usr_t from its parent rather than the bin_t the policy gives /opt/.*/bin. It was the only path under /opt/xcat that restorecon reported as pending, on every management node. %install now creates the directory, so rpm owns it and labels it from the policy at install, as the Debian package already does through debian/dirs. The %post keeps removing the obsolete switchprobe file it finds there. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>