Description of problem:
fedora-upgrade asks about all config files in /etc:
Configuration file '/etc/samba/smb.conf'
-rw-r--r-- 1 root root 11353 янв 21 2008 /etc/samba/smb.conf
-rw-r--r-- 1 root root 667 июн 16 2016 /etc/samba/smb.conf.rpmnew
==> Package distributor has shipped an updated version.
This is ridiculous and makes it completely useless.
Presumably, it asks about those that are changed
between the package versions, but it should only
ask about the ones changed by the user.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Hundreds of silly questions about the config files.
Should only ask about the config files I myself changed.
How should I differ the changes done by yourself?
See this table why .rpmnew are being created:
If there is .rpmnew file I cannot guess if this was because you modified it. Some tool modified it. Somebody just touched it. Or because it went from %config to %config(noreplace).
I really don't know how would you do
that, but when I upgrade ubuntu, I am
not asked 100+ questions about the files
I have never ever touched. I am asked
only about the files I altered myself.
So while I can't suggest you an implementation
details, what I do know is that this
tool is unusable with such implementation.
While spending 10 minutes pressing Y-Enter
as crazy, I have of course missed the
files I really modified. So as the result,
all my configs are now lost, time wasted,
It took it soo long because you have never done that before. Usually, after the upgrade, I am being asked only 5-7 questions.
Ubuntu/Debian has a different system because configuration management is an integral part of apt. RPM does not do that. So I really cannot do anything about it.
You could at least add "Yes for all"
for the person who wanted to give up
pressing Y-Enter. Or have I missed
such a choice?
Yes for all is really not safe.
There is "Skip this step" at the beginning.
And you can always press S as skip.