Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1051847: iproute2 ships configuration files in /usr/lib violating debian-policy

3 views
Skip to first unread message

Daniel Gröber

unread,
Sep 13, 2023, 10:20:05 AM9/13/23
to
Package: iproute2
Version: 6.1.0-3
Severity: serious
Justification: Policy 10.7.2
X-Debbugs-Cc: dx...@darkboxed.org

Dear Maintainer,

your iproute2 6.5.0-3 package installs configuration files in
/usr/lib/iproute2. This is a blatant violation of debian-policy
section 10.7.2. "Configuration files / Location" which states as
follows:

> Any configuration files created or used by your package must reside
> in /etc. If there are several, consider creating a subdirectory of
> /etc named after your package.

As I've mentioned in Bug#1051577 this is related to upstream commit

commit 0a0a8f12fa1b03dd0ccbebf5f85209d1c8a0f580
Read configuration files from /etc and /usr

Add support for the so called "stateless" configuration pattern (read
from /etc, fall back to /usr), giving system administrators a way to
define local configuration without changing any distro-provided files.

In practice this means that each configuration file FOO is loaded
from /usr/lib/iproute2/FOO unless /etc/iproute2/FOO exists.

but moving the config files from /etc/iproute to /usr/lib is
misguided and should be overriden in your Debian package.

Thanks,
--Daniel
0 new messages