Am 17.06.2014 18:31, schrieb Dan Williams:
Separate directories were used for pre-up/pre-down because these events block state changes internally. NM will not advance a device from ACTIVATED -> DISCONNECTED (pre-down) or IP_CHECK -> SECONDARIES (pre-up) until all the scripts execute. Unfortunately, many scripts don't bother checking the action and just run stuff, and the goal was to ensure that couldn't adversely impact the user experience on upgrade.
I checked the complete Debian archive and there is only one package installing a dispatcher script which doesn't check for the $action parameter, so is potentially affected. Easy to fix. You were talking about many scripts doing it wrong? Do you have a list of such packages/scripts? I get where you're coming from, but there will always be ways for people to shoot themselves in the foot and I'd rather prefer consistency here then convenience for lazy script writers. Michael -- 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