vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| When I first installed gentoo, the docs told me to use /etc/hostname...so I did. I just recently updated, and now I am receiving warnings about using /etc/hostname. It tells me to use /etc/conf.d/hostname. So, I edited /etc/conf.d/hostname and added my name there. On reboots, I am still getting this warning. I am worried about delete /etc/hostname though...I fear that it still might be used by other scripts...such as ddclient. Is it okay to ignore this message for now? What else do I need to do? |
| |||
| Mr. Question wrote: > When I first installed gentoo, the docs told me to use > /etc/hostname...so I did. > > I just recently updated, and now I am receiving warnings about using > /etc/hostname. It tells me to use /etc/conf.d/hostname. > > So, I edited /etc/conf.d/hostname and added my name there. > > On reboots, I am still getting this warning. I am worried about delete > /etc/hostname though...I fear that it still might be used by other > scripts...such as ddclient. > > Is it okay to ignore this message for now? > > What else do I need to do? At this stage, all the init script does is to complain, nothing to worry about. //Aho |
| |||
| Mr. Question wrote: > On reboots, I am still getting this warning. I am worried about delete > /etc/hostname though...I fear that it still might be used by other > scripts...such as ddclient. You're meant to delete /etc/hostname after filling in /etc/conf.d/hostname I use ddclient, and it's fine after the above. Everything's fine for me - but then, I don't use "yp-tools" (Google Groups on 13-Jun). You can either delete /etc/hostname and see what breaks (probably nothing), or play it safe and leave /etc/hostname in existence for now. |
| |||
| Mr. Question wrote: > When I first installed gentoo, the docs told me to use > /etc/hostname...so I did. > > I just recently updated, and now I am receiving warnings about using > /etc/hostname. It tells me to use /etc/conf.d/hostname. > > So, I edited /etc/conf.d/hostname and added my name there. > > On reboots, I am still getting this warning. I am worried about delete > /etc/hostname though...I fear that it still might be used by other > scripts...such as ddclient. > > Is it okay to ignore this message for now? > > What else do I need to do? Does any advice given apply equally well to /etc/dnsdomainname? (which is now set in /etc/conf.d/domainname) |
| |||
| Mr. Question wrote: > When I first installed gentoo, the docs told me to use > /etc/hostname...so I did. > > I just recently updated, and now I am receiving warnings about using > /etc/hostname. It tells me to use /etc/conf.d/hostname. > > So, I edited /etc/conf.d/hostname and added my name there. > > On reboots, I am still getting this warning. I am worried about delete > /etc/hostname though...I fear that it still might be used by other > scripts...such as ddclient. > > Is it okay to ignore this message for now? No, it is not okay. It means that something is wrong with /etc/conf.d/hostname > What else do I need to do? Ths syntax of /etc/hostname and /etc/conf.d/hostname differ. where /etc/hostname just contains yourhostname /etc/conf.d/hostname should contain HOSTNAME="yourhostname" the same applies to /etc/conf.d/domainname Peter. -- | Peter J. de Vrijer e-mail: pdevrijer@home.nl | zendamateurs: pa3ebv@amsat.org | | And perhaps the horse will learn to sing! |
| |||
| Peter J. de Vrijer wrote: >>Is it okay to ignore this message for now? > > No, it is not okay. It means that something is wrong with > /etc/conf.d/hostname Not necessarily. A warning will be shown if /etc/hostname merely exists. From /etc/init.d/hostname: if [[ -f /etc/hostname ]] ; then ewarn "You should stop using /etc/hostname and use /etc/conf.d/hostname" |
| ||||
| Mr. Question wrote: > When I first installed gentoo, the docs told me to use > /etc/hostname...so I did. > > I just recently updated, and now I am receiving warnings about using > /etc/hostname. It tells me to use /etc/conf.d/hostname. > > So, I edited /etc/conf.d/hostname and added my name there. > > On reboots, I am still getting this warning. I am worried about delete > /etc/hostname though...I fear that it still might be used by other > scripts...such as ddclient. > > Is it okay to ignore this message for now? > > What else do I need to do? I changed both to /etc/conf.d/hostname and /etc/conf.d/domainname then deleted both files in /etc/ and everything works and no warning messages. |