SELinux Reset

Daniel J Walsh dwalsh at
Fri Aug 7 11:00:56 UTC 2009

On 08/06/2009 06:21 PM, Peter Joseph wrote:
> While experimenting with SELinux, I finally managed to lock myself out of the
> system.  The only way to get back in, I had to add "selinux=0" to the end of
> the kernel line.
> Now, if I run in a permissive mode the following message appears when I try
> to log in:
> "Could not connect to session bus: An SELinux policy prevents this sender
> from sending this message to this recipient (rejected message had sender
> "(unset)" interface "org.freedesktop.DBus" member "Hello" error name
> "(unset)" destination "org.freedesktop.DBus)."
> I am forced to go back to the grub prompt and disable SELinux again, in
> order to get in.  What is the best way to reset SEL to its original state?
I have no idea what is going on on your system.  I would figure you either have a problem with labeling, or you 
have a problem upgrading from an older version of SELInux.

Did you upgrade or was this a fresh install?
If an Upgrade, what version to what version

Also what does

# semanage login -l 
# semodule -l | grep unconfined

More information about the fedora-selinux-list mailing list