Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #80419

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

From Daniel Gröber <dxld@darkboxed.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1051847: iproute2 ships configuration files in /usr/lib violating debian-policy
Date 2023-09-13 16:20 +0200
Message-ID <HdySJ-8Jbo-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Package: iproute2
Version: 6.1.0-3
Severity: serious
Justification: Policy 10.7.2
X-Debbugs-Cc: dxld@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

Back to linux.debian.kernel | Previous | Next | Find similar | Unroll thread


Thread

Bug#1051847: iproute2 ships configuration files in /usr/lib violating debian-policy Daniel Gröber <dxld@darkboxed.org> - 2023-09-13 16:20 +0200

csiph-web