Bug#348978: Lintian shouldn't warn about hardlinks if they are all inside /usr/share/<package> or /usr/lib/<package>
Package: lintian
Version: 1.23.14
Severity: normal
While working on a new version of sql-ledger we decided to use hardlinks
(and not symlinks) between several files inside /usr/lib/sql-ledger/.
The upstream author prefers hardlinks over symlinks because they are
better handled by suexec. And since this is a web-app, it's a legitimate
concern.
I believe that there's no risk that directories below /usr/lib/sql-ledger/
will be mounted on separate partitions, thus this can be done without
problems.
IMHO, the warning shouldn't be emitted if the hardlinked files are (both)
below /usr/lib/<package> or /usr/share/<package>.
For reference, here's the warning that I'm referring to.
W: sql-ledger: package-contains-hardlink usr/lib/sql-ledger/bin/mozilla/admin.pl -> usr/lib/sql-ledger/bin/lynx/admin.pl
N:
N: The package contains a hardlink in /etc or across different
N: directories. This might not work at all if directories are on
N: different filesystems (which can happen anytime as the system
N: administrator sees fit), certain filesystems such as AFS don't even
N: support cross-directory hardlinks at all.
N:
N: For configuration files, certain editors might break hardlinks, and so
N: does dpkg in certain cases.
N:
N: A better solution might be using symlinks here.
N:
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-10-386
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Versions of packages lintian depends on:
ii binutils 2.16.1cvs20051214-1 The GNU assembler, linker and bina
ii diffstat 1.41-1 produces graph of changes introduc
ii dpkg-dev 1.13.11.1 package building tools for Debian
ii file 4.15-2 Determines file type using "magic"
ii gettext 0.14.5-2 GNU Internationalization utilities
ii intltool-debian 0.34.1+20050828 Help i18n of RFC822 compliant conf
ii libparse-debianchang 1.0-1 parse Debian changelogs and output
ii man-db 2.4.3-3 The on-line manual pager
ii perl [libdigest-md5- 5.8.7-10 Larry Wall's Practical Extraction
lintian recommends no packages.
-- no debconf information
Reply to: