[Yum-devel] [PATCH] Yum plugins
Menno Smits
menno-yum at freshfoo.com
Sat Mar 19 09:06:39 UTC 2005
Michael Stenner wrote:
>>One question: does it really make sense to put python modules in /etc?
>>They're not config files.
>
>
> Yeah, that's a tough call. I don't really like the idea of mucking
> around directly in /usr/{lib|share} or the like, either. I prefer to
> let my rpms handle that. Perhaps something in /usr/local/ or /opt/ is
> better? I don't know. I know they're not really config, but they're
> KINDA config... they're customizing the way yum works in a way that's
> just a bit more general than the config file allows. I realize that's
> getting a bit abstract :)
> If we make the path, customizable, then it doesn't really matter too
> much what we make the default :) Personally, I'd put it in /etc
> because that's the first thing I tar up when I reinstall a system!
I see non-site-specific yum plugins being distributed via RPMs (eg.
yum-plugin-protectbase). In this case we want a standard directory like
/usr/lib/yum-plugins for these RPMs to install into.
Having a standard plugin directory along with the ability to specify
extra plugin directories via a config file and/or command line will keep
everyone happy.
Menno
More information about the Yum-devel
mailing list