Skip to main content

config_has_transient_submounts

Function config_has_transient_submounts 

Source
pub fn config_has_transient_submounts(path: &Path) -> bool
Expand description

Returns true if the configuration at path requests a transient /etc overlay. Used by the systemd generator to decide whether to emit the SELinux relabel unit before those mounts exist (the generator runs before local-fs.target).

Returns false if the file is absent or unreadable (safe default: no unit emitted for non-transient systems).