Public bug reported:
I need to configure a couple of options for the nvidia driver, e.g.
Coolbits. For this I have /etc/X11/xorg.conf which contains purely my
manual configuration. I have found that this file is being renamed
xorg.conf.<MMDDYYYY> at irregular intervals, thereby disabling these
manual settings.
/var/lib/dpkg/info/nvidia-prime.postrm is very likely what's causing
this:
case "$1" in
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
# Remove the xorg.conf
if [ -f $xorg_conf ]; then
mv $xorg_conf $xorg_conf.$now
fi
Iiuc this is run on every upgrade of the nvidia-prime package. I don't
know the reasons for doing this, but given that /etc/X11/xorg.conf is
still intended (only) for manual configuration, it should not summarily
be moved away. If there's a risk for conflicting old configs then they
should be detected more accurately and handled through the normal tools
that updates/replaces /etc files containing local changes.
** Affects: nvidia-prime (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1345585
Title:
xorg.conf with manual config is moved away at upgrade
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1345585/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs