NetworkManager-Ddispatcher preup / predown



Hi.

I know about several discussions about pre-up and pre-down in the past.
Dan, I understand your position and I can follow your arguments against.
But I see a number of usecases where I dont have any idea instead of doing
it with pre-up / pre-down scripts in nm-dispatcher. I know every script in
these phases is a potential risk for nm functionality. From nm site you
have no chance to control those scripts and it might be that users will
come up with problem reports that are based on their own scripts.

For example. We need to find solutions for these problems:
1. unmount cifs shares before a connection becomes disconnected
2. stop any other active connection when a user select another one (maybe
this can also be done in down event) to make sure the system is single
homed
3. disconnect from the active vpn before the underlaying connection
becomes disconnected
4. start replication of the mail client before really disconnecting

Maybe I'm off the track looking fixed to pre-up / pre-down as solution for
these problems. If so please point me onto the right way.

Regards, Hans-Gerd


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]