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

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



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


Reply to: