Re: SELinux preventing login (Fedora 16)

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

 



On Wed, Apr 11, 2012 at 03:37:45PM -0400, Braden McDaniel wrote:
> On Wed, 2012-04-11 at 15:25 -0400, Daniel J Walsh wrote:
> > Are you booted with SELinux in permissive mode of disabled?
> 
> I'm booted with it disabled:
> 
>         # cat /etc/selinux/config | grep disabled
>         #     disabled - No SELinux policy is loaded.
>         SELINUX=disabled
> 
> > ausearch -m avc
> 
> That's long; I'll attach it.

You might want to try this as root first, after saving your work:

  touch /.autorelabel ; reboot

Running SELinux disabled is unnecessary.  Running in permissive mode
is much better, since it allows you to switch back and forth without
labeling problems.

When you run in disabled mode, SELinux labels aren't written to the
disk when files are created, so when you try to turn SELinux on later,
it results in lots of denial errors.  Permissive mode does pretty much
the same thing as enforcing mode, but any denials are ignored, so
SELinux won't prevent access.


-- 
Paul W. Frields                                http://paul.frields.org/
  gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
  http://redhat.com/   -  -  -  -   http://pfrields.fedorapeople.org/
    The open source story continues to grow: http://opensource.com
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux