Re: reset date and time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2005-09-22 at 08:40 -0400, Matthew Saltzman wrote:
> On Thu, 22 Sep 2005, Ben Stringer wrote:
> 
> > On Thu, 2005-09-22 at 16:39 +1000, Yuandan Zhang wrote:
> >>>
> >>> Your settings look fine here. Same as mine, except I am in Melbourne.
> >>>
> >>> Try (as root):
> >>>
> >>> hwclock --debug
> >>>
> >>> and post the results.
> >>>
> >>> It may be the problem specific to your hardware stopping you setting the
> >>> clock.
> >>>
> >>> Also, if you run "hwclock" by itself, does it display the correct time?
> >>>
> >>> You can see the commands executed at shutdown (including the syncing of
> >>> the hardware clock) in /etc/init.d/halt if this is helpful in debugging
> >>> your problem.
> >>>
> >>> Cheers, Ben
> >>
> >> hwclock --debug produced NO error message
> >
> > That's good, but posting the results (output) will make it easier to
> > work out what the problem is.
> 
> Also, what is in /etc/sysconfig/clock?
> 
> Also, do you have the latest selinux-policy-targeted update installed?
> 
The hwclock can't work at text consoles, for example

hwclock --show => Error unable to connect to audit system
but the same command line at a xterm, gave no error message.

during halt, the hwcolck --systohc --localtime 

syncring hardware time to system time  [FAILED]

I have worked around with selinux settings. I disable the enforcing,
then the hwclock command works ok. the time setting is back to normal
order.


my selinux ploicy is selinux-policy-targeted-1.23.16-6, there is update
available: 

policycoreutils.i386                     1.23.11-3.2       
selinux-policy-targeted.noarch           1.25.4-10.1

haven't updated yet. 


it seems still some problem with auditd (see below log info)

