Bug 683154 - pam_keyringd and confined users
Summary: pam_keyringd and confined users
Keywords:
Status: CLOSED DUPLICATE of bug 684225
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-keyring
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomáš Bžatek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-08 17:22 UTC by Miroslav Grepl
Modified: 2015-03-03 22:58 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-03-11 16:23:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Miroslav Grepl 2011-03-08 17:22:24 UTC
Description of problem:

gnome-keyring-daemon is running in staff_t domain instead of staff_gkeyringd_t domain.


How reproducible:

Steps to Reproduce:
1. Setup an user to log in as staff_u
2. Log in as this user
3. Check /var/log/audit/audit.log


Actual results:

type=AVC msg=audit(1299604503.493:145): avc:  denied  { ipc_lock } for  pid=1486 comm="gnome-keyring-d" capability=14  scontext=staff_u:staff_r:staff_t:s0-s0:c0.c1023 tcontext=staff_u:staff_r:staff_t:s0-s0:c0.c1023 tclass=capability

type=SYSCALL msg=audit(1299604503.493:145): arch=c000003e syscall=149
success=yes exit=0 a0=7f2e63079000 a1=4000 a2=3 a3=22 items=0 ppid=1478 pid=1486 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="gnome-keyring-d" exe="/usr/bin/gnome-keyring-daemon" subj=staff_u:staff_r:staff_t:s0-s0:c0.c1023 key=(null)

Additional info:

One solution is change pam_keyringd to execute "sh -c keyring"

Comment 1 Tomáš Bžatek 2011-03-11 16:23:06 UTC
Thanks for reporting this, bug 684225 has a patch ;-)

*** This bug has been marked as a duplicate of bug 684225 ***


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