Bug#566254: vzctl: /etc/hostname should be set to hostname, not FQDN

2010-01-30 Thread Ola Lundqvist
Hi Stephen On Sat, Jan 30, 2010 at 01:26:15AM +, Stephen Dolan wrote: On 28 January 2010 07:27, Ola Lundqvist o...@debian.org wrote: Hi Stephen Looks like it is the same on all distributions. Also I wonder why the FQDN is sent to this script at all. How did you invoke vzctl in

Bug#566254: vzctl: /etc/hostname should be set to hostname, not FQDN

2010-01-29 Thread Stephen Dolan
On 28 January 2010 07:27, Ola Lundqvist o...@debian.org wrote: Hi Stephen Looks like it is the same on all distributions. Also I wonder why the FQDN is sent to this script at all. How did you invoke vzctl in order to make this happen? vzctl set $foo --hostname here.there.example.org I

Bug#566254: vzctl: /etc/hostname should be set to hostname, not FQDN

2010-01-27 Thread Ola Lundqvist
Hi Stephen Looks like it is the same on all distributions. Also I wonder why the FQDN is sent to this script at all. How did you invoke vzctl in order to make this happen? Best regards, // Ola On Fri, Jan 22, 2010 at 01:27:28PM +, Stephen Dolan wrote: Package: vzctl Version: 3.0.22-14

Bug#566254: vzctl: /etc/hostname should be set to hostname, not FQDN

2010-01-22 Thread Stephen Dolan
Package: vzctl Version: 3.0.22-14 /etc/hostname should contain only the hostname of the system, i.e. foo for foo.example.org. The file /etc/vz/dists/scripts/debian-set_hostname.sh puts the fully-qualified domain name in /etc/hostname. Quick patch to fix it: --- debian-set_hostname.sh.dist