Welcome to the Pacman bug tracker. Please search the current bugs and feature requests before filing a new one! Use advanced search and select "Search in Comments".

* Please select the correct category and version.
* Write a descriptive summary, background info, and provide a reproducible test case whenever possible.

FS#17690 - [pacman] Move the pacman.conf file into the /etc/pacman.d directory

Attached to Project: Pacman
Opened by acecero (acecero) - Sunday, 03 January 2010, 03:57 GMT
Last edited by Allan McRae (Allan) - Sunday, 03 January 2010, 04:13 GMT
Task Type Support Request
Category Packages: Core
Status Unconfirmed
Assigned To Dan McGee (toofishes)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 7
Private No


Description: Since pacman has two configuration files located in /etc/pacman.conf and /etc/pacman.d/mirrorlist, have the pacman.conf file moved to the /etc/pacman.d directory for central pacman configuration.
This task depends upon

Comment by Dan Griffiths (Ghost1227) - Sunday, 03 January 2010, 04:03 GMT
Hmm... should probably have been opened in the Pacman category, however this is an interesting point...
Comment by Dan McGee (toofishes) - Sunday, 03 January 2010, 04:35 GMT
Given the original layout of this, I'd be minus one on this. Or at least calling it pacman.d/, as that makes no sense anymore- it should be /etc/pacman/{pacman.conf,mirrorlist,etc.} if anything. *.d/ directories are meant to be include directories, which is what that obviously was but with the intro of the $repo variable it is no longer necessary for Arch.

However, do we really see the need to do this and limit ourselves? Does it matter? Allan, Xavier?
Comment by Allan McRae (Allan) - Monday, 04 January 2010, 01:37 GMT
I'm not sure.... thinking about potential future configuration files for hooks (in /etc/pacman.d/hooks.conf /etc/pacman.d/hooks/* ???), I would just leave it as it is.
Comment by Pablo Lezaeta (Jristz) - Thursday, 31 October 2013, 11:42 GMT
actually pacman have /etc/pacman.d/gnupg and mirrorlist in that dirs too
I support this for concistency so a user know that all they conf are located in the same directory
Comment by Pedro José Piquero Plaza (gowikel) - Saturday, 25 January 2014, 11:47 GMT
I think that its a good idea too
Comment by Pablo Lezaeta (Jristz) - Sunday, 03 January 2016, 04:59 GMT
Is there any problem with add this or is something preventing doing this?
or just "no patch provided" thing?
Comment by Allan McRae (Allan) - Sunday, 03 January 2016, 08:09 GMT
There is zero gain from doing this.