Bug 909648 - xguest not working on Fedora 18
Summary: xguest not working on Fedora 18
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: xguest
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-10 04:06 UTC by Amit Saha
Modified: 2015-07-26 22:15 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-04-29 06:24:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Secure Log (2.44 KB, text/x-log)
2013-02-14 16:28 UTC, Rob
no flags Details
Audit Log (2.33 KB, text/x-log)
2013-02-14 16:29 UTC, Rob
no flags Details

Description Amit Saha 2013-02-10 04:06:27 UTC
Description of problem:

I can't seem to login as "Guest" either on GNOME 3 on Fedora 18 or the Fedora 18 remix with XFCE. When I select "Guest" from the  GDM login screen, it waits a while before coming back with error message saying "A problem has occurred.. and the system can't recover"..   

My system is yum updated at the point of filing this bug. SELinux is in enforcing mode and I see that xguest is mapped to the SELinux user xguest_u. 

It seems to work fine on my Fedora 17 installation which I also tried. 

Note that, I am talking about "out of the box" experience in both cases. I did not make any changes to the policies.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Install xguest
2. Choose "Guest" as the user while logging in.
3.
  
Actual results:

Crash.


Expected results:

GDM Session with xguest.

Additional info:

Comment 1 Miroslav Grepl 2013-02-11 07:35:34 UTC
Could try to look for AVC msgs?

Comment 2 Rob 2013-02-14 11:34:03 UTC
Also happens to me, no way to enter Guest account, have not found any "denied" warnings in /var/log/audit/audit.log

Comment 3 Daniel Walsh 2013-02-14 13:51:57 UTC
What does /var/log/secure say?

Also ps -eZ | grep xguest

See if you have any xguest_t processes running.

Comment 4 Rob 2013-02-14 16:28:14 UTC
Created attachment 697281 [details]
Secure Log

Attached secure.log

Comment 5 Rob 2013-02-14 16:29:24 UTC
Created attachment 697282 [details]
Audit Log

audit.log grep guest
audit.log grep denied nothing shows

Comment 6 Rob 2013-02-14 16:30:08 UTC
ps -eZ | grep xguest does not show nothing

Comment 7 Daniel Walsh 2013-02-15 15:31:10 UTC
d5f9b542848ab6260451ac1a082c76496333ea99
8014d39532e3582e4ec167393c53ebb813c392ce
496b1c4d62435b3b0dd959da9354348a388addf9


Needed from Rawhide to make xguest work again.

Comment 8 Miroslav Grepl 2013-02-15 15:37:23 UTC
backported.

Comment 9 Rob 2013-02-16 10:33:19 UTC
Fixed the issue by these steps (TESTED ON A VIRTUAL MACHINE NOT IN MY PRODUCTION MACHINE, I AM NO SELINUX EXPERT SO MAYBE THESE STEPS ARE NO REALLY GOOD)

1) First we make sure we do not have any denied logs in audit

    “cat /var/log/audit/audit.log | grep denied”

2) Disable the dontaudit rules

    “semodule -DB”

3) Change user and enter Guest session until error occurs

4) Enter to your user again and allow all the denied logs

    “grep denied /var/log/audit/audit.log | audit2allow -M xguest”
    “semodule -i xguest.pp”

5) Enable dontaudit rules again

     “semodule -B”

No you can enter the guest session and until now have not found any issues.

Comment 10 Dag Odenhall 2013-04-04 15:50:22 UTC
(In reply to comment #7)
> d5f9b542848ab6260451ac1a082c76496333ea99
> 8014d39532e3582e4ec167393c53ebb813c392ce
> 496b1c4d62435b3b0dd959da9354348a388addf9
> 
> 
> Needed from Rawhide to make xguest work again.

What's that mean?  Is it supposed to be fixed now?  I'm having this problem as well, on F18 with updates (but not updates-testing).

Comment 11 Miroslav Grepl 2013-04-08 09:35:10 UTC
# rpm -q selinux-policy

Fixes have been added to F18.

Comment 12 Dag Odenhall 2013-04-09 06:39:48 UTC
(In reply to comment #11)
> # rpm -q selinux-policy
> 
> Fixes have been added to F18.

Installed selinux-policy-3.11.1-87.fc18.noarch from updates-tesping; xguest logins still crash.

Comment 13 Dag Odenhall 2013-04-09 06:40:20 UTC
(In reply to comment #11)
> # rpm -q selinux-policy
> 
> Fixes have been added to F18.

Installed selinux-policy-3.11.1-87.fc18.noarch from updates-testing; xguest logins still crash.

Comment 14 Dag Odenhall 2013-04-27 20:18:19 UTC
I just had it working after booting with nomodeset.  It's also always worked in my F19 VM (except for bug 954095) which I thought was that it was fixed in F19/rawhide, but now I realize that the VM is also nomodeset.

Comment 15 Amit Saha 2013-04-29 06:30:56 UTC
Just tried it on F18 with MATE. It works. 

Package Versions: 

xguest-1.0.10-5.fc18.noarch
selinux-policy-3.11.1-91.fc18.noarch


I will try on a GNOME 3 installation and update.

Comment 16 Dag Odenhall 2013-04-29 09:25:30 UTC
Why closed?  It's still not working for me with KMS.


Note You need to log in before you can comment on or make changes to this bug.