Skip to content

Commit 0e17b00

Browse files
committed
write proper /etc/selinux/config, according to expected format
Proper format should not carry additional spaces and should look like $ cat /etc/selinux/config SELINUX=disabled
1 parent 2e29bcc commit 0e17b00

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

package/yast2-security.changes

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
-------------------------------------------------------------------
2+
Thu Feb 5 13:18:03 UTC 2026 - Robert Frohl <rfrohl@suse.com>
3+
4+
- write proper /etc/selinux/config according to expected format
5+
(bsc#1257752)
6+
17
-------------------------------------------------------------------
28
Wed Apr 9 08:12:01 UTC 2025 - Josef Reidinger <jreidinger@suse.com>
39

src/lib/cfa/selinux.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def save
8686
#
8787
# @note uses the simplevars lens instead of semanage because the latest is only available from
8888
# augeas-lenses >= 1.12. See https://github.com/hercules-team/augeas/pull/594/files
89-
LENS = "simplevars.lns".freeze
89+
LENS = "shellvars.lns".freeze
9090
private_constant :LENS
9191
end
9292
end

0 commit comments

Comments
 (0)