tag 524968 +moreinfo thanks Hi Andrew,
On Tue, Apr 21, 2009 at 09:30:49AM +0100, Andrew Robert Nicols wrote: > Package: apticron > Version: 1.1.27 > Severity: normal > > > Although /etc/apticron/apticron.conf allows setting of the SYSTEM variable > to override the hostname used in apticron mails, it does not make use of > this variable in the mail subject. Further more, it doesn't even use the > FQDN of the server which can be frustrating when dealing with servers whose > names have colliding name spaces. > > I propose either an additional variable for the subject hostname, or making > use of the existing SYSTEM variable in the mail subject. Thanks for reporting, but I can't see your point here. The script seems to give to $SYSTEM a FQDN when calling "hostname -f": # Set the SYSTEM SYSTEM=`/bin/hostname -f` Later it loads the config file and overrides the $SYSTEM value in case it's set in apticron.conf: # Source the config file [ -e /etc/apticron/apticron.conf ] && . /etc/apticron/apticron.conf Finally, it uses $SYSTEM on email subject: ) 2>&1 | /usr/bin/mailx -a "Content-type: text/plain; charset=UTF-8" -s "$DISTRIB_ID package updates on $SYSTEM" $EMAIL Could you re-check whether this problem really happens there? If so, please try to echo $SYSTEM before and after loading the config file (line above) and give me the output. Regards, -- Tiago Bortoletto Vaz http://tiagovaz.org 0xA504FECA - http://pgp.mit.edu -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org