[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1074014: encode mandatory merged-/usr into policy



* Helmut Grohne <helmut@subdivi.de> [2024-06-21 20:27]:
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.

Questions:
1. Do you agree that policy should be changed?

yes.

If yes:

2. Do you agree that policy should prohibit installing into aliased
   paths?

yes.

3. Do you agree that the current progress is sufficient for changing
   policy?

yes.

4. Do you agree with the proposed wording?

yes.

5. Given earlier disagreement on this matter, should we discuss this
   matter in a wider setting such as d-devel?

no.

Cheers Jochen

Attachment: signature.asc
Description: PGP signature


Reply to: