Your message dated Fri, 02 Mar 2012 22:47:10 +0000
with message-id <[email protected]>
and subject line Bug#645988: fixed in apticron 1.1.53
has caused the Debian Bug report #645988,
regarding hostname options
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
645988: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=645988
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: apticron
Version: 1.1.42

$ grep -n hostname /usr/sbin/apticron
85:SYSTEM=`/bin/hostname -f`
105:    IPADDRESSES=`(echo $( /bin/hostname -i ) ;

$ man hostname
-f ...  avoid using this option; use hostname --all-fqdns instead.
-i ...  Avoid using this option; use hostname --all-ip-addresses instead.

Symptom 1: "Subject: 1 Debian package update(s) for localhost"
Symptom 2: "/etc/cron.daily/apticron: hostname: Name or service not known"
(apticron.conf is not applicable - exit error `hostname -f` is before it)

Patch:
-------------------------------
# diff -Naur apticron apticron.new
--- apticron    2010-06-14 11:23:28.000000000 +0600
+++ apticron.new        2011-10-20 15:50:36.000000000 +0600
@@ -82,7 +82,7 @@
 eval `/usr/bin/apt-config shell DIRCACHE Dir::Cache`

 # Set the SYSTEM
-SYSTEM=`/bin/hostname -f`
+SYSTEM=`/bin/hostname -A`

 # Set the IPADDRESSNUM
 IPADDRESSNUM="1"
@@ -102,7 +102,7 @@

 if [ -z "$IPADDRESSES" ]&&  [ -x /sbin/ip ]; then
        # Set the IPv4 addresses
-       IPADDRESSES=`(echo $( /bin/hostname -i ) ;
+       IPADDRESSES=`(echo $( /bin/hostname -I ) ;
                     /sbin/ip -f inet addr show scope global 2>  /dev/null | \
                     /bin/grep "scope global" |\
                     /usr/bin/head -$IPADDRESSNUM |\
-----------------------------------



--- End Message ---
--- Begin Message ---
Source: apticron
Source-Version: 1.1.53

We believe that the bug you reported is fixed in the latest version of
apticron, which is due to be installed in the Debian FTP archive:

apticron_1.1.53.dsc
  to main/a/apticron/apticron_1.1.53.dsc
apticron_1.1.53.tar.gz
  to main/a/apticron/apticron_1.1.53.tar.gz
apticron_1.1.53_all.deb
  to main/a/apticron/apticron_1.1.53_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Tiago Bortoletto Vaz <[email protected]> (supplier of updated apticron package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 02 Mar 2012 21:50:53 +0000
Source: apticron
Binary: apticron
Architecture: source all
Version: 1.1.53
Distribution: unstable
Urgency: low
Maintainer: Tiago Bortoletto Vaz <[email protected]>
Changed-By: Tiago Bortoletto Vaz <[email protected]>
Description: 
 apticron   - Simple tool to mail about pending package updates
Closes: 645988
Changes: 
 apticron (1.1.53) unstable; urgency=low
 .
   * Add an option to (not) use --all-fqdns from hostname command.
     (Closes: #645988)
Checksums-Sha1: 
 51b4fe5a81444765128d1bd5ac5d4ff62f56bf34 953 apticron_1.1.53.dsc
 e8039d18734fece595f049ae5b14fefc1f307028 21093 apticron_1.1.53.tar.gz
 795ab586cd1f60297f03f7df3aec06e064f2cac0 19736 apticron_1.1.53_all.deb
Checksums-Sha256: 
 3d10b8a3daf413da6105dafb5e36cbd4c4d19094883d57f0457b2b46a6eecfda 953 
apticron_1.1.53.dsc
 4913c22d199be8dacd6fd2af39f660e56539024280243a4bac7ffd85eefb5053 21093 
apticron_1.1.53.tar.gz
 5b575b8916957f82e683de14e0f9fb08fcfbef52ef5f9b232504df184a5ffa30 19736 
apticron_1.1.53_all.deb
Files: 
 75768e24d9724284b15f72c3be263069 953 admin extra apticron_1.1.53.dsc
 461081853781214437a8c8d21d535cbc 21093 admin extra apticron_1.1.53.tar.gz
 1634c722560e931bba38424371f1278c 19736 admin extra apticron_1.1.53_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk9RSwUACgkQaQ1iFKUE/sp5twCdEPv94DBLws+Tpco8IG/Ovi4s
DSkAoKBXJRecxKd9sim80BVnNpnZQKKA
=FH3Q
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to