FedoraForum.org - Fedora Support Forums and Community
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2005
    Posts
    50
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Q: SELinux is preventing gdm-session-wor (xdm_t)

    I am running FC10 in VMware and keep getting this notification popup. Do I need to take some actions on this alert?

    Or... I really want to suppress this alert, how can I do it?

    Summary:

    SELinux is preventing gdm-session-wor (xdm_t) "unlink" to ./.dmrc
    (user_home_dir_t).

    Detailed Description:

    SELinux denied access requested by gdm-session-wor. It is not expected that this
    access is required by gdm-session-wor and this access may signal an intrusion
    attempt. It is also possible that the specific version or configuration of the
    application is causing it to require additional access.

    Allowing Access:

    Sometimes labeling problems can cause SELinux denials. You could try to restore
    the default system file context for ./.dmrc,

    restorecon -v './.dmrc'

    If this does not work, there is currently no automatic way to allow this access.
    Instead, you can generate a local policy module to allow this access - see FAQ
    (http://fedora.redhat.com/docs/selinu...fc5/#id2961385) Or you can disable
    SELinux protection altogether. Disabling SELinux protection is not recommended.
    Please file a bug report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi)
    against this package.

    Additional Information:

    Source Context system_u:system_r:xdm_t:s0-s0:c0.c1023
    Target Context system_u:object_r:user_home_dir_t:s0
    Target Objects ./.dmrc [ file ]
    Source gdm-session-wor
    Source Path /usr/libexec/gdm-session-worker
    Port <Unknown>
    Host vm-neo-fedora
    Source RPM Packages gdm-2.24.0-12.fc10
    Target RPM Packages
    Policy RPM selinux-policy-3.5.13-18.fc10
    Selinux Enabled True
    Policy Type targeted
    MLS Enabled True
    Enforcing Mode Enforcing
    Plugin Name catchall_file
    Host Name vm-neo-fedora
    Platform Linux vm-neo-fedora 2.6.27.5-117.fc10.i686 #1 SMP
    Tue Nov 18 12:19:59 EST 2008 i686 i686
    Alert Count 10
    First Seen Wed 15 Oct 2008 01:50:19 AM CST
    Last Seen Wed 15 Oct 2008 09:46:28 AM CST
    Local ID 23420ab4-c7a8-4480-8249-c38b939d7538
    Line Numbers

    Raw Audit Messages

    node=vm-neo-fedora type=AVC msg=audit(1224035188.487:87): avc: denied { unlink } for pid=3724 comm="gdm-session-wor" name=".dmrc" dev=dm-0 ino=45137 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:user_home_dir_t:s0 tclass=file

    node=vm-neo-fedora type=SYSCALL msg=audit(1224035188.487:87): arch=40000003 syscall=38 success=no exit=-13 a0=86b8c18 a1=86b8e48 a2=a3b6dc a3=1 items=0 ppid=3687 pid=3724 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=3 comm="gdm-session-wor" exe="/usr/libexec/gdm-session-worker" subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)

  2. #2
    Join Date
    May 2008
    Posts
    621
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The file ~/.dmrc appears to have a wrong label. it should probably be "user_home_t"

    Setroubleshoot suggested: /sbin/restorecon -v ~/.dmrc

    This should solve this issue.

    You might want to restorecon the context of the whole /home mountpoint:

    /sbin/restorecon -R -v /home

    hth
    Come join us on #fedora-selinux on irc.freenode.org
    http://docs.fedoraproject.org/selinu...ide/f10/en-US/

  3. #3
    Join Date
    May 2005
    Posts
    50
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks.

    Anyway, I disabled the setrouble service and I am not bothered any more.

Similar Threads

  1. SELinux is preventing xcas from loading
    By dbernier in forum Linux Chat
    Replies: 4
    Last Post: 30th April 2009, 01:28 PM
  2. SElinux is preventing...
    By Beralus in forum Security and Privacy
    Replies: 4
    Last Post: 18th November 2008, 09:24 AM
  3. SELinux is preventing...
    By T3256 in forum Security and Privacy
    Replies: 16
    Last Post: 19th October 2008, 04:50 AM
  4. selinux preventing lircmd
    By kwhiskers in forum Security and Privacy
    Replies: 2
    Last Post: 17th November 2007, 08:47 AM
  5. SELinux preventing syslog?
    By pobbz in forum Security and Privacy
    Replies: 2
    Last Post: 23rd July 2006, 09:52 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •