![](https://seccdn.libravatar.org/avatar/eb9f93fa252f97a3d17d437ff9aa9f35.jpg?s=120&d=mm&r=g)
On Fri, Sep 24, 2021 at 04:30:04PM +0200, Stefan Seyfried wrote:
On 24.09.21 14:02, Adam Majer wrote:
each user can override the default. Another is that the selection is not fragile -- you can snapshots of / and restore /etc and /home from a different time and things will not fall apart like with update-alternatives.
That's just a proof that the current implementation of update-alternatives is exceptionally -- ahem -- suboptimal. I never understood what these symlinks to /etc/alternatives and then again to the target are good for. Why not just link the target directly.
With double links you can update the alternatives with readonly /usr for example. The symlink that makes the binary an alternative is static, only the alternative configuration is dynamic. It follows from FHS also. Thanks Michal