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

Re: how to fully replace another package



On Tue, 2005-08-23 at 19:15 +0200, Marco d'Itri wrote:
> Think "hotplug events loop".

So, a hotplug event could load and run code (which happen to be in conf
files, and therefore cannot be diverted) in the old hotplug package.
The problem you're facing, it seems, is that while code should be
divertable, conf files aren't, but hotplug doesn't separate these out,
so the usual mechanisms don't work.  Am I on the right track?

Of course, init files are code and conf files, but they have a built-in
mechanism for preventing them from running, which is to look for the
binary the init file runs, and if it isn't there, don't do anything.  It
seems you don't have any such protection built into the hotplug
conffiles-that-are-also-executables, or else you wouldn't be in this
mess.

Ben



Reply to: