Package: debian-policy
Version: 4.7.0.0
X-Debbugs-CC: hel...@subdivi.de
Control: tags -1 + patch

Hi,

every so often packages install different, unrelated programs into
different directories on the PATH. This often goes unnoticed for a
long time, thus changing it later becomes harder.

I think policy already forbids this with the existing wording in
10.1 - it says "filenames" and not "paths". I think this should be
made more explicit.

Today this is *in Debian* often "only" a problem for the root user,
which has /sbin on the default PATH. But some of our downstreams
always have /sbin on the PATH, and it also seems adding /sbin is a
popular customization, etc.

Chris


diff --git a/policy/ch-files.rst b/policy/ch-files.rst
index b34c183..40bfa42 100644
--- a/policy/ch-files.rst
+++ b/policy/ch-files.rst
@@ -7,7 +7,9 @@ Binaries
 --------

 Two different packages must not install programs with different
-functionality but with the same filenames. (The case of two programs
+functionality but with the same filenames. This also applies when they
+are installed into different directories on the default (user or root)
+``PATH``. (The case of two programs
 having the same functionality but different implementations is handled
 via "alternatives" or the "Conflicts" mechanism. See
 :ref:`s-maintscripts` and

Reply via email to