[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#366026: xserver-xorg upgrade modified /etc/X11/xorg.conf though it had local changes



On 2006-05-04 18:02:31 -0700, Steve Langasek wrote:
> Yes, it says that local changes must be preserved; it does not say
> that the package may not attempt to upgrade config files.

If it attempts to upgrade something the user has changed, this isn't
much different. Moreover the /etc/X11/xorg.conf says:

# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.

So, with the latest upgrade, this was plainly wrong.

> The possible fontpath duplication for users who had already upgraded
> to modular was a known issue when this handling was put in place,
> but this consideration was secondary to the need to provide upgrade
> handling for all the users being left without font support.

There could be a dialog box to ask the user if he wanted to update the
config file. Also, the upgrade script could check if new paths were
already added.

> Does this duplication cause any problems for you, or is it merely
> cosmetic?

This adds useless bloat to the config file and to diffs (when one
tracks diffs of config files, e.g. with diffmon), making it more
difficult to maintain.

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



Reply to: