[Pkg-utopia-maintainers] Bug#908340: Bug#908340: pre-up/pre-down actions supported

Michael Biebl biebl at debian.org
Sat Sep 8 20:58:49 BST 2018


Am 08.09.18 um 19:05 schrieb Laurent Bigonville:
> Package: network-manager
> Version: 1.12.2-3
> Severity: normal
> File: /etc/NetworkManager/dispatcher.d/01-ifupdown
> 
> Hi,
> 
> In the /etc/NetworkManager/dispatcher.d/01-ifupdown file there is a
> comment that states that the pre-up is not implemented.
> 
> But looking at the linked bugreport it seems that this is implemented
> since 2009.
> 
> Shouldn't the code be uncommented?
> 

It's still sort of correct.
pre-up/pre-down actions can not be triggered directly by scripts in
/etc/NetworkManager/dispatcher.d/.

Such actions can be triggered though by placing (or symlinking) a script in
/etc/NetworkManager/dispatcher.d/pre-up.d/ or
/etc/NetworkManager/dispatcher.d/pre-down.d/

See man 8 NetworkManager

I think upstream still considers those pre actions problematic which is
why you need to jump through that extra hoop and which is why no such
symlinks are created in pre-up.d/ and pre-down.d/

The comment could indeed be updated though.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-utopia-maintainers/attachments/20180908/dac499be/attachment.sig>


More information about the Pkg-utopia-maintainers mailing list