From: Adam Carter <adamcarter3@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] X fails with old permissions errors
Date: Thu, 4 Oct 2018 18:28:36 +1000 [thread overview]
Message-ID: <CAC=wYCFG4EbE6MWS_pXjvV4VHnAkeKq0f+VVLrJwOtnz=1YQ+g@mail.gmail.com> (raw)
[-- 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 --]
next reply other threads:[~2018-10-04 8:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-04 8:28 Adam Carter [this message]
2018-10-05 5:03 ` [gentoo-user] Re: X fails with old permissions errors Adam Carter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAC=wYCFG4EbE6MWS_pXjvV4VHnAkeKq0f+VVLrJwOtnz=1YQ+g@mail.gmail.com' \
--to=adamcarter3@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox