[Bug 1062968] systemd failed to run vncserver due to permission issues

bugzilla at redhat.com bugzilla at redhat.com
Wed Feb 12 18:48:39 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1062968

Yevgeniy <yevgeniy.melnichuk at googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|needinfo?(yevgeniy.melnichu |
                   |k at googlemail.com)           |



--- Comment #7 from Yevgeniy <yevgeniy.melnichuk at googlemail.com> ---
Hi Lukas,

i ran "tail -f /var/log/audit/audit.log" and on a different terminal i ran
"systemctl start vncserver@:1.service". Here is the output from tail:

type=SELINUX_ERR msg=audit(1392234160.211:2339): security_compute_sid:  invalid
context system_u:unconfined_r:initrc_t:s0 for
scontext=system_u:system_r:initrc_t:s0
tcontext=system_u:object_r:unconfined_exec_t:s0 tclass=process
type=SYSCALL msg=audit(1392234160.211:2339): arch=c000003e syscall=59
success=no exit=-13 a0=2506b90 a1=2506cf0 a2=25059d0 a3=7fff5303e9b0 items=0
ppid=1490 pid=1491 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0
sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="sh" exe="/usr/bin/bash"
subj=system_u:system_r:initrc_t:s0 key=(null)
type=CRED_ACQ msg=audit(1392234160.222:2340): pid=1493 uid=0 auid=4294967295
ses=4294967295 subj=system_u:system_r:init_t:s0 msg='op=PAM:setcred acct="user"
exe="/usr/sbin/runuser" hostname=? addr=? terminal=? res=success'
type=USER_START msg=audit(1392234160.239:2341): pid=1493 uid=0 auid=4294967295
ses=4294967295 subj=system_u:system_r:init_t:s0 msg='op=PAM:session_open
acct="user" exe="/usr/sbin/runuser" hostname=? addr=? terminal=? res=success'
type=SELINUX_ERR msg=audit(1392234160.281:2342): security_compute_sid:  invalid
context system_u:unconfined_r:initrc_t:s0 for
scontext=system_u:system_r:initrc_t:s0
tcontext=system_u:object_r:unconfined_exec_t:s0 tclass=process
type=SYSCALL msg=audit(1392234160.281:2342): arch=c000003e syscall=59
success=no exit=-13 a0=23f7e80 a1=23f7890 a2=23fcac0 a3=7fff343d4020 items=0
ppid=1493 pid=1499 auid=4294967295 uid=1000 gid=1000 euid=1000 suid=1000
fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=4294967295 comm="bash"
exe="/usr/bin/bash" subj=system_u:system_r:initrc_t:s0 key=(null)
type=USER_END msg=audit(1392234160.284:2343): pid=1493 uid=0 auid=4294967295
ses=4294967295 subj=system_u:system_r:init_t:s0 msg='op=PAM:session_close
acct="user" exe="/usr/sbin/runuser" hostname=? addr=? terminal=? res=success'
type=CRED_DISP msg=audit(1392234160.284:2344): pid=1493 uid=0 auid=4294967295
ses=4294967295 subj=system_u:system_r:init_t:s0 msg='op=PAM:setcred acct="user"
exe="/usr/sbin/runuser" hostname=? addr=? terminal=? res=success'
type=SERVICE_START msg=audit(1392234160.287:2345): pid=1 uid=0 auid=4294967295
ses=4294967295 subj=system_u:system_r:init_t:s0 msg=' comm="vncserver@:1"
exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed

here is a pastebin, if you prefer it over plain text:
http://pastebin.com/FZn8eN6u

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=R0ppzLpyBC&a=cc_unsubscribe



More information about the perl-devel mailing list