Hi, Quoting Johannes Schauer Marin Rodrigues (2026-06-09 11:50:30) > chown: invalid group: 'root:netdev' > can't chown /run/network ... (warning).
Maybe the above is part of the problem. The system did not have the netdev group because the ifupdown postinst script calls: if [ "$1" = configure ]; then addgroup --quiet --system netdev || true fi The addgroup call will fail with DPKG_ROOT but that failure will be silenced by the "|| true" part at the end and that's why I didn't notice that the group wasn't created. Running addgroup is incompatible with DPKG_ROOT and the solution is to switch to a different method of adding the netdev group. One solution is to switch to the sysusers approach and Luca Boccassi already filed a MR against src:ifupdown which implements this here: https://salsa.debian.org/debian/ifupdown/-/merge_requests/31 I have now thrown the ifupdown package into our dpkg-root-demo CI setup to make sure that it creates bit-by-bit identical output with DPKG_ROOT compared to without DPKG_ROOT. In addition to Luca's patch another small fix is needed to also create /etc/network/interfaces correctly: https://salsa.debian.org/debian/ifupdown/-/merge_requests/32 I now created the netdev group manually. Thanks! cheers, josch
signature.asc
Description: signature

