[pacman-dev] [RFC] Move pacman configuration to /usr/lib/pacman

Thomas Bächler thomas at archlinux.org
Thu Mar 21 05:14:14 EDT 2013


Am 21.03.2013 08:04, schrieb Daniel Wallace:
> After watching Allan's talk at SINFO, I remembered one big thing, when
> he mentioned certain projects moving away of shipping configuration
> files and preinstalling them directly to /etc and instead install the
> defaults to /usr/ and overriding them in a similar fashion to how
> systemd does it.

This makes sense for hooks for example, but not for the main
configuration file.

Look more closely at the systemd example: It has units in
/usr/lib/systemd/{system,user} and they are overridable in /etc.
However, the system.conf, login.conf, ... files are _only_ in
/etc/systemd/ and nowhere in /usr/lib/.

> So I asked about this in #archlinux-pacman and this bug report was
> pointed out to me [1].
> 
> Here are 2 ideas, tell me what you think.
> 
> 1)
> 	Move everything to /usr/lib/pacman/
> 			/usr/lib/pacman/gnupg/

Actually, the gnupg folder should go to /var/lib/pacman/gnupg/ (and
should always have been there).

> 			/usr/lib/pacman/hooks/ (for later)
> 			/usr/lib/pacman/repos.d


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/pacman-dev/attachments/20130321/2ee38822/attachment-0001.asc>


More information about the pacman-dev mailing list