Your message dated Thu, 21 Apr 2011 03:02:20 +0000
with message-id <[email protected]>
and subject line Bug#613504: fixed in apticron 1.1.47
has caused the Debian Bug report #613504,
regarding apticron: Apticron was reporting on newly installed server: hostname: 
"Name or service not known"
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.)


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


Apticron uses the "hostname" command to provide identifying information to 
place in the email sent to the admin.

On a newly installed server this was giving cron output which was confusing due 
to the hostname not being resolvable.

The hostname command manual page suggests that "hostname -i" be replaced with 
"hostname --all-ip-addresses" and
"hostname -f" be replaced with "hostname --all-fqdns" to avoid this issue. 

Doing this removed the warnings from cron and gave useful identifying 
information for
the email.

diff apticron.orig apticron
85c85
< SYSTEM=`/bin/hostname -f`
---
> SYSTEM=`/bin/hostname --all-fqdns`
105c105
<       IPADDRESSES=`(echo $( /bin/hostname -i ) ;
---
>       IPADDRESSES=`(echo $( /bin/hostname --all-ip-addresses ) ;

This results in:

apticron has detected that some packages need upgrading on:

        109-231-72-75.flexiscale.com  
        [ 109.231.72.75 ]

When "hostname -i" and "-f" were  producing warnings.
And the expected output:

apticron has detected that some packages need upgrading on:

        disraeli.zynet.net  
        [ 109.231.72.75 ]

When I ensured that /etc/hosts has the correct entry for 109.231.72.75
I haven't tested on a machine with multiple IP addresses, or on one with IPv6 
enabled.

-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-25-hvmflexiant (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apticron depends on:
ii  apt                0.8.10.3              Advanced front-end for dpkg
ii  bsd-mailx [mailx]  8.1.2-0.20100314cvs-1 simple mail user agent
ii  cron               3.0pl1-116            process scheduling daemon
ii  debconf [debconf-2 1.5.36.1              Debian configuration management sy
ii  heirloom-mailx [ma 12.4-2                feature-rich BSD mail(1)
ii  ucf                3.0025+nmu1           Update Configuration File: preserv

Versions of packages apticron recommends:
ii  apt-listchanges               2.85.7     package change history notificatio
ii  iproute                       20100519-3 networking and traffic control too

apticron suggests no packages.

-- debconf information:
  apticron/notification: root

-- debsums errors found:
debsums: changed file /usr/sbin/apticron (from apticron package)



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

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.47.dsc
  to main/a/apticron/apticron_1.1.47.dsc
apticron_1.1.47.tar.gz
  to main/a/apticron/apticron_1.1.47.tar.gz
apticron_1.1.47_all.deb
  to main/a/apticron/apticron_1.1.47_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: Wed, 20 Apr 2011 23:32:32 -0300
Source: apticron
Binary: apticron
Architecture: source all
Version: 1.1.47
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: 587597 613504 623093
Changes: 
 apticron (1.1.47) unstable; urgency=low
 .
   [ patches by Gian Piero Carrubba ]
   * Run every hour via cron.d snippet just exiting if fully executed in the
     past 24h. (Closes: #587597)
   * Reword the '--cron' parameter help message.
   * Move the timestamp file to /var/lib/apticron as it now exists.
   * cron.d snippet: cleanly exit if apticron has been removed.
   * Supposedly trap all errors when parsing existent cron.d snippet.
 .
   [ Tiago Bortoletto Vaz]
   * Add Danish translation. Thanks to Joe Dalton. (Closes: #623093)
   * Add hostname options suggested by hostname manpage to avoid warnings.
     Thanks to Simon Waters. (Closes: #613504)
Checksums-Sha1: 
 d44894caa7e679af437a6d67224009011b5fbb27 912 apticron_1.1.47.dsc
 171083d8ecd0c9a0d057962e346afc012431160f 20526 apticron_1.1.47.tar.gz
 b1f726dd2146f825ce749e37625c87ea24f22474 18634 apticron_1.1.47_all.deb
Checksums-Sha256: 
 7d9ae292dc6bb965089856734b62eb0dde434b2630d99f898fbc8ccb4b1c3609 912 
apticron_1.1.47.dsc
 6fe4d27ffa36e14d618e592a9abc78e1a67ee54c8d4f9b1e6760696bb86a3d31 20526 
apticron_1.1.47.tar.gz
 2e308d4a0837028e0f30ff95487eff596de1c78d5536987afd38ea469b8ebe89 18634 
apticron_1.1.47_all.deb
Files: 
 c4e65b712bd640a9aff1ea483d572a16 912 admin extra apticron_1.1.47.dsc
 2ba8ff298aa5d8d2bd36899a93981c34 20526 admin extra apticron_1.1.47.tar.gz
 2ea66fb8ff1df867f5f53f03c083b9af 18634 admin extra apticron_1.1.47_all.deb

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

iEYEARECAAYFAk2vmwIACgkQaQ1iFKUE/sqHKACgoJkVrdnbvtvbO8qQooYdwrGX
hjoAoKXQT0NG1dZIPSzGZ/3sb9LRIo38
=+RP3
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to