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?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to