-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build Fedora templates with SELinux enabled from the start #7988
Labels
C: Fedora
P: default
Priority: default. Default priority for new issues, to be replaced given sufficient information.
release notes
This issue should be mentioned in the release notes.
T: enhancement
Type: enhancement. A new feature that does not yet exist or improvement of existing functionality.
Milestone
Comments
marmarek
added
T: enhancement
Type: enhancement. A new feature that does not yet exist or improvement of existing functionality.
release notes
This issue should be mentioned in the release notes.
C: Fedora
P: default
Priority: default. Default priority for new issues, to be replaced given sufficient information.
labels
Jan 16, 2023
andrewdavidwong
changed the title
Built Fedora templates with SELinux enabled from start
Build Fedora templates with SELinux enabled from the start
Jan 16, 2023
marmarek
added a commit
to marmarek/qubes-builderv2
that referenced
this issue
Feb 11, 2023
Export a TEMPLATE_CONF variable with expected location for the template.conf. Builder plugin can create it dynamically in the 04_install_qubes.sh step. If it doesn't - old logic is used. QubesOS/qubes-issues#7988
marmarek
added a commit
to marmarek/qubes-linux-template-builder
that referenced
this issue
Feb 11, 2023
Export a TEMPLATE_CONF variable with expected location for the template.conf. Builder plugin can create it dynamically in the 04_install_qubes.sh step. If it doesn't - old logic is used. QubesOS/qubes-issues#7988
This was referenced Feb 11, 2023
Merged
marmarek
added a commit
to marmarek/qubes-builderv2
that referenced
this issue
Feb 11, 2023
Export a TEMPLATE_CONF variable with expected location for the template.conf. Builder plugin can create it dynamically in the 04_install_qubes.sh step. If it doesn't - old logic is used. QubesOS/qubes-issues#7988
marmarek
added a commit
to QubesOS/qubes-builder
that referenced
this issue
Feb 26, 2023
This is relevant for example with 'selinux' template option, but with default flavor: "fc37++selinux" should be parsed as "fc37" dist, empty flavor and "selinux" option. Previously it was parsed as "selinux" flavor, which doesn't exist. Use 'read -a' bash builtin instead of string replace to construct array, without collapsing repeated delimiters. Related to QubesOS/qubes-issues#7988
marmarek
added a commit
to QubesOS/qubes-builderv2
that referenced
this issue
Feb 26, 2023
marmarek
added a commit
to QubesOS/qubes-builder
that referenced
this issue
Feb 26, 2023
marmarek
added a commit
to QubesOS/qubes-release-configs
that referenced
this issue
Feb 26, 2023
All done and enabled in default builder config. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C: Fedora
P: default
Priority: default. Default priority for new issues, to be replaced given sufficient information.
release notes
This issue should be mentioned in the release notes.
T: enhancement
Type: enhancement. A new feature that does not yet exist or improvement of existing functionality.
How to file a helpful issue
The problem you're addressing (if any)
Currently Fedora templates have SELinux disabled, which diverges from upstream. SELinux support has been implemented as part of #4239 but it still needs to be installed manually (and then relabeling root fs takes significant amount of time).
The solution you'd like
Ship template with SELinux labels set, and SELinux enabled by default (with unconfined default user - same as upstream).
This requires:
The value to a user, and who that user might be
Template by default more consistent with upstream features. No need for slow relabeling when enabling SELinux manually.
The text was updated successfully, but these errors were encountered: