Problem:
When installing Katello with SELinux enabled, restorecon -Rnv
wants to relabel a lot of (presumably all) pulp artifacts, e.g.:
Would relabel /var/lib/pulp/media/artifact/1c/40cb34de3bdd67fd0ab13794addf8a3ea52d7212026a18b5484275aab4370c from system_u:object_r:pulpcore_server_var_lib_t:s0 to system_u:object_r:pulpcore_var_lib_t:s0
Would relabel /var/lib/pulp/media/artifact/1c/b589911d02b03a25d0edc66f13b8f7744a2a7a69767a436a137704cb0e1e99 from system_u:object_r:pulpcore_server_var_lib_t:s0 to system_u:object_r:pulpcore_var_lib_t:s0
Would relabel /var/lib/pulp/media/artifact/95/d32f1f9af09ce6fedaaaecc81e93ca2c0b8dea30a8dd5f0606ff81763ed984 from system_u:object_r:pulpcore_server_var_lib_t:s0 to system_u:object_r:pulpcore_var_lib_t:s0
Would relabel /var/lib/pulp/media/artifact/95/340ec05d7690fb2aa83beeca3579f8b429e37092e0aab84671b796698dafb0 from system_u:object_r:pulpcore_server_var_lib_t:s0 to system_u:object_r:pulpcore_var_lib_t:s0
Would relabel /var/lib/pulp/media/artifact/ef/76c3a2fbcf389254efdb1249e73c9763192c2edb5835b6144886c1b4f30c93 from system_u:object_r:pulpcore_server_var_lib_t:s0 to system_u:object_r:pulpcore_var_lib_t:s0
...
The question is if this is indicative of a packaging issue with pulpcore-selinux, or if this is harmless/by design?
I know very little about selinux, so I am not even sure the question makes sense. We have previously asked around the Foreman discourse, but did not get much traction there: Restorecon would relabel a lot of files - Support - TheForeman
Pulpcore version:
As installed via RPM for Katello, e.g.: pulpcore 3.39