[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Add vendor configuration directory installation
From: |
Alfred M. Szmidt |
Subject: |
Re: Add vendor configuration directory installation |
Date: |
Fri, 10 Feb 2023 07:16:16 -0500 |
> > - Packages define a configure option for the /etc directory, e.g.
> > --enable-etcdir=/etc
> > through Autoconf [3].
> Yes, and what we are proposing is that this option (by a different name)
> will be included in Autoconf so that developers don't have to add it
> manually.
The proposed patch [1] does more than that. Especially the documentation
change suggests that it's OK for the "make install" step to install files
in both /usr/etc and /etc. As you clarified above, this is not what is
desired.
That would break a bunch of stuff, notably any GNU system where /usr
and / are the same.
The configure --help output and/or the documentation should state that
- "make install" will install into SYSCONFDIR,
- but the package will read from ETCDIR and then from SYSCONFDIR.
It should absolutley not state that. It is on purpose that `make
install' does not trash sysconfdir; if you install a program you do
not want your configuration files that you have modified to be
overwritten.
I'm against this change (--admindir.. ), it is making a problem where
there is none. For configuration files that are "global" (which this
basically is); one should not use /usr/etc (which might not exist, or
point to /etc). What should be used is /usr/share/PACKAGE or similar.
This is already configurable by ./configure, so there is no reason to
add switch that will not be used by anyone other than systemd.
- Add vendor configuration directory installation, Valentin Lefebvre, 2023/02/06
- Re: Add vendor configuration directory installation, Paul Eggert, 2023/02/07
- Re: Add vendor configuration directory installation, Alfred M. Szmidt, 2023/02/07
- Re: Add vendor configuration directory installation, Bruno Haible, 2023/02/07
- Re: Add vendor configuration directory installation, Jason Sikes, 2023/02/10
- Re: Add vendor configuration directory installation, Bruno Haible, 2023/02/10
- Re: Add vendor configuration directory installation,
Alfred M. Szmidt <=
- Re: Add vendor configuration directory installation, Bruno Haible, 2023/02/10
- Re: Add vendor configuration directory installation, Jason Sikes, 2023/02/12
- Re: Add vendor configuration directory installation, Patrice Dumas, 2023/02/12
- Re: Add vendor configuration directory installation, Alfred M. Szmidt, 2023/02/10
- Re: Add vendor configuration directory installation, Jason Sikes, 2023/02/12
- Re: Add vendor configuration directory installation, Jason Sikes, 2023/02/16
- Re: Add vendor configuration directory installation, Jason Sikes, 2023/02/20
- Re: Add vendor configuration directory installation, Alfred M. Szmidt, 2023/02/20