SELinux Attack!

Karl Larsen k5di at zianet.com
Fri Oct 12 18:31:32 UTC 2007


Thomas Cameron wrote:
> On Fri, 2007-10-12 at 09:24 -0600, Karl Larsen wrote:
>
>   
>> Yes the ONLY problem is that a F7 that was working just fine all by 
>> itself found it can not locate cups. After 10 minutes it does find cups 
>> but then it can't find sendmail for around 5 minutes. Then it comes up 
>> very slow and when clear up into xwindows it still doesn't all work. 
>> When it got to a point I could operate the SELinux control panels I 
>> tried to turn SELinux off. To see what happens. Well just now looking at 
>> dmesg the dam SELinux is not turned off! So what is the best way to make 
>> sure this thing is turned off?
>>     
>
> Karl -
>
> 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 at 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 at k5di ~]$

[karl at 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
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=2 ttl=64 
time=0.064 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=3 ttl=64 
time=0.066 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=4 ttl=64 
time=0.060 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=5 ttl=64 
time=0.065 ms

--- localhost.localdomain ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4000ms
rtt min/avg/max/mdev = 0.060/0.063/0.066/0.002 ms
[karl at k5di ~]$

OK how much money were you going to send :-)

[karl at k5di ~]$ cat /etc/resolv.conf
; generated by /sbin/dhclient-script
nameserver 216.234.192.92
nameserver 216.234.213.130
[karl at k5di ~]$
[karl at k5di ~]$

It all looks fine to me.





-- 

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.




More information about the fedora-list mailing list