That's correct. I was looking at /proc/sys/kernel/hostname, and if you
issue cat /proc/sys/kernel/hostname, it will reply empty. Sorry for any
confusion this may have caused.
"Hall, Ken (GTI)"
<[EMAIL PROTECTED]>
Sent by: Linux on To
390 Port <[email protected]>
<[EMAIL PROTECTED] cc
IST.EDU>
Subject
Re: Setting Hostname in SuSE Linux
03/30/2006 04:15 image on VM
PM
Please respond to
Linux on 390 Port
<[EMAIL PROTECTED]
IST.EDU>
Just a suspicion, but I think Bernard may be thinking of
/proc/sys/kernel/hostname, which does show zero length, but when displayed,
contains the host name. I think Ryan (and I) were looking at the program
/bin/hostname, which on my machine is 15464 bytes.
> -----Original Message-----
> From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
> Ryan Stewart
> Sent: Thursday, March 30, 2006 4:08 PM
> To: [email protected]
> Subject: Re: [LINUX-390] Setting Hostname in SuSE Linux image on VM
>
>
> It was empty, but when I updated the package in YaST it became full.
> Also, in my other image it has something in it.
>
> Ryan
>
> -----Original Message-----
> From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
> Bernard Wu
> Sent: Thursday, March 30, 2006 3:59 PM
> To: [email protected]
> Subject: Re: Setting Hostname in SuSE Linux image on VM
>
> Hi Ryan,
> Are you sure it's empty. Mine shows 0 bytes, but when I do a "cat
> hostname" , the correct hostname shows up.
>
> Bernie Wu
> [EMAIL PROTECTED]
>
>
>
>
> Ryan Stewart
> <[EMAIL PROTECTED]
> u>
> To
> Sent by: Linux on <[email protected]>
> 390 Port
> cc
> <[EMAIL PROTECTED]
> IST.EDU>
> Subject
> Setting Hostname in SuSE Linux
> image on VM
> 03/30/2006 12:24
> PM
>
>
> Please respond to
> Linux on 390 Port
> <[EMAIL PROTECTED]
> IST.EDU>
>
>
>
>
>
>
> Hi all,
>
> Does anyone know the proper way to set the hostname in SuSE. I had a
> problem recently with the modprobe utility. I was conversing with
> Novell about the issue via email and after spending some time on the
> problem (since this was just a test image), I was going to
> reinstall. I
> played with it a little longer and figured out when I
> compared the file
> /sbin/modprobe to the same file on another image, they were different.
> So I copied the file from the good image to the bad one. Everything
> works (or so it seems to so far), but at my prompt I have a
> hostname of
> (none).
>
> For some reason I cannot set the hostname using the hostname command
> either. I have added it to the /etc/hosts file. The hostname is
> correct in the /etc/HOSTNAME file. One thing I noticed is in the
> /proc/sys/kernel/hostname file it says (none) for the hostname.
>
> I am not sure what else to check or change. Anyone have any
> thoughts on
> the issue?
>
> Thanks,
>
> Ryan Stewart
> Indian River Community College
> [EMAIL PROTECTED]
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions, send
> email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
> visit http://www.marist.edu/htbin/wlvindex?LINUX-390
>
>
>
>
> The information contained in this e-mail message is intended only for
> the personal and confidential use of the recipient(s) named
> above. This
> message may be an attorney-client communication and/or work
> product and
> as such is privileged and confidential. If the reader of this
> message is
> not the intended recipient or an agent responsible for
> delivering it to
> the intended recipient, you are hereby notified that you have received
> this document in error and that any review, dissemination,
> distribution,
> or copying of this message is strictly prohibited. If you
> have received
> this communication in error, please notify us immediately by
> e-mail, and
> delete the original message.
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions, send
> email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
> visit http://www.marist.edu/htbin/wlvindex?LINUX-390
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO
> LINUX-390 or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
>
--------------------------------------------------------
If you are not an intended recipient of this e-mail, please notify the
sender, delete it and do not read, act upon, print, disclose, copy, retain
or redistribute it. Click here for important additional terms relating to
this e-mail. http://www.ml.com/email_terms/
--------------------------------------------------------
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
The information contained in this e-mail message is intended only for
the personal and confidential use of the recipient(s) named above. This
message may be an attorney-client communication and/or work product and
as such is privileged and confidential. If the reader of this message
is not the intended recipient or an agent responsible for delivering it
to the intended recipient, you are hereby notified that you have
received this document in error and that any review, dissemination,
distribution, or copying of this message is strictly prohibited. If you
have received this communication in error, please notify us immediately
by e-mail, and delete the original message.
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390