Public bug reported:

Really a WISHLIST item.

I have many virtual machines running ubuntu/apache2 all with apt-
listchanges installed, all named www.domain.com.  When I get my emailed
reports the subject is "apt-listchanges: changelogs for www" for every
single VM. Not very useful.

It would be fair better for the subject to be "apt-listchanges:
changelings for www.domain.com" (the FQDN for the host).

apt-listchanges uses the following python code to set the hostname for
the report

        hostname = commands.getoutput('hostname')

I'd like to propose that the command be changed to

        hostname = commands.getoutput('hostname -f')

Or a parameter set in /etc/apt/listchanges.conf

Yes, I could change the hostname of the VM to the FQDN but the Debian
reference <http://www.debian.org/doc/manuals/debian-
reference/ch03.en.html#_the_hostname> says the hostname should not use
the FQDN:

3.5.5. The hostname

The kernel maintains the system hostname. The init script in runlevel S
which is symlinked to "/etc/init.d/hostname.sh" sets the system hostname
at boot time (using the hostname command) to the name stored in
"/etc/hostname". This file should contain only the system hostname, not
a fully qualified domain name.

I can do the coding/work, if I get guidance.

Thanks.

** Affects: apt-listchanges (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1411371

Title:
  Use FQDN in apt-listchanges report

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-listchanges/+bug/1411371/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to