* [gentoo-user] X fails with old permissions errors
@ 2018-10-04 8:28 Adam Carter
2018-10-05 5:03 ` [gentoo-user] " Adam Carter
0 siblings, 1 reply; 2+ messages in thread
From: Adam Carter @ 2018-10-04 8:28 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1182 bytes --]
Since around 4 days ago X wont run, and my web searches show i'm hitting
the same sorts of issues that arose when X moved away from running as root.
In strace, i see;
$ grep Permi startx11.out
319 setpriority(PRIO_PROCESS, 320, -1) = -1 EACCES (Permission denied)
320 openat(AT_FDCWD, "/dev/tty0", O_WRONLY) = -1 EACCES (Permission
denied)
320 openat(AT_FDCWD, "/proc/mtrr", O_WRONLY|O_CLOEXEC) = -1 EACCES
(Permission denied)
$ ls -l /dev/tty0 /proc/mtrr
crw--w---- 1 root tty 4, 0 Oct 4 18:14 /dev/tty0
-rw-r--r-- 1 root root 0 Oct 4 18:14 /proc/mtrr
$ grep libexec startx11.out
320 faccessat(AT_FDCWD, "/usr/libexec/Xorg.wrap", X_OK) = 0
320 execve("/usr/libexec/Xorg.wrap", ["/usr/libexec/Xorg.wrap",
"-nolisten", "tcp", ":0", "-auth", "/home/adam/.serverauth.303"],
0x55b02e0cdc20 /* 38 vars */) = 0
$ ls -l /usr/libexec/Xorg.wrap
-rws--x--x 1 root root 14392 Oct 2 19:19 /usr/libexec/Xorg.wrap
Also from Xorg.0.log
[ 176.550] (EE) systemd-logind: failed to get session: PID 320 does not
belong to any known session
I cant work out why there's an issue given the suid root on Xorg.wrap, so I
rebuilt systemd and the X stuff, but no change.
Any ideas?
[-- Attachment #2: Type: text/html, Size: 1553 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-user] Re: X fails with old permissions errors
2018-10-04 8:28 [gentoo-user] X fails with old permissions errors Adam Carter
@ 2018-10-05 5:03 ` Adam Carter
0 siblings, 0 replies; 2+ messages in thread
From: Adam Carter @ 2018-10-05 5:03 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 340 bytes --]
On Thu, Oct 4, 2018 at 6:28 PM Adam Carter <adamcarter3@gmail.com> wrote:
> Since around 4 days ago X wont run, and my web searches show i'm hitting
> the same sorts of issues that arose when X moved away from running as root.
>
FYI, this was fixed by rebuilding pam. I needed to reboot after the
rebuild, as 'needrestart' wasn't enough.
[-- Attachment #2: Type: text/html, Size: 697 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-10-05 5:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-04 8:28 [gentoo-user] X fails with old permissions errors Adam Carter
2018-10-05 5:03 ` [gentoo-user] " Adam Carter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox