When netifrc 0.7.7 and distcc are installed concurrently, netifrc is unable to start network interfaces. It seems to be calling distcc's /usr/bin/pump during the start phase, with the `--route-metric` parameter. Distcc doesn't recognize this parameter and fails, causing netifrc to fail to start the interface: # rc-service net.eth0 restart * Caching service dependencies ... [ ok ] * Bringing down interface eth0 * start-stop-daemon: no matching processes found * Stopping udhcpc on eth0 ... [ ok ] * Bringing up interface eth0 * dhcp ... * Running pump ... __________Using distcc-pump from /usr/bin distcc[1680] (dcc_get_top_dir) Warning: HOME is not set; can't find distcc directory distcc[1680] (dcc_get_top_dir) Warning: HOME is not set; can't find distcc directory __________Using 1 distcc server in pump mode /usr/bin/pump: 552: --route-metric: not found __________Shutting down distcc-pump include server [ !! ] * ERROR: net.eth0 failed to start Rolling back to netifrc 0.7.5 or uninstalling distcc solves the problem. Adding 'modules="!pump"' to /etc/conf.d/net.<interface> also solves the problem more permanently. I thought I should report this anyway in case it is unwanted behavior, or if anyone else faces that error. Reproducible: Always Steps to Reproduce: 1. emerge net-misc/netifrc-0.7.7 and sys-devel/distcc 2. rc-service net.eth0 restart
Forgot to mention: this only happens with dhcp; using a static address does not trigger this error
May have been caused by https://github.com/gentoo/netifrc/commit/75b7229ffa861c8472abe64733a657409b5d929d#diff-81a84bc06fbe81a8c5922a8fee33a39ca6a006bd82266a41b2c117b0c8fea1ccL7
Looks like this is to support the now-removed net-misc/pump (bug 694314). Since it's gone from tree, I think we should just delete support for it from netifrc.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/netifrc.git/commit/?id=7b1c09f80b94f01f670c8d487df361b3ddfebe0c commit 7b1c09f80b94f01f670c8d487df361b3ddfebe0c Author: Matoro Mahri <matoro_gentoo@matoro.tk> AuthorDate: 2024-01-07 07:16:30 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-01-07 09:42:35 +0000 Remove support for treecleaned net-misc/pump Bug: https://bugs.gentoo.org/694314 Closes: https://bugs.gentoo.org/921538 Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk> Closes: https://github.com/gentoo/netifrc/pull/51 Signed-off-by: Sam James <sam@gentoo.org> doc/net.example.Linux.in | 7 ++---- net/Makefile | 2 +- net/dhclient.sh | 2 +- net/dhcpcd.sh | 2 +- net/pump.sh | 63 ------------------------------------------------ 5 files changed, 5 insertions(+), 71 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae91de64d73dcba407c178a53252d2b547ee40c8 commit ae91de64d73dcba407c178a53252d2b547ee40c8 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-01-07 09:44:40 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-01-07 09:44:49 +0000 net-misc/netifrc: add 0.7.8 Bug: https://bugs.gentoo.org/844178 Bug: https://bugs.gentoo.org/921538 Signed-off-by: Sam James <sam@gentoo.org> net-misc/netifrc/Manifest | 1 + net-misc/netifrc/netifrc-0.7.8.ebuild | 91 +++++++++++++++++++++++++++++++++++ 2 files changed, 92 insertions(+)