Skip to content

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

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

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

Conversation

@rfrohl
Copy link
Contributor

@rfrohl rfrohl commented Feb 5, 2026

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
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
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
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
Member

merged, thanks for patch

@github-actions
Copy link

github-actions bot commented Feb 6, 2026

❌ Autosubmission job #21749415738 failed

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

❌ Autosubmission job #21749415738 failed

@jreidinger
Copy link
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