Skip to contentSkip to conversation

hostname lookup failed: Operation not permitted

DISCUSSION Jim Dennis 1 participant 1 message Oct 17, 2007 1 message not in the archive Kernel automounter

lore
Share & tools
lore

Jim Dennis

author
#1 lore raw
In reply to a message not in the archive
Quoted 10 lines · Ian Kent

Subject: Re: [autofs] hostname lookup failed: Operation not permitted
To: "jehan.procaccia" <[email protected]>
Cc: autofs mailing list <[email protected]>, "Eric. Doutreleau"
<[email protected]>
Message-ID: <[email protected]>

Quoted 4 lines · jehan.procaccia

Hello,

I have several users that cannot automount their homdir . The logs

says:

Quoted 1 line
Quoted 1 line
Oct 14 15:56:47 anaconda automount[10054]: create_udp_client:

hostname

Quoted 2 lines
Quoted 2 lines

lookup failed: Operation not permitted

Oct 14 15:56:47 anaconda automount[10054]: create_tcp_client:

hostname

Quoted 1 line
Quoted 1 line

lookup failed: Operation not permitted

...

Quoted 1 line
Quoted 1 line
Oct 14 16:01:19 anaconda automount[10054]: create_tcp_client:

hostname

Quoted 5 lines
Quoted 1 line

lookup failed: Operation not permitted

A missing /etc/hosts file can cause this error.

Ian

It seems odd to get "operation not permitted" for this failure mode. However it seems obviously related to hostname resolution:
(/etc/nsswitch.conf, /etc/hosts.conf, NIS or LDAP maps ... DNS ...
nscd?
something)

--
JimD