Control: tags -1 + patch Editors, if tagging + patch is not appropriate, my apologies.
On Fri, Jun 21, 2024 at 08:27:56PM +0200, Helmut Grohne wrote: > For these reasons, I propose changing section 10.1 and encoding the > avoidance of symlink vs directory conflicts into policy. To get a > discussion going, I suggest the following update. > - To support merged-/usr systems, packages must not install files in both > - /path and /usr/path. For example, a package must not install both > - /bin/example and /usr/bin/example. > + Since base-files implements mandatory merged-/usr by installing the > + aliasing symbolic links, other packages must not install files into > + aliased paths such as /bin, /lib, /lib* or /sbin. The package manager is > + not prepared to deal with such aliasing and in prohibiting the > + installation into aliased locations, we avoid triggering undefined > + behaviour. Conversely, packages may assume that /bin, /lib and /sbin are > + symlinks at all times and that their files below /usr/bin, /usr/lib and > + /usr/sbin are also accessible via their aliased locations. Seconded... > I suspect that this is not perfect, but it is hopefully good enough for > entering the discussion. ... including minor changes as necessary. Chris
signature.asc
Description: PGP signature