Package: hostname
Version: 3.11
Severity: minor

Dear Maintainer,

  The binaries for this package are inconsistently hard-linked by the
  Makefile. Note that all are hard-linked together except hostname
  itself:

    mattcen@toto:tmp$ dpkg -L hostname | grep bin/ | xargs ls -il
    10403 -rwxr-xr-x 4 root root 18760 Feb 17  2012 /bin/dnsdomainname
    10403 -rwxr-xr-x 4 root root 18760 Feb 17  2012 /bin/domainname
    10402 -rwxr-xr-x 1 root root 18760 Feb 17  2012 /bin/hostname
    10403 -rwxr-xr-x 4 root root 18760 Feb 17  2012 /bin/nisdomainname
    10403 -rwxr-xr-x 4 root root 18760 Feb 17  2012 /bin/ypdomainname

  I think the correct fix for this is to sym-link all binaries to
  'hostname' rather than hard-link them:

    sed '/ln/s/-f /-fs /' Makefile

  Alternatively, if, for some odd reason hard links are required:

    sed '/ln/s/-f hostname/-f ${BASEDIR}\/bin\/hostname/' Makefile

-- System Information:
Debian Release: 7.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.8-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages hostname depends on:
ii  libc6  2.13-38

hostname recommends no packages.

hostname suggests no packages.

-- no debconf information

Attachment: signature.asc
Description: Digital signature

Reply via email to