-
Notifications
You must be signed in to change notification settings - Fork 588
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
modif: stop hiding blacklisted files in /etc by default and add a new etc-no-blacklisted option #5591
modif: stop hiding blacklisted files in /etc by default and add a new etc-no-blacklisted option #5591
Conversation
76e2829
to
2204185
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Nice to get these fixes in 0.9.72 (I hope)!
Thanks @glitsj16 Unfortunately I think I will need to update the pull request one more time, also to fix the failing test, sorry for that! Converting to draft ... |
2204185
to
ceb877b
Compare
ceb877b
to
f754fd9
Compare
The fix is straightforward - @smitsohu, let's do like this: I'll grab it as is and fix whatever is to fix in "make test", and you check in directly whatever else you need to modify. Then, I'll release it, quite simple! |
@netblue30 I think it should be ok the way it is now. Maybe I rearrange it at a later timepoint, after the release is out. |
To avoid boolean confusion (`no-foo no` / `no-foo yes`) in firejail.config: etc-no-blacklisted no etc-no-blacklisted yes Commands used to search and replace: git grep -Ilz -i 'etc.no.blacklisted' -- etc src | xargs -0 -I '{}' sh -c "printf '%s\n' \"\$(sed \ -e 's/etc-no-blacklisted/etc-hide-blacklisted/' \ -e 's/ETC_NO_BLACKLISTED/ETC_HIDE_BLACKLISTED/' \ '{}')\" >'{}'" Added on commit ded5020 ("opt-in: skip blacklisted files in private-etc - netblue30#5010, netblue30#5230", 2023-01-15) / PR netblue30#5591.
To make it clearer. Added on commit ded5020 ("opt-in: skip blacklisted files in private-etc - netblue30#5010, netblue30#5230", 2023-01-15) / PR netblue30#5591.
Let users know that enabling this may break /etc/resolv.conf. Added on commit ded5020 ("opt-in: skip blacklisted files in private-etc - netblue30#5010, netblue30#5230", 2023-01-15) / PR netblue30#5591.
Related commit: ba9c969 ("Removing blacklisted files from top level /etc For future reference, the default behavior on 0.9.68 and 0.9.70 (due to the |
Closes #5010
Closes #5230