[Bug 1226888] [Build 20240622] SELinux breaks systemd-getty-generator
15 Jul
2024
15 Jul
'24
08:57
https://bugzilla.suse.com/show_bug.cgi?id=1226888 https://bugzilla.suse.com/show_bug.cgi?id=1226888#c4 --- Comment #4 from Fabian Vogt <fvogt@suse.com> --- (In reply to Fabian Vogt from comment #3)
getty-generator does:
r = getenv_for_pid(1, "SYSTEMD_GETTY_AUTO", &getty_auto);
Opening /proc/1/environ fails with EACCESS. According to the code it should effectively treat that as "true", but apparently that's not the case?
^ is a bug as well, but a red herring. With strace it's visible that it tries to open /dev/ttyS0 but fails with -EACCES. No denial in audit.log though. -- You are receiving this mail because: You are on the CC list for the bug.
115
Age (days ago)
115
Last active (days ago)
0 comments
1 participants
participants (1)
-
bugzilla_noreply@suse.com