-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Eric MSP Veith escribió: > Shouldn't domainname.ii set the domain name - at least that could be guessed > from the name. ;-)
Obviously, what I want to know is what that *broken* awk script should do... > > By the way, this brought something to the surface (at least > here): /etc/HOSTNAME contains the FQDN, not just the bare name. We could > modify domainname.ii in a way that it'll try to set the domain name > from /etc/hostname (or /etc/HOSTNAME), if it contains the FQDN, or > from /etc/resolv.conf otherwise. It doesn't takes the domain from /etc/resolv.conf, I think the intention of the script writer was to _put_ the domain name into resolv.conf. The configuration is taken from /etc/conf.d/domainname. > > If the rest is ok with that, I'll prepare a patch. > The problem is that there could be many FQDNs for the same host. :( -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFFw5la/mxY0+yOXJoRAuGBAKDFxHkDsPA+8yCnkmN54Oh8kZU/ugCgm/FR OZhY3xVmukN7dDTAdux0cas= =XT+6 -----END PGP SIGNATURE----- -- _______________________________________________ Initng mailing list [email protected] http://jw.dyndns.org/mailman/listinfo/initng
