Skip to content

Commit 0caa52c

Browse files
committed
Document the set_linux function
1 parent da0f818 commit 0caa52c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

rust/agama-manager/src/actions.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,13 @@ impl SetConfigAction {
359359
Ok(())
360360
}
361361

362+
// Enables/Disables SELinux in the installed system.
363+
//
364+
// If the "selinux" pattern is selected, set the "security=selinux" boot
365+
// kernel parameter.
366+
//
367+
// NOTE: this logic should live in another place, like "agama-security".
368+
// It is temporarily here to fix bsc#1259890.
362369
async fn set_selinux(&self) -> Result<(), service::Error> {
363370
let selinux_selected = self
364371
.software

0 commit comments

Comments
 (0)