Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287228 - sys-kernel/vserver-sources-2.3.0.36.14-r1: 'hostname in VMs changes hostname globally
Summary: sys-kernel/vserver-sources-2.3.0.36.14-r1: 'hostname in VMs changes hostname ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal
Assignee: Thilo Bangert (RETIRED) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-01 12:45 UTC by Manuel Nickschas
Modified: 2009-10-03 15:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Nickschas 2009-10-01 12:45:47 UTC
Since upgrading to vserver-sources-2.3.0.36.14-r1 (from 2.3.0.35.6), the hostname seems to be global for all VMs and the host machine. This means that setting/changing the hostname in any VM will affect all other VMs as well as the host machine. This makes the whole setup mostly unusable.

Going back to the older kernel fixes the problem again, so it's definitely kernel-related.

Reproducible: Always

Steps to Reproduce:
1. Start a VM with vserver-sources-2.3.0.36.14
2. Inside the VM, run 'hostname abcd.example.net'
3. Exit the VM, check 'hostname' on the host machine

Actual Results:  
The host machine will now display 'abcd.example.net'.

Expected Results:  
Changing the hostname in any VM shouldn't affect others, much less the host machine.
Comment 1 Benedikt Böhm (RETIRED) gentoo-dev 2009-10-03 15:36:28 UTC
you need util-vserver-0.30.216_pre* for proper namespace support in newer kernels