Skip to content

Commit bfffc09

Browse files
committed
Simplified allowing unprivileged user namespaces
1 parent 309368b commit bfffc09

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/checks.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,11 @@ jobs:
114114
115115
- name: Allow unprivileged user namespaces
116116
run: |
117-
echo content of /etc/sysctl.d/:
118-
ls -l /etc/sysctl.d/
119-
OPTION="kernel.apparmor_restrict_unprivileged_userns = 0"
120-
FILE="/etc/sysctl.d/99-apparmor.conf"
121-
sudo bash -c "echo '${OPTION}' >> ${FILE}"
122-
sudo sysctl --system
117+
# OPTION="kernel.apparmor_restrict_unprivileged_userns = 0"
118+
# FILE="/etc/sysctl.d/99-apparmor.conf"
119+
# sudo bash -c "echo '${OPTION}' >> ${FILE}"
120+
# sudo sysctl --system
121+
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
123122
124123
- name: Setup Python & Poetry Environment
125124
uses: exasol/python-toolbox/.github/actions/[email protected]

0 commit comments

Comments
 (0)