fedora-users September 2011 archive
Main Archive Page > Month Archives  > fedora-users archives
fedora-users: Re: DNS mystery: NetworkManager vs SELinux

Re: DNS mystery: NetworkManager vs SELinux

From: D. Hugh Redelmeier <hugh_at_nospam>
Date: Fri Sep 16 2011 - 02:28:33 GMT
To: Community support for Fedora users <users@lists.fedoraproject.org>

| From: Daniel J Walsh <dwalsh@redhat.com>

| Well I just tried to run NetworkManager as root and see something
| similar, although I also end up with the resolv.conf having bogus data
| in it. I can fix F16 to label this correctly if it happens. But we
| can not fix this in F15.

I'm glad you can fix it. It won't affect me in the future: I don't
imagine I'll be so dumb as to manually run NM when it is already

Is fixing it in SELinux policy the right way of doing this? I would
have guessed that it was a Network Manager bug(s):

- if it cannot be *the* Network Manager, it shouldn't write to

- if it cannot update /etc/resolv.conf, it should

  1) complain in some noticable way (it currently logs this in
     /var/log/messages, but that isn't very visible, especially
     considering the amount of other spew it puts in there)

  2) not show status as hunky dorry.

| If setroubleshoot was running you would see a message in
| /var/log/messages about selinux preventing some access, you should
| also see the setroubleshoot blob down the bottom of the screen and if
| you move your mouse to the bottom right hand corner, you should see a
| menu appear and have the "CheckEngineLight" logo for setroubleshoot.

I don't see that. So I guess that it isn't running.

ps doesn't show it running. I assume that it is a daemon that should
be running all the time.

| yum install setroubleshoot
| Will install the package although I thought it was part of the default
| desktop.

It was installed.

I can manually run it and it reports (retrospecively) the problem.

Under System Settings (or any other GUI System Tool) I don't see a way of
setting what should be run when starting a session.
-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines