linux guy writes:
« HTML content follows »
Sorry, I've been using Redhat/Fedora for 20 years. Never once lost data like
this. This is bad programming, period !
I partially agree. I've been updating since Fedora Core 4, and I never
needed to make a backup of anything.
I think this goes down to a practical point. I wouldn't be comfortable
pointing any tool to any directory, ostensibly for the purpose of letting
the tool use it for its internal purposes, where I had important data.
At the very least I would create an empty subdirectory there, and point the
tool there. This removes all ambiguity in my mind.
Especially in this case: I know that after a system-upgrade the download
directory gets automatically wiped. I'm keenly aware of it, I have several
machines to update, and after the initial download I make a copy of the
/var/lib/dnf/system-upgrade directory to the next machine before starting
this one's upgrade, to avoid having to redownload all this stuff. If I don't
do that, it gets wiped and everything needs to get downloaded again.
I would be quite nervous at repointing this to /home, that's too close to
comfort.
I wouldn't even repoint anything. If this partition was full I'd just
replace /var/lib/dnf/system-upgrade with a symbolic link to an empty
directory on another partition, and don't change a thing for the download
and the reboot.