https://bugzilla.suse.com/show_bug.cgi?id=1204333
Bug ID: 1204333 Summary: syslog-ng: Error opening file for writing; filename='/dev/tty1', error='Permission denied (13)' Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: screening-team-bugs@suse.de Reporter: opensuse@mike.franken.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: ---
Yesterday I updated my Tumbleweed machine after a few weeks of vacation. Since then I get this error message every so often: syslog-ng: Error opening file for writing; filename='/dev/tty1', error='Permission denied (13)'
I checked the syslog-ng apparmor file, but it still contains
/dev/tty1 rw,
ls -l /dev/tty1
crw--w---- 1 root tty 4, 1 Oct 15 12:43 /dev/tty1
I'm not sure, if and how the permissions for /dev/tty1 have been changed, though. They seem to be identical on other machines, where syslog doesn't give that error message.
https://bugzilla.suse.com/show_bug.cgi?id=1204333 https://bugzilla.suse.com/show_bug.cgi?id=1204333#c1
Marcus Meissner meissner@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |meissner@suse.com
--- Comment #1 from Marcus Meissner meissner@suse.com --- any audit DENIED records from apparmor for this path?
/var/log/audit/audit.log
https://bugzilla.suse.com/show_bug.cgi?id=1204333 https://bugzilla.suse.com/show_bug.cgi?id=1204333#c2
--- Comment #2 from Michael Hirmke opensuse@mike.franken.de --- yes:
type=AVC msg=audit(1665843310.952:325): apparmor="DENIED" operation="open" profile="syslog-ng" name="/dev/tty1" pid=8417 comm="syslog-ng" requested_mask="ac" denied_mask="ac" fsuid=0 ouid=0
https://bugzilla.suse.com/show_bug.cgi?id=1204333 https://bugzilla.suse.com/show_bug.cgi?id=1204333#c3
--- Comment #3 from Michael Hirmke opensuse@mike.franken.de --- So what to do with this problem? aa-logprof doesn't list it despite the according autdit.log lines.
https://bugzilla.suse.com/show_bug.cgi?id=1204333
Chenzi Cao chcao@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|screening-team-bugs@suse.de |peter@czanik.hu