Skip to content

Commit 83e4897

Browse files
authored
Merge pull request urfave#2 from YellowApple/patch-1
Add alternative kernel config troubleshooting check in README.md
2 parents 94f2298 + d20e600 commit 83e4897

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎README.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,10 @@ If you receive "permission denied" or similar errors:
198198
3. Check that Landlock is supported and enabled on your system:
199199
```bash
200200
grep -E 'landlock|lsm=' /boot/config-$(uname -r)
201+
# alternatively, if there are no /boot/config-* files
202+
zgrep -iE 'landlock|lsm=' /proc/config.gz
203+
# another alternate method
204+
grep -iE 'landlock|lsm=' /lib/modules/$(uname -r)/config
201205
```
202206
You should see `CONFIG_SECURITY_LANDLOCK=y` and `lsm=landlock,...` in the output
203207
4. For network restrictions, verify your kernel version is 6.8+ with Landlock ABI v5:

0 commit comments

Comments
 (0)