[PATCH] Install config files
Alfred M. Szmidt
ams@gnu.org
Mon Feb 24 07:47:00 GMT 2014
>>> I find it quite iffy when `make install' in any source tree starts
>>> touching anything in SYSCONFDIR...
>>
>> this is par for the course when it comes to packaging
>
> Precisely. For all the packages I handle in Arch Linux, glibc is
> really an outlier in terms of requiring its configuration files
> to be manually installed.
>
> Does anyone really do a "make install" onto the root of their
> system anyway?
If there really is an issue about installing in /etc, perhaps we
could have the relevant programs read config files from
/usr/lib/glibc/foo.conf and that being overridden by /etc/foo.conf
as seems to becoming more common these days.
Since those files are not architecture dependant, they should go in
DATAROOTDIR or somewhere under there, not LIBDIR. And it requires to
modify all things that use those files to also read
DATADIR/glibc/whatever.conf.
What about just `make install-sysconf'? Simple, and easy.
More information about the Libc-alpha
mailing list