-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add Ubuntu 24.04 to the CI matrix. * Add an apparmor profile for Ubuntu >=24 that enables unprivileged user namespace creation in the non-setuid starter. * Add a placeholder apparmor profile for Ubuntu <24 that just marks the non-setuid starter as unconfined. Avoids version-dependent use of dh_apparmor. * Strip -D_FORTIFY_SOURCE=3 from CPPFLAGS in squashfuse build, if present (Ubuntu 24.04). This prevents a clash with the -D_FORTIFY_SOURCE=2 that we set explicitly. Squashfuse build already needs some hardening disabled. We should revisit in depth in future.
- Loading branch information
Showing
9 changed files
with
47 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
abi <abi/4.0>, | ||
include <tunables/global> | ||
|
||
profile singularity-ce /usr/lib/@{multiarch}/singularity/bin/starter flags=(unconfined) { | ||
# Site-specific additions and overrides. See local/README for details. | ||
include if exists <local/singularity-ce> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Permit unprivileged user namespace creation for SingularityCE starter | ||
abi <abi/4.0>, | ||
include <tunables/global> | ||
|
||
profile singularity-ce /usr/lib/@{multiarch}/singularity/bin/starter flags=(unconfined) { | ||
userns, | ||
|
||
# Site-specific additions and overrides. See local/README for details. | ||
include if exists <local/singularity-ce> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ Uploaders: | |
Build-Depends: | ||
autoconf, | ||
cryptsetup, | ||
dh-apparmor, | ||
git, | ||
libfuse-dev, | ||
libglib2.0-dev, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters