Skip to content

write proper /etc/selinux/config, according to expected format#162

Merged
jreidinger merged 1 commit into
yast:masterfrom
rfrohl:master
Feb 6, 2026
Merged

write proper /etc/selinux/config, according to expected format#162
jreidinger merged 1 commit into
yast:masterfrom
rfrohl:master

Conversation

@rfrohl

@rfrohl rfrohl commented Feb 5, 2026

Copy link
Copy Markdown
Contributor

Proper format should not carry additional spaces and should look like

$ cat /etc/selinux/config
SELINUX=disabled

Problem

The config file format that is generated will not be parsed by the selinux toolchain

Solution

Removes unnecessary whitespaces.

Testing

  • Tested manually

Screenshots

If the fix affects the UI attach some screenshots here.

Thu Feb 5 13:18:03 UTC 2026 - Robert Frohl <rfrohl@suse.com>

- write proper /etc/selinux/config according to expected format
(bsc#1257752)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please also bump version like other changes. This ensure that after merge it will be send to factory. ( change itself looks good )

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so increase version in spec and add entry to changelog with mentioned number for easier tracking what is in which version.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please let me know if the change is sufficient or if more changes are needed.

Proper format should not carry additional spaces and should look like
$ cat /etc/selinux/config
SELINUX=disabled
@jreidinger jreidinger merged commit 28fe565 into yast:master Feb 6, 2026
@jreidinger

Copy link
Copy Markdown
Member

merged, thanks for patch

@github-actions

github-actions Bot commented Feb 6, 2026

Copy link
Copy Markdown

❌ Autosubmission job #21749415738 failed

@jreidinger jreidinger mentioned this pull request Feb 6, 2026
@github-actions

Copy link
Copy Markdown

❌ Autosubmission job #21749415738 failed

@jreidinger

Copy link
Copy Markdown
Member

it should be finally auto submitted due to some issues with OBS:

#163 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants