Package: netctl Version: 1.24-1.1 Tags: patch Hi,
the [email protected] does not work at all. The first issue is that it refers to /usr/bin/ifplugd, but it's installed as /usr/sbin/ifplugd on Debian. Next, the target action /etc/ifplugd/netctl.action does not exist as it was moved by debian/rules. Likely, it should be updated to /etc/ifplugd/ifplugd.action. I'm attaching a patch for your convenience. Helmut
diff -Nru netctl-1.24/debian/changelog netctl-1.24/debian/changelog --- netctl-1.24/debian/changelog 2022-10-15 12:26:07.000000000 +0200 +++ netctl-1.24/debian/changelog 2022-10-19 17:03:16.000000000 +0200 @@ -1,3 +1,12 @@ +netctl (1.24-1.2) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix ifplugd integration: (Closes: #-1) + + Debian's ifplugd is installed to /usr/sbin. + + After moving netctl.action, adapt path passed to ifplugd. + + -- Helmut Grohne <[email protected]> Wed, 19 Oct 2022 17:03:16 +0200 + netctl (1.24-1.1) unstable; urgency=medium * Non-maintainer upload. diff -Nru netctl-1.24/debian/rules netctl-1.24/debian/rules --- netctl-1.24/debian/rules 2021-01-04 17:09:51.000000000 +0100 +++ netctl-1.24/debian/rules 2022-10-19 17:03:16.000000000 +0200 @@ -14,5 +14,9 @@ mv debian/netctl/etc/netctl/examples debian/netctl/usr/share/netctl/ mkdir debian/netctl/etc/ifplugd/action.d/ mv debian/netctl/etc/ifplugd/netctl.action debian/netctl/etc/ifplugd/action.d/netctl + sed -i \ + -e 's,/etc/ifplugd/netctl\.action,/etc/ifplugd/ifplugd.action,' \ + -e 's,/usr/bin/ifplugd,/usr/sbin/ifplugd,' \ + debian/netctl/lib/systemd/system/[email protected] mv debian/netctl/usr/lib/netctl/connections/README debian/netctl/usr/share/netctl/README.connections mv debian/netctl/usr/lib/netctl/dhcp/README debian/netctl/usr/share/netctl/README.dhcp

