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

Re: how to fully replace another package

On Aug 23, Ben Armstrong <synrg@sanctuary.nslug.ns.ca> wrote:

> 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.
The init file does, but /etc/hotplug.d/default/default.hotplug does not.


Attachment: signature.asc
Description: Digital signature

Reply to: