On Wed, Jun 19, 2024 at 5:03 PM Stefan Seyfried via openSUSE Factory <factory@lists.opensuse.org> wrote:
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)
Where in this %posttrans is a move to /usr? A useless config template only creating update problems got removed. That's all. Thorsten
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
-- Thorsten Kukuk, Distinguished Engineer, Senior Architect, Future Technologies SUSE Software Solutions Germany GmbH, Frankenstraße 146, 90461 Nuernberg, Germany Managing Director: Ivo Totev, Andrew McDonald, Werner Knoblich (HRB 36809, AG Nürnberg)