dhcpcd: enable sandboxing options#208780
Conversation
9bc13c3 to
a594e3f
Compare
a594e3f to
f8b7eee
Compare
fpletz
left a comment
There was a problem hiding this comment.
This might break the setup of people using networking.dhcpcd.runHook. I don't think we should go ahead with this without at least an entry in the release notes and an option to disable hardening.
f8b7eee to
3c36fdc
Compare
3c36fdc to
467708b
Compare
Updated PR. |
467708b to
1201af8
Compare
|
Resolving conflicts. |
1201af8 to
740978b
Compare
|
Rebased PR. |
740978b to
22ab6e8
Compare
|
Resolved conflicts. |
9e46a1b to
b02af89
Compare
|
I am no longer using dhcpcd |
b02af89 to
af89055
Compare
af89055 to
7c60587
Compare
7c60587 to
611b1d5
Compare
|
Rebased PR. |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
|
From #208780 (review), slightly highlighted:
This is still missing said option, as well as a mention of it in the release notes. |
Doesn't this line disable sandbox mode? |
|
Ah, now I understand, you don't apply sandboxing at all if there's a hook present. |
|
I still hope we can get rid of scripted networking altogether, but today is not that day, so sure, let's add the sandboxing. Thanks for the PR! |
|
Thanks! |
|
FYI, this clashes with #336988 |
|
Sorry, I didn't know about the other PR :( |
Fix up the merge of the two dhcpcd hardening PRs (NixOS#336988 and NixOS#208780)
Description of changes
Enable sandboxing options.
Result:
cc @SuperSandro2000
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes