Am 19.06.24 um 14:15 schrieb Knurpht-openSUSE:
Op woensdag 19 juni 2024 08:25:32 CEST schreef Stefan Seyfried via openSUSE Factory:
The "move config files from /etc/ to /usr/" stuff went into 15.6 where it causes data loss. Not yet, like Torsten says, did not happen. Here's the content of my 15.5 -> 15.6 upgraded VM to proove:
knurpht@localhost:~> ls -lah /usr/etc/ total 0 drwxr-xr-x 1 root root 6 Jun 19 13:48 . drwxr-xr-x 1 root root 124 Jun 10 20:15 .. drwxr-xr-x 1 root root 14 Jun 19 13:48 vpl knurpht@localhost:~>
And yes, some initial step might have been made, but the /usr/etc move is definitely not there.
then why does systemd have this in %posttrans? (where it is too late and the data is already lost) posttrans scriptlet (using /bin/sh): if [ -e /etc/systemd/journald.conf.rpmsave ] && [ ! -e /etc/systemd/journald.conf ]; then echo >&2 "Restoring /etc/systemd/journald.conf. Please consider moving your customizations in a drop-in instead." echo >&2 "For more details, visit https://en.opensuse.org/Systemd#Configuration." mv -v /etc/systemd/journald.conf.rpmsave /etc/systemd/journald.conf || : fi -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman