File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 161161
162162 script = ''
163163 ${ lib . getExe cfg . package } -u
164- files=(/run/resolvconf ${ lib . escapeShellArgs cfg . subscriberFiles } )
165- chgrp -R resolvconf "'' ${files[@]}"
166- chmod -R g=u "'' ${files[@]}"
164+ chgrp resolvconf ${ lib . escapeShellArgs cfg . subscriberFiles }
165+ chmod g=u ${ lib . escapeShellArgs cfg . subscriberFiles }
166+ ${ lib . getExe' pkgs . acl "setfacl" } -R \
167+ -m group:resolvconf:rwx \
168+ -m default:group:resolvconf:rwx \
169+ /run/resolvconf
167170 '' ;
168171 } ;
169172
Original file line number Diff line number Diff line change 249249 ExecReload = "${ dhcpcd } /sbin/dhcpcd --rebind" ;
250250 Restart = "always" ;
251251 AmbientCapabilities = [ "CAP_NET_ADMIN" "CAP_NET_RAW" "CAP_NET_BIND_SERVICE" ] ;
252- ReadWritePaths = [ "/proc/sys/net/ipv6" ]
252+ ReadWritePaths = [ "/proc/sys/net/ipv4" "/proc/sys/net/ ipv6" ]
253253 ++ lib . optionals useResolvConf ( [ "/run/resolvconf" ] ++ config . networking . resolvconf . subscriberFiles ) ;
254254 DeviceAllow = "" ;
255255 LockPersonality = true ;
You can’t perform that action at this time.
0 commit comments