Re: SELinux Attack!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thomas Cameron wrote:
>> What you are describing is almost surely a matter of your host not being
>> able to resolve its own name.  Nothing whatsoever to do with SELinux.
>>
>> Post the contents of your /etc/hosts and /etc/resolv.conf files.
>>
>> I'm betting good money that localhost does not resolve.

   

Karl Larsen
> [karl@k5di ~]$ cat /etc/hosts
> # Do not remove the following line, or various programs
> # that require network functionality will fail.
> 127.0.0.1       localhost.localdomain   localhost
> ::1     localhost6.localdomain6 localhost6
> 192.168.0.1     dsl
> [karl@k5di ~]$

        ^^^^   "k5di" is your hostname, it's not in the hosts file
contents you listed above.  Add it, and see if your troubles go away.

> [karl@k5di ~]$ ping localhost
> PING localhost.localdomain (127.0.0.1) 56(84) bytes of data.
> 64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=1 ttl=64 
> time=0.060 ms
>
> OK how much money were you going to send :-)

Don't count your chickens...  ;-)

> [karl@k5di ~]$ cat /etc/resolv.conf
> ; generated by /sbin/dhclient-script
> nameserver 216.234.192.92
> nameserver 216.234.213.130
> [karl@k5di ~]$
> [karl@k5di ~]$
> 
> It all looks fine to me.

Looks reasonable.  Another thing to check is "/etc/nsswitch.conf" and
look for the line beginning with "hosts", here is mine:

hosts:      files dns

This means, first try the hosts file to resolve the name, then try DNS.

-- 
(This laptop runs FC7, my other boxes run FC4, FC5 & FC6, in case that's
 important to the thread.)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux