Bug#326637: Should /etc/X11/xkb/* be conffiles at all?
On Fri, Dec 16, 2005 at 02:03:25AM +0000, Daniel Stone wrote:
> On Thu, Dec 15, 2005 at 08:28:41PM +0100, Jerome Warnier wrote:
> > I wonder if those files should really be conffiles at all, as it is
> > asking for a lot of confirmations to override with new maintainer's
> > version from anyone trying to upgrade from one version to another (for
> > example Sarge to Etch), while those files have never been modified by
> > the user.
> > If they are not conffiles, they should not be in /etc either (they take
> > 2.4M on my Sarge) by FHS.
> They are conffiles, yes.
The question is whether these files should be conffiles at all.
IMO this is a very good question, I had a look (not closely though)
at your transition to xkeyboard-config and it seems to me that the
fact that XKB files are conffiles made this transition more difficult.
On the other hand, people sometimes want to modify such files (#236252
for instance) and do not want to lose their changes when upgrading.
Maybe a solution is to have files installed by packages under a
given directory $dir1 (under /usr?), sysadmins can add/customize files
under /etc, and a magic command run after editing /etc files would merge
/etc and $dir1 into $dir2 (under /var?). X clients and servers should
then be modified to look for their files under $dir2:$dir1.
Do you believe that this is feasible/desirable?