Hi.

I've noticed a little problem when booting with selinux
enabled: /home/fedora/.bashrc would not be copied/created. When booting
with enforcing=0 all would be fine so I assume this is a selinux
problem. But I've found no entry in /var/log/messages
or /var/log/audit/audit.log.

When I create a new user with adduser the bashrc is there.

Any suggestion how to debug this? I've attached audit.log and messages
if I've overlooked something (booted with selinux=1).

Sebastian
type=DAEMON_START msg=audit(1189090435.629:164): auditd start, ver=1.6, format=raw, auid=4294967295 pid=2390 res=success, auditd pid=2390
type=CONFIG_CHANGE msg=audit(1189090435.737:6): audit_enabled=1 old=0 by auid=4294967295 subj=system_u:system_r:auditd_t:s0 res=1
type=CONFIG_CHANGE msg=audit(1189090435.737:7): audit_enabled=1 old=0 by auid=4294967295 res=1
type=CONFIG_CHANGE msg=audit(1189090435.792:8): audit_backlog_limit=320 old=64 by auid=4294967295 subj=system_u:system_r:auditctl_t:s0 res=1
type=CONFIG_CHANGE msg=audit(1189090435.793:9): audit_backlog_limit=320 old=64 by auid=4294967295 res=1
type=ANOM_ABEND msg=audit(1189090446.958:10): auid=4294967295 uid=499 gid=497 subj=system_u:system_r:avahi_t:s0 pid=2739 comm="avahi-daemon" sig=11
type=USER_AUTH msg=audit(1189090479.378:11): user pid=2966 uid=0 auid=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:authentication acct=fedora exe="/usr/bin/kdm" (hostname=?, addr=?, terminal=:0 res=success)'
type=USER_ACCT msg=audit(1189090479.414:12): user pid=2966 uid=0 auid=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:accounting acct=fedora exe="/usr/bin/kdm" (hostname=?, addr=?, terminal=:0 res=success)'
type=AVC msg=audit(1189090480.030:13): avc:  denied  { ptrace } for  pid=2978 comm="pidof" scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tclass=process
type=SYSCALL msg=audit(1189090480.030:13): arch=40000003 syscall=85 success=no exit=-13 a0=bfa833c8 a1=88fe5e8 a2=1000 a3=88fe428 items=0 ppid=2974 pid=2978 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) comm="pidof" exe="/sbin/killall5" subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)
type=AVC msg=audit(1189090480.034:14): avc:  denied  { ptrace } for  pid=2978 comm="pidof" scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tclass=process
type=SYSCALL msg=audit(1189090480.034:14): arch=40000003 syscall=85 success=no exit=-13 a0=bfa833c8 a1=88ff5f0 a2=1000 a3=88fe458 items=0 ppid=2974 pid=2978 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) comm="pidof" exe="/sbin/killall5" subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)
type=AVC msg=audit(1189090480.037:15): avc:  denied  { ptrace } for  pid=2978 comm="pidof" scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tclass=process
type=SYSCALL msg=audit(1189090480.037:15): arch=40000003 syscall=85 success=no exit=-13 a0=bfa833c8 a1=89005f8 a2=1000 a3=88fe4a8 items=0 ppid=2974 pid=2978 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) comm="pidof" exe="/sbin/killall5" subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)
type=CRED_ACQ msg=audit(1189090480.098:16): user pid=2966 uid=0 auid=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:setcred acct=fedora exe="/usr/bin/kdm" (hostname=?, addr=?, terminal=:0 res=success)'
type=LOGIN msg=audit(1189090480.123:17): login pid=2966 uid=0 old auid=4294967295 new auid=500
type=USER_ROLE_CHANGE msg=audit(1189090480.313:18): user pid=2966 uid=0 auid=500 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='pam: default-context=system_u:system_r:unconfined_t:s0 selected-context=system_u:system_r:unconfined_t:s0: exe="/usr/bin/kdm" (hostname=?, addr=?, terminal=? res=success)'
type=USER_START msg=audit(1189090480.365:19): user pid=2966 uid=0 auid=500 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:session_open acct=fedora exe="/usr/bin/kdm" (hostname=?, addr=?, terminal=:0 res=success)'
type=USER_AUTH msg=audit(1189090602.753:20): user pid=3412 uid=500 auid=500 subj=system_u:system_r:unconfined_t:s0 msg='op=PAM:authentication acct=root exe="/bin/su" (hostname=?, addr=?, terminal=pts/1 res=success)'
type=USER_ACCT msg=audit(1189090602.758:21): user pid=3412 uid=500 auid=500 subj=system_u:system_r:unconfined_t:s0 msg='op=PAM:accounting acct=root exe="/bin/su" (hostname=?, addr=?, terminal=pts/1 res=success)'
type=USER_START msg=audit(1189090602.867:22): user pid=3412 uid=500 auid=500 subj=system_u:system_r:unconfined_t:s0 msg='op=PAM:session_open acct=root exe="/bin/su" (hostname=?, addr=?, terminal=pts/1 res=success)'
type=CRED_ACQ msg=audit(1189090602.869:23): user pid=3412 uid=500 auid=500 subj=system_u:system_r:unconfined_t:s0 msg='op=PAM:setcred acct=root exe="/bin/su" (hostname=?, addr=?, terminal=pts/1 res=success)'
type=USER_CHAUTHTOK msg=audit(1189090607.396:24): user pid=3437 uid=0 auid=500 subj=system_u:system_r:unconfined_t:s0 msg='op=adding user acct=testuser exe="/usr/sbin/useradd" (hostname=?, addr=?, terminal=pts/1 res=success)'
type=USER_CHAUTHTOK msg=audit(1189090607.902:25): user pid=3437 uid=0 auid=500 subj=system_u:system_r:unconfined_t:s0 msg='op=adding home directory acct=testuser exe="/usr/sbin/useradd" (hostname=?, addr=?, terminal=pts/1 res=success)'

Attachment: messages
Description: Binary data

Attachment: signature.asc
Description: PGP signature

--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list

Reply via email to