[Gambas-user] System.Domain empty
Ron
ron at ...1740...
Fri May 23 10:18:41 CEST 2008
Benoit Minisini schreef:
> On jeudi 15 mai 2008, Ron wrote:
>
>> System.Domain is empty (none) on my system (Debian 4.0) gambas 2.6
>>
>> hostname -f is giving correct fqdn
>>
>> Where should it be defined?
>>
>> Regards,
>> Ron.
>>
>>
>
> The Linux man page are not very clear...
>
> Apparently, you have:
> - A system host name.
> - A system domain name, or DNS domain name.
> - A NIS/YP domain name.
>
> hostname -f returns the third, but System.Domain uses the getdomainname()
> system call that seems to return the second.
>
> Try "man hostname" to get more information.
>
> Regards,
>
>
For reference, I finally have this fixed by this:
server:~# sysctl kernel.domainname
kernel.domainname = (none)
Set it correctly:
server:~# sysctl kernel.domainname=mydomain.com
kernel.domainname = mydomain.com
Put it also in /etc/sysctl.conf.
System.Domain is ok now.
regards,
Ron.
More information about the User
mailing list