Skip to content
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

really fix running kernel config check #3859

Merged
merged 2 commits into from
Dec 31, 2020
Merged

really fix running kernel config check #3859

merged 2 commits into from
Dec 31, 2020

Conversation

glitsj16
Copy link
Collaborator

Our archiver-common.inc includes disable-shell.inc, breaking running kernel config check with zcat or zgrep.

archiver-common.inc includes `disable-shell.inc`, breaking
$ zcat /proc/config.gz
Cannot start application: Permission denied
archiver-common.inc includes `disable-shell.inc`, breaking
$ zgrep -c "CONFIG_USER_NS=y" /proc/config.gz
Cannot start application: Permission denied
@glitsj16 glitsj16 merged commit a83e36d into netblue30:master Dec 31, 2020
@glitsj16 glitsj16 deleted the fixes branch December 31, 2020 21:58
@@ -8,6 +8,8 @@ include zcat.local
#include globals.local

# Allow running kernel config check
noblacklist ${PATH}/bash
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it looks like that assumes that bash is the shell used with /bin/sh. shouldn't also other shells be allowed? because Debian uses dash as default shell for /bin/sh.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I forgot about Debian using dash. To cover all setups it's better to ignore including disable-shell.inc IMO. Thanks for catching this! A fix is waiting for the checks to finish.

@glitsj16 glitsj16 mentioned this pull request Jan 1, 2021
glitsj16 added a commit that referenced this pull request Jan 1, 2021
* fix #3859

* fix #3859

* fix #3859
@matu3ba matu3ba mentioned this pull request Oct 7, 2021
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