dhcpcd: fix more permissions errors#351225
Conversation
|
Do we need to worry about ACLs being available on the filesystem? I only see one existing call to |
I think that every fs under the sun has them in 2024. That said, if we wanted to be really careful, I could use |
I think if it can be done robustly with basic permissions, there's an argument for using them: ease of inspection with Using it on |
If `resolvconf` is invoked by a process not running with the resolvconf group as primary group, other processes will run into trouble as files or directories under /run/resolvconf won't have write permissions. This ACL rule ensure that resolvconf files, include new files created by any process, are always accessible by users of the resolvconf group.
If dhcpcd receives a secondary IPv4 address from the DHCP server it tries to enable automatic promotion from secondary to primary by writing `1` to /proc/sys/net/ipv4/conf/%s/promote_secondaries.
b953f6d to
483e446
Compare
|
Done. |
Fixes for a couple more issues reported in #336988.
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truedhcpcd.testsnixosTests.simplenixosTests.networking.scriptednixosTests.networking.networkdAdd a 👍 reaction to pull requests you find important.