Skip to content

thumbnail: Mount /etc/alternatives if it exists

Simon McVittie requested to merge wip/smcv/alternatives-issue92 into master

On distributions that use dpkg's update-alternatives(8), Red Hat's reimplementation or some other fork or reimplementation of the same concept, /etc/alternatives is conceptually a configuration layer over part of /usr. On those distributions, we cannot rely on /usr to be self-contained, but the combination of /usr and /etc/alternatives probably is self-contained.

Resolves: #92 (closed)
Bug-Debian: https://bugs.debian.org/943434


This is not exactly Debian-specific: it's distro-specific, but it's specific to a significant number of otherwise unrelated distros including at least the Red Hat and SUSE families, so it seems worthwhile to propose it here rather than just applying it as downstream delta.

Merge request reports