On Tue, Jun 11, Neal Gompa wrote:
On Tue, Jun 11, 2019 at 7:38 AM Thorsten Kukuk
wrote:
But a real problem with update-alternatives is /var There, we really mixed up everything and this does currently not work with transactional-updates (not even really with snapshots and rollback).
I assume you're referring to /var/lib/alternatives?
Yes, that's what I mean. A file is modified every time an admin calls update-alternatives to change defaults and at install time.
If openSUSE switched to the version of alternatives shipped in chkconfig[1], we could probably make adjustments to the implementation to deal with this problem. I don't see the Debian guys wanting to change this in their implementation, because they don't care about this problem.
I proposed already to switch some time ago, but the package maintainer refused this ...
It probably makes sense to move it to /usr/lib/sysimage/alternatives, actually. I could easily package this up and make it a drop-in replacement for what we have now in SUSE distributions.
Das the chkconfig variant modifies the files during every call, too? Thorsten -- Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & MicroOS SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendoerffer, Mary Higgins, Sri Rasiah, HRB 21284 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org