On a downgrade from beta to stable nvidia drivers, after a notice there was a configuration change, etc-update run without arguments automatically removed commented stuff from /etc/modprobe.d/nvidia.conf which was added when the newer package was installed. Newly added content didn't even trigger a config change notice on reemerge of the same version of the package. etc-update should not consider user added content a trivial change and strip it out automatically, be it commented. Reproducible: Always Steps to Reproduce: 1. Emerge nvidia drivers 495.44-r2 2. Add a comment to /etc/modprobe.d/nvidia.conf 3. Emerge nvidia drivers 470-86-r1 4. run etc-update without parameters Actual Results: etc-update removed user added comments without asking, considering them a trivial change Expected Results: etc-update should provide the option to merge user added content packages and versions used: sys-apps/portage-3.0.28-r1 x11-drivers/nvidia-drivers-495.44-r2 x11-drivers/nvidia-drivers-470.86-r1
(In reply to Georgi from comment #0) > > etc-update should not consider user added content a trivial change and strip > it out automatically, be it commented. > /etc/etc-update.conf: # Whether trivial/comment changes should be automerged eu_automerge="yes" It's the default value (and has been for 19 years at least). Change it to eu_automerge="no". This report should be closed as INVALID.
Thanks for letting me know. I'm closing this. Best Regards, Georgi