We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7442ee commit cedb114Copy full SHA for cedb114
1 file changed
cfe_internal/enterprise/federation/federation.cf
@@ -294,9 +294,13 @@ bundle agent clean_when_off
294
methods:
295
"rm_rf_cftransport_home_dir" usebundle => default:rm_rf("$(home)");
296
297
+ classes:
298
+ selinux_enabled.default:_stdlib_path_exists_semanage::
299
+ "has_cftransport_fcontext" expression => returnszero("$(paths.semanage) fcontext -l | grep $(home)", "useshell");
300
+
301
commands:
302
# _stdlib_path_exists_<command> and paths.<command> are defined is masterfiles/lib/paths.cf
- selinux_enabled.default:_stdlib_path_exists_semanage::
303
+ selinux_enabled.default:_stdlib_path_exists_semanage.has_cftransport_fcontext::
304
"$(paths.semanage) fcontext -d '$(home)/.ssh(/.*)?'";
305
306
}
0 commit comments