This bug was fixed in the package ubuntu-fan - 0.12.10 --------------- ubuntu-fan (0.12.10) bionic; urgency=medium
* fan-net: support systemd-networkd controlled interfaces (LP: #1718227) * fanctl: Fix net stop internal command (LP: #1744296) * fan-net: Harden networkctl usage (LP: #1718227) * ifupdown/ubuntu-fan: Test for missing fanctl (LP: #1742712) -- Stefan Bader <[email protected]> Fri, 16 Mar 2018 11:47:46 +0100 ** Changed in: ubuntu-fan (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to ubuntu-fan in Ubuntu. https://bugs.launchpad.net/bugs/1742712 Title: package removal leave scripts that fail lacking the binaries Status in ubuntu-fan package in Ubuntu: Fix Released Bug description: Today I saw on IRC this reported: raub@desktop:~$ sudo ifdown --force br0 && sudo brctl delbr br0 /etc/network/if-down.d/ubuntu-fan: 29: /etc/network/if-down.d/ubuntu-fan: /usr/sbin/fanctl: not found run-parts: /etc/network/if-down.d/ubuntu-fan exited with return code 127 bridge br0 doesn't exist; can't delete it I checked what that could be and found an interesting case. When ubuntu-fan is installed all is fine, we have a hook /etc/network/if-down.d/ubuntu-fan and a binary /usr/sbin/fanctl But if a user removed the package, then we get into trouble. The hook is in /etc and therefore by default considered to be a conffile. Therefore we only have the hook left which fails by: /usr/sbin/fanctl: not found To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-fan/+bug/1742712/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp

