Issues related to applications and software problems
-
rharker
- Posts: 23
- Joined: 2018/03/23 14:51:02
- Location: Gainesville - Florida - USA
-
Contact:
Post
by rharker » 2018/03/29 16:10:36
Code: Select all
time->Thu Mar 29 10:10:20 2018
type=PROCTITLE msg=audit(1522332620.641:272): proctitle="/usr/bin/gnome-shell"
type=SYSCALL msg=audit(1522332620.641:272): arch=c000003e syscall=42 success=no exit=-13 a0=a a1=7ffe237b5a30 a2=42 a3=7ffe237b54a0 items=0 ppid=4732 pid=4761 auid=4294967295 uid=42 gid=42 euid=42 suid=42 fsuid=42 egid=42 sgid=42 fsgid=42 tty=(none) ses=4294967295 comm="gnome-shell" exe="/usr/bin/gnome-shell" subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)
type=AVC msg=audit(1522332620.641:272): avc: denied { sendto } for pid=4761 comm="gnome-shell" path=006E7669646961646431373233653200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:system_r:xserver_t:s0-s0:c0.c1023 tclass=unix_dgram_socket
----
time->Thu Mar 29 11:40:01 2018
type=CRED_REFR msg=audit(1522338001.842:272): pid=4528 uid=0 auid=0 ses=9 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_env,pam_localuser,pam_unix acct="root" exe="/usr/sbin/crond" hostname=? addr=? terminal=cron res=success'
[root@b400 ~]#
Robert Harker
Engineer
University of Florida
Dept.Chemistry
Nuclear Magnetic Resonance Labs
Gainesville, Fl 32611-7200
-
TrevorH
- Site Admin
- Posts: 33220
- Joined: 2009/09/24 10:40:56
- Location: Brighton, UK
Post
by TrevorH » 2018/03/29 16:37:02
What's the output froimi find /something -inum 1311689 where /something is whatever has /dev/sda4 mounted on it (where is /dev/sda4 mounted anyway?).
-
rharker
- Posts: 23
- Joined: 2018/03/23 14:51:02
- Location: Gainesville - Florida - USA
-
Contact:
Post
by rharker » 2018/03/29 16:45:52
/dev/sda4 Mounted on /
[root@b400 ~]# find / -inum 1311689
/var/lib/dhcpd/dhcpd.leases
Robert Harker
Engineer
University of Florida
Dept.Chemistry
Nuclear Magnetic Resonance Labs
Gainesville, Fl 32611-7200
-
rharker
- Posts: 23
- Joined: 2018/03/23 14:51:02
- Location: Gainesville - Florida - USA
-
Contact:
Post
by rharker » 2018/03/30 17:31:30
GDM Debug snippet from my last login
Code: Select all
Mar 30 13:03:01 b400 gnome-session-binary[19732]: DEBUG(+): GsmDBusClient: sending QueryEndSession signal to :1.14
Mar 30 13:03:01 b400 journal: Error releasing name org.gnome.SettingsDaemon: The connection is closed
Mar 30 13:03:01 b400 gnome-session-binary[19732]: DEBUG(+): GsmManager: adding client to query clients: /org/gnome/SessionManager/Client2
Mar 30 13:03:01 b400 gnome-session-binary[19732]: DEBUG(+): GsmDBusClient: sending QueryEndSession signal to :1.1
Mar 30 13:03:01 b400 gnome-session-binary[19732]: DEBUG(+): GsmManager: adding client to query clients: /org/gnome/SessionManager/Client3
Mar 30 13:03:01 b400 journal: Invalid id 5 passed to g_bus_unown_name()
Mar 30 13:03:01 b400 gnome-session-binary[19732]: DEBUG(+): GsmDBusClient: sending QueryEndSession signal to :1.2
Mar 30 13:03:01 b400 gnome-session-binary[19732]: DEBUG(+): GsmManager: adding client to query clients: /org/gnome/SessionManager/Client4
Mar 30 13:03:01 b400 gnome-session-binary[19732]: DEBUG(+): GsmManager: disconnect client
Mar 30 13:03:01 b400 gnome-session-binary[19732]: DEBUG(+): GsmManager: disconnect client: /org/gnome/SessionManager/Client3
Mar 30 13:03:01 b400 gnome-session-binary[19732]: DEBUG(+): GsmManager: disconnect for app 'at-spi-bus-launcher'
Mar 30 13:03:01 b400 gnome-session-binary[19732]: DEBUG(+): GsmManager: Response from end session request: is-ok=1 do-last=0 cancel=0 reason=Client exited in query end session phase instead of end session phase
Mar 30 13:03:01 b400 gnome-session-binary[19732]: DEBUG(+): GsmManager: unable to find application for client - not restarting
Robert Harker
Engineer
University of Florida
Dept.Chemistry
Nuclear Magnetic Resonance Labs
Gainesville, Fl 32611-7200
-
rharker
- Posts: 23
- Joined: 2018/03/23 14:51:02
- Location: Gainesville - Florida - USA
-
Contact:
Post
by rharker » 2018/04/02 17:01:37
The latest IT theory here is that the X server is closing before the PostSession is executed. This is not true in earlier versions.
Robert Harker
Engineer
University of Florida
Dept.Chemistry
Nuclear Magnetic Resonance Labs
Gainesville, Fl 32611-7200
-
TrevorH
- Site Admin
- Posts: 33220
- Joined: 2009/09/24 10:40:56
- Location: Brighton, UK
Post
by TrevorH » 2018/04/02 17:29:34
I'm pretty sure that I remember reading in the docs that this was the case.
-
rharker
- Posts: 23
- Joined: 2018/03/23 14:51:02
- Location: Gainesville - Florida - USA
-
Contact:
Post
by rharker » 2018/04/03 13:25:38
Do you know of a method to either delay Xserver closing or cause it to wait until the PostSession has executed?
It seems that this is a mighty big change to logout behavior and it's likely broken many a GUI dependent possession scripts.
Robert Harker
Engineer
University of Florida
Dept.Chemistry
Nuclear Magnetic Resonance Labs
Gainesville, Fl 32611-7200
-
TrevorH
- Site Admin
- Posts: 33220
- Joined: 2009/09/24 10:40:56
- Location: Brighton, UK
Post
by TrevorH » 2018/04/03 13:39:49
I don't think so. The doc
here seems to say that it doesn't work and never has done.
When a user terminates their session, GDM will run the PostSession script. Note that the Xserver will have been stopped by the time this script is run, so it should not be accessed.
-
rharker
- Posts: 23
- Joined: 2018/03/23 14:51:02
- Location: Gainesville - Florida - USA
-
Contact:
Post
by rharker » 2018/04/10 16:17:09
Trevor -- this is the answer we needed. We simply had to rearrange some things in the script so that errors when to a file instead of a popup TCL GUI so it doesn't need the xserver.
Thanks,
Robert
Robert Harker
Engineer
University of Florida
Dept.Chemistry
Nuclear Magnetic Resonance Labs
Gainesville, Fl 32611-7200