07.01.2017 14:11, Michael Hirmke пишет:
Hi Andrei,
[...]
I tried to put things like that into the NetworkManager dispatcher scripts in /etc/NetworkManager/dispatcher.d, but even here sometimes it is too late, because NM stops the interfaces faster than my dispatcher scripts finished.
According to documentation
pre-down The interface will be deactivated but has not yet been disconnected from the network. Scripts acting on this event must be placed or symlinked into the /etc/NetworkManager/dispatcher.d/pre-down.d directory, and NetworkManager will wait for script execution to complete before disconnecting the interface from its network.
So where is your script located? If NM does not wait for it to finish it sounds like a bug.
The scripts are located in the correct sub directories. With NM < 1.2.2.x they were not executed at all. With the newer versions they are executed, but if they take too long, NM already starts shutting down the interface. If I remember correctly, this was not seen as a bug, but as intended behaviour.
Documentation states that NM waits for completion. Do you have pointers to discussion? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org