Am 19.06.24 um 20:55 schrieb Knurpht-openSUSE:
Op woensdag 19 juni 2024 17:02:55 CEST schreef Stefan Seyfried via openSUSE Factory:
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 Not related to the /usr move. It only mentions the usage of a drop-in snippet
The default config got moved to /usr when it was in /etc before. That move was executed poorly, to phrase it politely. -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman