[Lxc-users] "hostname --fqdn" returns just an error message
Papp Tamas
tompos at martos.bme.hu
Mon May 7 15:53:57 UTC 2012
On 05/07/2012 05:19 PM, Harald Dunkel wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi folks,
>
> Running "hostname --fqdn" in an lxc client returns an error
> message on stderr and an empty string on stdout:
>
> # hostname --fqdn
> hostname: Name or service not known
>
> This breaks _many_ scripts and tools (e.g. zabbix_agentd)
> and is highly painful.
>
> Would it be possible to make the lxc client more compatible
> to a real system in this case? Usually running
> "hostname --fqdn" doesn't require any special privileges.
>
>
> Many thanx in advance
>
It works. You have local problem.
tamas
More information about the lxc-users
mailing list