[Pkg-utopia-maintainers] Bug#562811: further fudging stages may only confuse things

Mark Hedges hedges at scriptdolphin.com
Tue Feb 9 01:54:04 UTC 2010


On Tue, 9 Feb 2010, Michael Biebl wrote:
>
> So, we really have two separate issues here, thus I cloned
> the bug to handle them separately:
>
> 1.) network-manager does not support pre-up/pre-down
> scripts

Right, see https://bugzilla.gnome.org/show_bug.cgi?id=387832

> 2.) the current 01ifupdown script incorrectly maps the NM
> "down" event to the ifupdown pre-down PHASE (running
> scripts in if-down.d). It should map the "down" event to
> PHASE=post-down" and run the script in if-post-down.d

Sorry, I think that is incorrect.  The current 01ifupdown
script is fine.

The problem is all in NM, which dispatches "down" after the
interface is down.

However, I would guess it is still more useful for most
packages to run if-down.d scripts instead of if-post-down.d,
if only one of them is going to run.  To me it seems like
"up" and "down" have some sort of primacy over "pre-up" and
"post-down."

It's difficult to tell.  I would suggest keeping status quo
until upstream is fixed to run all four stages at the proper
times.

Mark






More information about the Pkg-utopia-maintainers mailing list