Lintian ReportsBETA

package-contains-hardlink

The package contains a hardlink in /etc or across different directories. This might not work at all if directories are on different filesystems (which can happen anytime as the system administrator sees fit), certain filesystems such as AFS don't even support cross-directory hardlinks at all.

For configuration files, certain editors might break hardlinks, and so does dpkg in certain cases.

A better solution might be using symlinks here.

For more information please consult:

  • Behavior (Section 10.7.3) in the Debian Policy Manual

The tag is present in Lintian version 2.114.163. That is the most recent version we know about.

We use semantic versions. The patch number is a commit step indicator relative to the 2.114.0 release tag in our Git repository.

You can find the detection logic for this version at commit f5107b6. For merge requests, please use the latest version in the Lintian check files/hard-links.

Visibility: warning

The following 15 source packages in the archive triggered the tag 80556 times (in any Lintian version).

We found 1358 overrides. The tag performed 98% of the time.