type=AVC msg=audit(1127479440.209:1208626): avc:  denied  { search } for
pid=3785 comm="hwclock" name=root dev=hda6 ino=1912545
scontext=root:system_r:hwclock_t tcontext=root:object_r:user_home_dir_t
tclass=dir
type=SYSCALL msg=audit(1127479440.209:1208626): arch=40000003 syscall=5
success=no exit=-13 a0=bffe1130 a1=0 a2=0 a3=2 items=1 pid=3785 auid=0
uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 comm="hwclock"
exe="/sbin/hwclock"
type=PATH msg=audit(1127479440.209:1208626): item=0
name="i686/libaudit.so.0" inode=1912545 dev=03:06 mode=040750 ouid=0
ogid=0 rdev=00:00
type=AVC msg=audit(1127479440.209:1208645): avc:  denied  { search } for
pid=3785 comm="hwclock" name=root dev=hda6 ino=1912545
scontext=root:system_r:hwclock_t tcontext=root:object_r:user_home_dir_t
tclass=dir
type=SYSCALL msg=audit(1127479440.209:1208645): arch=40000003 syscall=5
success=no exit=-13 a0=bffe1130 a1=0 a2=0 a3=2 items=1 pid=3785 auid=0
uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 comm="hwclock"
exe="/sbin/hwclock"
type=PATH msg=audit(1127479440.209:1208645): item=0
name="sse2/libaudit.so.0" inode=1912545 dev=03:06 mode=040750 ouid=0
ogid=0 rdev=00:00
type=AVC msg=audit(1127479440.210:1208664): avc:  denied  { search } for
pid=3785 comm="hwclock" name=root dev=hda6 ino=1912545
scontext=root:system_r:hwclock_t tcontext=root:object_r:user_home_dir_t
tclass=dir
type=SYSCALL msg=audit(1127479440.210:1208664): arch=40000003 syscall=5
success=no exit=-13 a0=bffe1130 a1=0 a2=0 a3=2 items=1 pid=3785 auid=0
uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 comm="hwclock"
exe="/sbin/hwclock"
type=PATH msg=audit(1127479440.210:1208664): item=0 name="libaudit.so.0"
inode=1912545 dev=03:06 mode=040750 ouid=0 ogid=0 rdev=00:00
type=AVC msg=audit(1127479440.210:1208701): avc:  denied  { search } for
pid=3785 comm="hwclock" name=root dev=hda6 ino=1912545
scontext=root:system_r:hwclock_t tcontext=root:object_r:user_home_dir_t
tclass=dir
type=SYSCALL msg=audit(1127479440.210:1208701): arch=40000003 syscall=5
success=no exit=-13 a0=bffe1110 a1=0 a2=d14000 a3=2 items=1 pid=3785
auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
comm="hwclock" exe="/sbin/hwclock"
type=PATH msg=audit(1127479440.210:1208701): item=0
name="tls/i686/sse2/libc.so.6" inode=1912545 dev=03:06 mode=040750
ouid=0 ogid=0 rdev=00:00
type=AVC msg=audit(1127479440.210:1208720): avc:  denied  { search } for
pid=3785 comm="hwclock" name=root dev=hda6 ino=1912545
scontext=root:system_r:hwclock_t tcontext=root:object_r:user_home_dir_t
tclass=dir
type=SYSCALL msg=audit(1127479440.210:1208720): arch=40000003 syscall=5
success=no exit=-13 a0=bffe1110 a1=0 a2=d14000 a3=2 items=1 pid=3785
auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
comm="hwclock" exe="/sbin/hwclock"
type=PATH msg=audit(1127479440.210:1208720): item=0
name="tls/i686/libc.so.6" inode=1912545 dev=03:06 mode=040750 ouid=0
ogid=0 rdev=00:00
type=AVC msg=audit(1127479440.211:1208739): avc:  denied  { search } for
pid=3785 comm="hwclock" name=root dev=hda6 ino=1912545
scontext=root:system_r:hwclock_t tcontext=root:object_r:user_home_dir_t
tclass=dir
type=SYSCALL msg=audit(1127479440.211:1208739): arch=40000003 syscall=5
success=no exit=-13 a0=bffe1110 a1=0 a2=d14000 a3=2 items=1 pid=3785
auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
comm="hwclock" exe="/sbin/hwclock"
type=PATH msg=audit(1127479440.211:1208739): item=0
name="tls/sse2/libc.so.6" inode=1912545 dev=03:06 mode=040750 ouid=0
ogid=0 rdev=00:00
type=AVC msg=audit(1127479440.211:1208758): avc:  denied  { search } for
pid=3785 comm="hwclock" name=root dev=hda6 ino=1912545
scontext=root:system_r:hwclock_t tcontext=root:object_r:user_home_dir_t
tclass=dir
type=SYSCALL msg=audit(1127479440.211:1208758): arch=40000003 syscall=5
success=no exit=-13 a0=bffe1110 a1=0 a2=d14000 a3=2 items=1 pid=3785
auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
comm="hwclock" exe="/sbin/hwclock"
type=PATH msg=audit(1127479440.211:1208758): item=0 name="tls/libc.so.6"
inode=1912545 dev=03:06 mode=040750 ouid=0 ogid=0 rdev=00:00
type=AVC msg=audit(1127479440.211:1208777): avc:  denied  { search } for
pid=3785 comm="hwclock" name=root dev=hda6 ino=1912545
scontext=root:system_r:hwclock_t tcontext=root:object_r:user_home_dir_t
tclass=dir
type=SYSCALL msg=audit(1127479440.211:1208777): arch=40000003 syscall=5
success=no exit=-13 a0=bffe1110 a1=0 a2=d14000 a3=2 items=1 pid=3785
auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
comm="hwclock" exe="/sbin/hwclock"
type=PATH msg=audit(1127479440.211:1208777): item=0
name="i686/sse2/libc.so.6" inode=1912545 dev=03:06 mode=040750 ouid=0
ogid=0 rdev=00:00
type=AVC msg=audit(1127479440.211:1208796): avc:  denied  { search } for
pid=3785 comm="hwclock" name=root dev=hda6 ino=1912545
scontext=root:system_r:hwclock_t tcontext=root:object_r:user_home_dir_t
tclass=dir
type=SYSCALL msg=audit(1127479440.211:1208796): arch=40000003 syscall=5
success=no exit=-13 a0=bffe1110 a1=0 a2=d14000 a3=2 items=1 pid=3785
auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
comm="hwclock" exe="/sbin/hwclock"
type=PATH msg=audit(1127479440.211:1208796): item=0
name="i686/libc.so.6" inode=1912545 dev=03:06 mode=040750 ouid=0 ogid=0
rdev=00:00
type=AVC msg=audit(1127479440.211:1208815): avc:  denied  { search } for
pid=3785 comm="hwclock" name=root dev=hda6 ino=1912545
scontext=root:system_r:hwclock_t tcontext=root:object_r:user_home_dir_t
tclass=dir
type=SYSCALL msg=audit(1127479440.211:1208815): arch=40000003 syscall=5
success=no exit=-13 a0=bffe1110 a1=0 a2=d14000 a3=2 items=1 pid=3785
auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
comm="hwclock" exe="/sbin/hwclock"
type=PATH msg=audit(1127479440.211:1208815): item=0
name="sse2/libc.so.6" inode=1912545 dev=03:06 mode=040750 ouid=0 ogid=0
rdev=00:00
type=AVC msg=audit(1127479440.212:1208834): avc:  denied  { search } for
pid=3785 comm="hwclock" name=root dev=hda6 ino=1912545
scontext=root:system_r:hwclock_t tcontext=root:object_r:user_home_dir_t
tclass=dir
type=SYSCALL msg=audit(1127479440.212:1208834): arch=40000003 syscall=5
success=no exit=-13 a0=bffe1110 a1=0 a2=d14000 a3=2 items=1 pid=3785
auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
comm="hwclock" exe="/sbin/hwclock"
type=PATH msg=audit(1127479440.212:1208834): item=0 name="libc.so.6"
inode=1912545 dev=03:06 mode=040750 ouid=0 ogid=0 rdev=00:00
type=AVC msg=audit(1127479440.212:1208866): avc:  denied  { create } for
pid=3785 comm="hwclock" scontext=root:system_r:hwclock_t
tcontext=root:system_r:hwclock_t tclass=netlink_audit_socket
type=SYSCALL msg=audit(1127479440.212:1208866): arch=40000003
syscall=102 success=no exit=-13 a0=1 a1=bffe1930 a2=d140f8 a3=7aeca0
items=0 pid=3785 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0
fsgid=0 comm="hwclock" exe="/sbin/hwclock"
type=SOCKETCALL msg=audit(1127479440.212:1208866): nargs=3 a0=10 a1=3
a2=9
type=AVC msg=audit(1127479521.784:1274179): avc:  denied  { search } for
pid=3801 comm="hwclock" name=yzhang4 dev=hda9 ino=387841
scontext=root:system_r:hwclock_t tcontext=root:object_r:user_home_dir_t
tclass=dir
type=SYSCALL msg=audit(1127479521.784:1274179): arch=40000003 syscall=5
success=no exit=-13 a0=bfac2a80 a1=0 a2=0 a3=2 items=1 pid=3801
auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
comm="hwclock" exe="/sbin/hwclock"
type=PATH msg=audit(1127479521.784:1274179): item=0
name="tls/i686/sse2/libaudit.so.0" inode=387841 dev=03:09 mode=040700
ouid=500 ogid=500 rdev=00:00
type=AVC msg=audit(1127479521.785:1274198): avc:  denied  { search } for
pid=3801 comm="hwclock" name=yzhang4 dev=hda9 ino=387841
scontext=root:system_r:hwclock_t tcontext=root:object_r:user_home_dir_t
tclass=dir
type=SYSCALL msg=audit(1127479521.785:1274198): arch=40000003 syscall=5
success=no exit=-13 a0=bfac2a80 a1=0 a2=0 a3=2 items=1 pid=3801
auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
comm="hwclock" exe="/sbin/hwclock"
type=PATH msg=audit(1127479521.785:1274198): item=0
name="tls/i686/libaudit.so.0" inode=387841 dev=03:09 mode=040700
ouid=500 ogid=500 rdev=00:00
type=AVC msg=audit(1127479521.785:1274217): avc:  denied  { search } for
pid=3801 comm="hwclock" name=yzhang4 dev=hda9 ino=387841
scontext=root:system_r:hwclock_t tcontext=root:object_r:user_home_dir_t
tclass=dir
type=SYSCALL msg=audit(1127479521.785:1274217): arch=40000003 syscall=5
success=no exit=-13 a0=bfac2a80 a1=0 a2=0 a3=2 items=1 pid=3801
auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
comm="hwclock" exe="/sbin/hwclock"
type=PATH msg=audit(1127479521.785:1274217): item=0
name="tls/sse2/libaudit.so.0" inode=387841 dev=03:09 mode=040700
ouid=500 ogid=500 rdev=00:00
type=AVC msg=audit(1127479521.785:1274236): avc:  denied  { search } for
pid=3801 comm="hwclock" name=yzhang4 dev=hda9 ino=387841
scontext=root:system_r:hwclock_t tcontext=root:object_r:user_home_dir_t
tclass=dir
type=SYSCALL msg=audit(1127479521.785:1274236): arch=40000003 syscall=5
success=no exit=-13 a0=bfac2a80 a1=0 a2=0 a3=2 items=1 pid=3801
auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
comm="hwclock" exe="/sbin/hwclock"
type=PATH msg=audit(1127479521.785:1274236): item=0
name="tls/libaudit.so.0" inode=387841 dev=03:09 mode=040700 ouid=500
ogid=500 rdev=00:00
type=AVC msg=audit(1127479521.785:1274255): avc:  denied  { search } for
pid=3801 comm="hwclock" name=yzhang4 dev=hda9 ino=387841
scontext=root:system_r:hwclock_t tcontext=root:object_r:user_home_dir_t
tclass=dir
type=SYSCALL msg=audit(1127479521.785:1274255): arch=40000003 syscall=5
success=no exit=-13 a0=bfac2a80 a1=0 a2=0 a3=2 items=1 pid=3801
auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
comm="hwclock" exe="/sbin/hwclock"
type=PATH msg=audit(1127479521.785:1274255): item=0
name="i686/sse2/libaudit.so.0" inode=387841 dev=03:09 mode=040700
ouid=500 ogid=500 rdev=00:00
type=AVC msg=audit(1127479521.786:1274274): avc:  denied  { search } for
pid=3801 comm="hwclock" name=yzhang4 dev=hda9 ino=387841
scontext=root:system_r:hwclock_t tcontext=root:object_r:user_home_dir_t
tclass=dir
type=SYSCALL msg=audit(1127479521.786:1274274): arch=40000003 syscall=5
success=no exit=-13 a0=bfac2a80 a1=0 a2=0 a3=2 items=1 pid=3801
auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
comm="hwclock" exe="/sbin/hwclock"
type=PATH msg=audit(1127479521.786:1274274): item=0
name="i686/libaudit.so.0" inode=387841 dev=03:09 mode=040700 ouid=500
ogid=500 rdev=00:00
type=AVC msg=audit(1127479521.786:1274293): avc:  denied  { search } for
pid=3801 comm="hwclock" name=yzhang4 dev=hda9 ino=387841
scontext=root:system_r:hwclock_t tcontext=root:object_r:user_home_dir_t
tclass=dir
type=SYSCALL msg=audit(1127479521.786:1274293): arch=40000003 syscall=5
success=no exit=-13 a0=bfac2a80 a1=0 a2=0 a3=2 items=1 pid=3801
auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
comm="hwclock" exe="/sbin/hwclock"
type=PATH msg=audit(1127479521.786:1274293): item=0
name="sse2/libaudit.so.0" inode=387841 dev=03:09 mode=040700 ouid=500
ogid=500 rdev=00:00
type=AVC msg=audit(1127479521.786:1274312): avc:  denied  { search } for
pid=3801 comm="hwclock" name=yzhang4 dev=hda9 ino=387841
scontext=root:system_r:hwclock_t tcontext=root:object_r:user_home_dir_t
tclass=dir
type=SYSCALL msg=audit(1127479521.786:1274312): arch=40000003 syscall=5
success=no exit=-13 a0=bfac2a80 a1=0 a2=0 a3=2 items=1 pid=3801
auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
comm="hwclock" exe="/sbin/hwclock"
type=PATH msg=audit(1127479521.786:1274312): item=0 name="libaudit.so.0"
inode=387841 dev=03:09 mode=040700 ouid=500 ogid=500 rdev=00:00
type=AVC msg=audit(1127479521.787:1274349): avc:  denied  { search } for
pid=3801 comm="hwclock" name=yzhang4 dev=hda9 ino=387841
scontext=root:system_r:hwclock_t tcontext=root:object_r:user_home_dir_t
tclass=dir
type=SYSCALL msg=audit(1127479521.787:1274349): arch=40000003 syscall=5
success=no exit=-13 a0=bfac2a60 a1=0 a2=d14000 a3=2 items=1 pid=3801
auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
comm="hwclock" exe="/sbin/hwclock"
type=PATH msg=audit(1127479521.787:1274349): item=0
name="tls/i686/sse2/libc.so.6" inode=387841 dev=03:09 mode=040700
ouid=500 ogid=500 rdev=00:00
type=AVC msg=audit(1127479521.787:1274368): avc:  denied  { search } for
pid=3801 comm="hwclock" name=yzhang4 dev=hda9 ino=387841
scontext=root:system_r:hwclock_t tcontext=root:object_r:user_home_dir_t
tclass=dir
type=SYSCALL msg=audit(1127479521.787:1274368): arch=40000003 syscall=5
success=no exit=-13 a0=bfac2a60 a1=0 a2=d14000 a3=2 items=1 pid=3801
auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
comm="hwclock" exe="/sbin/hwclock"
type=PATH msg=audit(1127479521.787:1274368): item=0
name="tls/i686/libc.so.6" inode=387841 dev=03:09 mode=040700 ouid=500
ogid=500 rdev=00:00
type=AVC msg=audit(1127479521.787:1274387): avc:  denied  { search } for
pid=3801 comm="hwclock" name=yzhang4 dev=hda9 ino=387841
scontext=root:system_r:hwclock_t tcontext=root:object_r:user_home_dir_t
tclass=dir
type=SYSCALL msg=audit(1127479521.787:1274387): arch=40000003 syscall=5
success=no exit=-13 a0=bfac2a60 a1=0 a2=d14000 a3=2 items=1 pid=3801
auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
comm="hwclock" exe="/sbin/hwclock"
type=PATH msg=audit(1127479521.787:1274387): item=0
name="tls/sse2/libc.so.6" inode=387841 dev=03:09 mode=040700 ouid=500
ogid=500 rdev=00:00
type=AVC msg=audit(1127479521.787:1274406): avc:  denied  { search } for
pid=3801 comm="hwclock" name=yzhang4 dev=hda9 ino=387841
scontext=root:system_r:hwclock_t tcontext=root:object_r:user_home_dir_t
tclass=dir
type=SYSCALL msg=audit(1127479521.787:1274406): arch=40000003 syscall=5
success=no exit=-13 a0=bfac2a60 a1=0 a2=d14000 a3=2 items=1 pid=3801
auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
comm="hwclock" exe="/sbin/hwclock"
type=PATH msg=audit(1127479521.787:1274406): item=0 name="tls/libc.so.6"
inode=387841 dev=03:09 mode=040700 ouid=500 ogid=500 rdev=00:00
type=AVC msg=audit(1127479521.787:1274425): avc:  denied  { search } for
pid=3801 comm="hwclock" name=yzhang4 dev=hda9 ino=387841
scontext=root:system_r:hwclock_t tcontext=root:object_r:user_home_dir_t
tclass=dir
type=SYSCALL msg=audit(1127479521.787:1274425): arch=40000003 syscall=5
success=no exit=-13 a0=bfac2a60 a1=0 a2=d14000 a3=2 items=1 pid=3801
auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
comm="hwclock" exe="/sbin/hwclock"
type=PATH msg=audit(1127479521.787:1274425): item=0
name="i686/sse2/libc.so.6" inode=387841 dev=03:09 mode=040700 ouid=500
ogid=500 rdev=00:00
type=AVC msg=audit(1127479521.788:1274444): avc:  denied  { search } for
pid=3801 comm="hwclock" name=yzhang4 dev=hda9 ino=387841
scontext=root:system_r:hwclock_t tcontext=root:object_r:user_home_dir_t
tclass=dir
type=SYSCALL msg=audit(1127479521.788:1274444): arch=40000003 syscall=5
success=no exit=-13 a0=bfac2a60 a1=0 a2=d14000 a3=2 items=1 pid=3801
auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
comm="hwclock" exe="/sbin/hwclock"
type=PATH msg=audit(1127479521.788:1274444): item=0
name="i686/libc.so.6" inode=387841 dev=03:09 mode=040700 ouid=500
ogid=500 rdev=00:00
type=AVC msg=audit(1127479521.788:1274463): avc:  denied  { search } for
pid=3801 comm="hwclock" name=yzhang4 dev=hda9 ino=387841
scontext=root:system_r:hwclock_t tcontext=root:object_r:user_home_dir_t
tclass=dir
type=SYSCALL msg=audit(1127479521.788:1274463): arch=40000003 syscall=5
success=no exit=-13 a0=bfac2a60 a1=0 a2=d14000 a3=2 items=1 pid=3801
auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
comm="hwclock" exe="/sbin/hwclock"
type=PATH msg=audit(1127479521.788:1274463): item=0
name="sse2/libc.so.6" inode=387841 dev=03:09 mode=040700 ouid=500
ogid=500 rdev=00:00
type=AVC msg=audit(1127479521.788:1274482): avc:  denied  { search } for
pid=3801 comm="hwclock" name=yzhang4 dev=hda9 ino=387841
scontext=root:system_r:hwclock_t tcontext=root:object_r:user_home_dir_t
tclass=dir
type=SYSCALL msg=audit(1127479521.788:1274482): arch=40000003 syscall=5
success=no exit=-13 a0=bfac2a60 a1=0 a2=d14000 a3=2 items=1 pid=3801
auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
comm="hwclock" exe="/sbin/hwclock"
type=PATH msg=audit(1127479521.788:1274482): item=0 name="libc.so.6"
inode=387841 dev=03:09 mode=040700 ouid=500 ogid=500 rdev=00:00
type=AVC msg=audit(1127479521.789:1274514): avc:  denied  { create } for
pid=3801 comm="hwclock" scontext=root:system_r:hwclock_t
tcontext=root:system_r:hwclock_t tclass=netlink_audit_socket
type=SYSCALL msg=audit(1127479521.789:1274514): arch=40000003
syscall=102 success=no exit=-13 a0=1 a1=bfac3280 a2=d140f8 a3=7aeca0
items=0 pid=3801 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0
egid=0 sgid=0 fsgid=0 comm="hwclock" exe="/sbin/hwclock"
type=SOCKETCALL msg=audit(1127479521.789:1274514): nargs=3 a0=10 a1=3
a2=9
type=USER_AUTH msg=audit(1127479780.695:1891982): user pid=3886 uid=500
auid=4294967295 msg='PAM authentication: user=root
exe="/usr/sbin/userhelper" (hostname=?, addr=?, terminal=?
result=Success)'
type=USER_ACCT msg=audit(1127479780.698:1892197): user pid=3886 uid=500
auid=4294967295 msg='PAM accounting: user=root
exe="/usr/sbin/userhelper" (hostname=?, addr=?, terminal=?
result=Success)'
type=USER_START msg=audit(1127479780.829:1897878): user pid=3886 uid=500
auid=4294967295 msg='PAM session open: user=root
exe="/usr/sbin/userhelper" (hostname=?, addr=?, terminal=?
result=Success)'
type=AVC msg=audit(1127479861.203:2048859): avc:  granted
{ setenforce } for  pid=3906 comm="setenforce"
scontext=root:system_r:unconfined_t
tcontext=system_u:object_r:security_t tclass=security
type=SYSCALL msg=audit(1127479861.203:2048859): arch=40000003 syscall=4
success=yes exit=1 a0=3 a1=bf973358 a2=1 a3=bf973358 items=0 pid=3906
auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
comm="setenforce" exe="/usr/sbin/setenforce"
type=USER_END msg=audit(1127479861.441:2049672): user pid=3886 uid=500
auid=4294967295 msg='PAM session close: user=root
exe="/usr/sbin/userhelper" (hostname=?, addr=?, terminal=?
result=Success)'
type=AVC msg=audit(1127479877.894:2064029): avc:  denied  { search } for
pid=3913 comm="hwclock" name=root dev=hda6 ino=1912545
scontext=root:system_r:hwclock_t tcontext=root:object_r:user_home_dir_t
tclass=dir
type=SYSCALL msg=audit(1127479877.894:2064029): arch=40000003 syscall=5
success=no exit=-2 a0=bfadc430 a1=0 a2=0 a3=2 items=1 pid=3913 auid=0
uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 comm="hwclock"
exe="/sbin/hwclock"
type=PATH msg=audit(1127479877.894:2064029): item=0
name="tls/i686/sse2/libaudit.so.0" inode=1912545 dev=03:06 mode=040750
ouid=0 ogid=0 rdev=00:00
type=AVC msg=audit(1127479877.895:2064094): avc:  denied  { create } for
pid=3913 comm="hwclock" scontext=root:system_r:hwclock_t
tcontext=root:system_r:hwclock_t tclass=netlink_audit_socket
type=SYSCALL msg=audit(1127479877.895:2064094): arch=40000003
syscall=102 success=yes exit=3 a0=1 a1=bfadcc30 a2=d140f8 a3=7aeca0
items=0 pid=3913 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0
fsgid=0 comm="hwclock" exe="/sbin/hwclock"
type=SOCKETCALL msg=audit(1127479877.895:2064094): nargs=3 a0=10 a1=3
a2=9
type=AVC msg=audit(1127479915.999:2233456): avc:  denied  { write } for
pid=3920 comm="hwclock" scontext=root:system_r:hwclock_t
tcontext=root:system_r:hwclock_t tclass=netlink_audit_socket
type=AVC msg=audit(1127479915.999:2233456): avc:  denied
{ nlmsg_relay } for  pid=3920 comm="hwclock"
scontext=root:system_r:hwclock_t tcontext=root:system_r:hwclock_t
tclass=netlink_audit_socket
type=SYSCALL msg=audit(1127479915.999:2233456): arch=40000003
syscall=102 success=yes exit=68 a0=b a1=bfc4ac80 a2=d140f8 a3=bfc510a8
items=0 pid=3920 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0
fsgid=0 comm="hwclock" exe="/sbin/hwclock"
type=SOCKADDR msg=audit(1127479915.999:2233456):
saddr=100000000000000000000000
type=SOCKETCALL msg=audit(1127479915.999:2233456): nargs=6 a0=3
a1=bfc4ef0c a2=44 a3=0 a4=bfc510a8 a5=c
type=AVC msg=audit(1127479916.000:2233489): avc:  denied  { read } for
pid=3920 comm="hwclock" scontext=root:system_r:hwclock_t
tcontext=root:system_r:hwclock_t tclass=netlink_audit_socket
type=SYSCALL msg=audit(1127479916.000:2233489): arch=40000003
syscall=102 success=yes exit=36 a0=c a1=bfc4ac30 a2=d140f8 a3=3 items=0
pid=3920 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
comm="hwclock" exe="/sbin/hwclock"type=SOCKETCALL
msg=audit(1127479916.000:2233489): nargs=6 a0=3 a1=bfc4cdec a2=211c
a3=42 a4=bfc4ac5c a5=bfc4ac68
type=CRED_DISP msg=audit(1127479961.436:2249733): user pid=3683 uid=0
auid=0 msg='PAM setcred: user=root exe="/bin/login" (hostname=?, addr=?,
terminal=tty1 result=Success)'
type=USER_END msg=audit(1127479961.436:2249772): user pid=3683 uid=0
auid=0 msg='PAM session close: user=root exe="/bin/login" (hostname=?,
addr=?, terminal=tty1 result=Success)'
type=USER_AUTH msg=audit(1127479981.761:2305791): user pid=3952 uid=500
auid=4294967295 msg='PAM authentication: user=root
exe="/usr/sbin/userhelper" (hostname=?, addr=?, terminal=?
result=Success)'
type=USER_ACCT msg=audit(1127479981.761:2305808): user pid=3952 uid=500
auid=4294967295 msg='PAM accounting: user=root
exe="/usr/sbin/userhelper" (hostname=?, addr=?, terminal=?
result=Success)'
type=USER_START msg=audit(1127479981.771:2308255): user pid=3952 uid=500
auid=4294967295 msg='PAM session open: user=root
exe="/usr/sbin/userhelper" (hostname=?, addr=?, terminal=?
result=Success)'
type=USER_END msg=audit(1127479923.150:2360687): user pid=3952 uid=500
auid=4294967295 msg='PAM session close: user=root
exe="/usr/sbin/userhelper" (hostname=?, addr=?, terminal=?
result=Success)'
type=CRED_DISP msg=audit(1127480053.000:2701672): user pid=3616 uid=500
auid=4294967295 msg='PAM setcred: user=root exe="/bin/su" (hostname=?,
addr=?, terminal=pts/1 result=Success)'
type=USER_END msg=audit(1127480053.012:2701944): user pid=3616 uid=500
auid=4294967295 msg='PAM session close: user=root
exe="/bin/su" (hostname=?, addr=?, terminal=pts/1 result=Success)'
type=USER_END msg=audit(1127480053.371:2713290): user pid=3289 uid=0
auid=4294967295 msg='PAM session close: user=yzhang4
exe="/usr/bin/gdm-binary" (hostname=?, addr=?, terminal=:0
result=Success)'
type=CRED_DISP msg=audit(1127480053.371:2713314): user pid=3289 uid=0
auid=4294967295 msg='PAM setcred: user=yzhang4
exe="/usr/bin/gdm-binary" (hostname=?, addr=?, terminal=:0
result=Success)'
type=DAEMON_END msg=audit(1127480060.045:49) auditd normal halt, sending
pid=4458 auid=4294967295, auditd pid=3163
type=DAEMON_START msg=audit(1127480198.427:471) auditd start, ver=1.0.3,
format=raw, auid=4294967295, auditd pid=1955
type=CONFIG_CHANGE msg=audit(1127480198.431:16): audit_enabled=1 old=0
by auid=4294967295
type=SELINUX_ERR msg=audit(1127480198.475:17): SELinux:  unrecognized
netlink message type=1009 for sclass=49
type=SELINUX_ERR msg=audit(1127480198.476:18): SELinux:  unrecognized
netlink message type=1009 for sclass=49
type=USER_AUTH msg=audit(1127480227.292:226250): user pid=2518 uid=0
auid=4294967295 msg='PAM authentication: user=root
exe="/bin/login" (hostname=?, addr=?, terminal=tty1 result=Success)'
type=USER_ACCT msg=audit(1127480227.293:226285): user pid=2518 uid=0
auid=4294967295 msg='PAM accounting: user=root
exe="/bin/login" (hostname=?, addr=?, terminal=tty1 result=Success)'
type=LOGIN msg=audit(1127480227.349:226397): login pid=2518 uid=0 old
auid=4294967295 new auid=0
type=USER_START msg=audit(1127480227.374:226460): user pid=2518 uid=0
auid=0 msg='PAM session open: user=root exe="/bin/login" (hostname=?,
addr=?, terminal=tty1 result=Success)'
type=CRED_ACQ msg=audit(1127480227.379:226476): user pid=2518 uid=0
auid=0 msg='PAM setcred: user=root exe="/bin/login" (hostname=?, addr=?,
terminal=tty1 result=Success)'
type=USER_ERR msg=audit(1127480247.234:262164): user pid=2776 uid=0
auid=4294967295 msg='PAM bad_ident: user=?
exe="/usr/bin/gdm-binary" (hostname=?, addr=?, terminal=? result=User
not known to the underlying authentication module)'
type=USER_AUTH msg=audit(1127480255.721:333560): user pid=2810 uid=0
auid=4294967295 msg='PAM authentication: user=yzhang4
exe="/usr/bin/gdm-binary" (hostname=?, addr=?, terminal=:0
result=Success)'
type=USER_ACCT msg=audit(1127480255.724:333680): user pid=2810 uid=0
auid=4294967295 msg='PAM accounting: user=yzhang4
exe="/usr/bin/gdm-binary" (hostname=?, addr=?, terminal=:0
result=Success)'
type=CRED_ACQ msg=audit(1127480255.724:333719): user pid=2810 uid=0
auid=4294967295 msg='PAM setcred: user=yzhang4
exe="/usr/bin/gdm-binary" (hostname=?, addr=?, terminal=:0
result=Success)'
type=USER_START msg=audit(1127480255.905:336808): user pid=2810 uid=0
auid=4294967295 msg='PAM session open: user=yzhang4
exe="/usr/bin/gdm-binary" (hostname=?, addr=?, terminal=:0
result=Success)'
type=USER_ACCT msg=audit(1127480462.122:917080): user pid=3208 uid=0
auid=4294967295 msg='PAM accounting: user=root
exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron
result=Success)'
type=LOGIN msg=audit(1127480462.123:917149): login pid=3208 uid=0 old
auid=4294967295 new auid=0
type=USER_START msg=audit(1127480462.124:917155): user pid=3208 uid=0
auid=0 msg='PAM session open: user=root
exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron
result=Success)'
type=CRED_ACQ msg=audit(1127480462.124:917164): user pid=3208 uid=0
auid=0 msg='PAM setcred: user=root exe="/usr/sbin/crond" (hostname=?,
addr=?, terminal=cron result=Success)'
type=CRED_DISP msg=audit(1127480462.281:917480): user pid=3208 uid=0
auid=0 msg='PAM setcred: user=root exe="/usr/sbin/crond" (hostname=?,
addr=?, terminal=cron result=Success)'
type=USER_END msg=audit(1127480462.281:917499): user pid=3208 uid=0
auid=0 msg='PAM session close: user=root
exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron
result=Success)'
type=USER_AUTH msg=audit(1127480555.543:1035107): user pid=3226 uid=500
auid=4294967295 msg='PAM authentication: user=root
exe="/usr/sbin/userhelper" (hostname=?, addr=?, terminal=?
result=Success)'
type=USER_ACCT msg=audit(1127480555.544:1035205): user pid=3226 uid=500
auid=4294967295 msg='PAM accounting: user=root
exe="/usr/sbin/userhelper" (hostname=?, addr=?, terminal=?
result=Success)'
type=USER_START msg=audit(1127480555.669:1040134): user pid=3226 uid=500
auid=4294967295 msg='PAM session open: user=root
exe="/usr/sbin/userhelper" (hostname=?, addr=?, terminal=?
result=Success)'
type=USER_END msg=audit(1127480632.319:1228260): user pid=3226 uid=500
auid=4294967295 msg='PAM session close: user=root
exe="/usr/sbin/userhelper" (hostname=?, addr=?, terminal=?
result=Success)'
type=USER_END msg=audit(1127483585.438:11093860): user pid=2810 uid=0
auid=4294967295 msg='PAM session close: user=yzhang4
exe="/usr/bin/gdm-binary" (hostname=?, addr=?, terminal=:0
result=Success)'
type=CRED_DISP msg=audit(1127483585.438:11093876): user pid=2810 uid=0
auid=4294967295 msg='PAM setcred: user=yzhang4
exe="/usr/bin/gdm-binary" (hostname=?, addr=?, terminal=:0
result=Success)'
type=USER_AUTH msg=audit(1127483617.894:11129405): user pid=2810 uid=0
auid=4294967295 msg='PAM authentication: user=yzhang4
exe="/usr/bin/gdm-binary" (hostname=?, addr=?, terminal=:0
result=Authentication failure)'
type=USER_AUTH msg=audit(1127483625.755:11133966): user pid=2810 uid=0
auid=4294967295 msg='PAM authentication: user=yzhang4
exe="/usr/bin/gdm-binary" (hostname=?, addr=?, terminal=:0
result=Success)'
type=USER_ACCT msg=audit(1127483625.756:11134029): user pid=2810 uid=0
auid=4294967295 msg='PAM accounting: user=yzhang4
exe="/usr/bin/gdm-binary" (hostname=?, addr=?, terminal=:0
result=Success)'
type=CRED_ACQ msg=audit(1127483625.756:11134075): user pid=2810 uid=0
auid=4294967295 msg='PAM setcred: user=yzhang4
exe="/usr/bin/gdm-binary" (hostname=?, addr=?, terminal=:0
result=Success)'
type=USER_START msg=audit(1127483625.786:11137111): user pid=2810 uid=0
auid=4294967295 msg='PAM session open: user=yzhang4
exe="/usr/bin/gdm-binary" (hostname=?, addr=?, terminal=:0
result=Success)'
type=USER_AUTH msg=audit(1127483648.158:11337077): user pid=4380 uid=500
auid=4294967295 msg='PAM authentication: user=root
exe="/usr/sbin/userhelper" (hostname=?, addr=?, terminal=?
result=Success)'
type=USER_ACCT msg=audit(1127483648.159:11337086): user pid=4380 uid=500
auid=4294967295 msg='PAM accounting: user=root
exe="/usr/sbin/userhelper" (hostname=?, addr=?, terminal=?
result=Success)'
type=USER_START msg=audit(1127483648.190:11340629): user pid=4380
uid=500 auid=4294967295 msg='PAM session open: user=root
exe="/usr/sbin/userhelper" (hostname=?, addr=?, terminal=?
result=Success)'
type=USER_END msg=audit(1127483729.694:11542031): user pid=4380 uid=500
auid=4294967295 msg='PAM session close: user=root
exe="/usr/sbin/userhelper" (hostname=?, addr=?, terminal=?
result=Success)'
type=USER_END msg=audit(1127483747.015:11609119): user pid=2810 uid=0
auid=4294967295 msg='PAM session close: user=yzhang4
exe="/usr/bin/gdm-binary" (hostname=?, addr=?, terminal=:0
result=Success)'
type=CRED_DISP msg=audit(1127483747.016:11609142): user pid=2810 uid=0
auid=4294967295 msg='PAM setcred: user=yzhang4
exe="/usr/bin/gdm-binary" (hostname=?, addr=?, terminal=:0
result=Success)'
type=CRED_DISP msg=audit(1127483777.500:11622728): user pid=2518 uid=0
auid=0 msg='PAM setcred: user=root exe="/bin/login" (hostname=?, addr=?,
terminal=tty1 result=Success)'
type=USER_END msg=audit(1127483777.501:11622759): user pid=2518 uid=0
auid=0 msg='PAM session close: user=root exe="/bin/login" (hostname=?,
addr=?, terminal=tty1 result=Success)'
type=USER_AUTH msg=audit(1127483783.443:11625604): user pid=4463 uid=0
auid=4294967295 msg='PAM authentication: user=exit
exe="/bin/login" (hostname=?, addr=?, terminal=tty1
result=Authentication failure)'
type=DAEMON_END msg=audit(1127483796.640:472) auditd normal halt,
sending pid=4850 auid=4294967295, auditd pid=1955
type=DAEMON_START msg=audit(1127517602.594:163) auditd start, ver=1.0.3,
format=raw, auid=4294967295, auditd pid=2065
type=CONFIG_CHANGE msg=audit(1127517602.598:11): audit_enabled=1 old=0
by auid=4294967295
type=SELINUX_ERR msg=audit(1127517602.661:12): SELinux:  unrecognized
netlink message type=1009 for sclass=49
type=SELINUX_ERR msg=audit(1127517602.662:13): SELinux:  unrecognized
netlink message type=1009 for sclass=49
type=USER_ERR msg=audit(1127517627.832:244283): user pid=2799 uid=0
auid=4294967295 msg='PAM bad_ident: user=?
exe="/usr/bin/gdm-binary" (hostname=?, addr=?, terminal=? result=User
not known to the underlying authentication module)'
type=USER_AUTH msg=audit(1127517634.898:315469): user pid=2833 uid=0
auid=4294967295 msg='PAM authentication: user=yzhang4
exe="/usr/bin/gdm-binary" (hostname=?, addr=?, terminal=:0
result=Success)'
type=USER_ACCT msg=audit(1127517634.984:315616): user pid=2833 uid=0
auid=4294967295 msg='PAM accounting: user=yzhang4
exe="/usr/bin/gdm-binary" (hostname=?, addr=?, terminal=:0
result=Success)'
type=CRED_ACQ msg=audit(1127517634.996:315655): user pid=2833 uid=0
auid=4294967295 msg='PAM setcred: user=yzhang4
exe="/usr/bin/gdm-binary" (hostname=?, addr=?, terminal=:0
result=Success)'
type=USER_START msg=audit(1127517635.238:318786): user pid=2833 uid=0
auid=4294967295 msg='PAM session open: user=yzhang4
exe="/usr/bin/gdm-binary" (hostname=?, addr=?, terminal=:0
result=Success)'
type=USER_AUTH msg=audit(1127517854.825:906192): user pid=3212 uid=500
auid=4294967295 msg='PAM authentication: user=root
exe="/bin/su" (hostname=?, addr=?, terminal=pts/1 result=Authentication
failure)'
type=USER_AUTH msg=audit(1127517859.764:909995): user pid=3215 uid=500
auid=4294967295 msg='PAM authentication: user=root
exe="/bin/su" (hostname=?, addr=?, terminal=pts/1 result=Success)'
type=USER_ACCT msg=audit(1127517859.764:910030): user pid=3215 uid=500
auid=4294967295 msg='PAM accounting: user=root
exe="/bin/su" (hostname=?, addr=?, terminal=pts/1 result=Success)'
type=USER_START msg=audit(1127517859.986:912658): user pid=3215 uid=500
auid=4294967295 msg='PAM session open: user=root
exe="/bin/su" (hostname=?, addr=?, terminal=pts/1 result=Success)'
type=CRED_ACQ msg=audit(1127517859.986:912674): user pid=3215 uid=500
auid=4294967295 msg='PAM setcred: user=root exe="/bin/su" (hostname=?,
addr=?, terminal=pts/1 result=Success)'




> Also, what happens when you enter "setenforce 0" and then issue the 
> hwclock command or go through the shutdow


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux