[Users] Debian - Odd, hopefully minor, machine name / prompt issue

Ola Lundqvist ola at opalsys.net
Fri Sep 28 16:14:08 EDT 2007


Hi

Problem found by Alexey Dobriyan <adobriyan at sw.ru>. I'm now building new
source package and kernel packages.

Best regards,

// Ola

On Thu, Sep 13, 2007 at 12:55:13AM +0400, Kir Kolyshkin wrote:
> Thanks for reporting. Apparently when porting OpenVZ patchset to debian
> kernel utsname() virtualization got screwed... I suggest you to file a
> bug to http://bugs.debian.org/, and I have added Debian maintainer of
> OpenVZ packages to cc.
> 
> Jim Archer wrote:
> > When logged into the main system:
> >
> > vps5000:~# hostname
> > vps5000.regtek.com
> > vps5000:~# vzlist
> >      VEID      NPROC STATUS  IP_ADDR         HOSTNAME
> >       102         13 running 72.46.65.30     nsp4.registrationtek.com
> >       104         21 running 72.46.65.47     mail5.registrationtek.com
> >       105         22 running 72.46.65.48     whois.registrationtek.com
> >       106          4 running 72.46.65.54     gz.registrationtek.com
> >       107          7 running 72.46.65.34     squid.registrationtek.com
> >      1000          4 running 72.46.67.2      vps1000.regtek.com
> >      1001         39 running 72.46.67.3      vps1002.registrationtek.com
> >      1002         29 running 72.46.67.7      tocco.regtek.com
> >      1003         23 running 72.46.67.8      firstclass.regtek.com
> >      5000          4 running 72.46.65.254    vps5000.regtek.com
> > vps5000:~# vzctl enter 102
> > entered into VE 102
> > vps5000:/# hostname
> > vps5000.regtek.com
> > vps5000:/# exit
> > logout
> > exited from VE 102
> > vps5000:~# vzctl enter 104
> > entered into VE 104
> > vps5000:/# hostname
> > vps5000.regtek.com
> > vps5000:/# exit
> > logout
> > exited from VE 104
> > vps5000:~# vzctl enter 1003
> > entered into VE 1003
> > vps5000:/# hostname
> > vps5000.regtek.com
> > vps5000:/# exit
> > logout
> > exited from VE 1003
> > vps5000:~#
> >
> >
> >
> >
> > --On Wednesday, September 12, 2007 1:30 PM +0400 Kir Kolyshkin
> > <kir at openvz.org> wrote:
> >
> >> Jim,
> >>
> >> Can you run hostname on the host system and inside a couple of VEs? Do
> >> they show the same or different hostnames?
> >>
> >> Jim Archer wrote:
> >>> Hi All...
> >>>
> >>> I just upgraded the kernel on my machine from:
> >>>
> >>> actual:/home/jim/openvz/kernels# uname -a
> >>> Linux actual.registrationtek.com 2.6.18-openvz-12-1etch1-amd64 #1 SMP
> >>> Fri May 4 23:37:24 MSD 2007 x86_64 GNU/Linux
> >>>
> >>> To:
> >>>
> >>> vps5000:~# uname -a
> >>> Linux vps5000.regtek.com 2.6.18-openvz-13-39.1d1-amd64 #1 SMP Mon Sep
> >>> 3 10:11:00 MSD 2007 x86_64 GNU/Linux
> >>>
> >>>
> >>> I did this because I have been having a memory consumption problem
> >>> with Exim4 I was hoping to resolve.  I had been told that the Exim4
> >>> memory issue was a known issue and was fixed in later kernels.
> >>>
> >>> Anyhow, I installed the new kernel using dpkg -i and it seems to
> >>> install fine, with no warnings or errors.  It boots and runs fine,
> >>> even iSCSI. But, the odd issue is that the machine name in the prompt
> >>> is wrong.  As you can see from above, it went from:
> >>>
> >>> actual#
> >>>
> >>> To:
> >>>
> >>> vps5000#
> >>>
> >>> The name of the machine in /etc/hostname is actual and vps5000 is the
> >>> highest number vps I have.  Is this a serious issue or can I safely
> >>> ignore it?
> >>>
> >>> Thanks...
> >>>
> >>> Jim
> >>>
> >>> _______________________________________________
> >>> Users mailing list
> >>> Users at openvz.org
> >>> https://openvz.org/mailman/listinfo/users
> >>
> >> _______________________________________________
> >> Users mailing list
> >> Users at openvz.org
> >> https://openvz.org/mailman/listinfo/users
> >
> >
> >
> >
> 
> 

-- 
 --- Ola Lundqvist systemkonsult --- M Sc in IT Engineering ----
/  ola at opalsys.net                   Annebergsslingan 37        \
|  opal at debian.org                   654 65 KARLSTAD            |
|  http://opalsys.net/               Mobile: +46 (0)70-332 1551 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9  /
 ---------------------------------------------------------------


More information about the Users mailing list