-
Bug
-
Resolution: Done-Errata
-
Undefined
-
rhel-9.3.0
-
None
-
cups-2.3.3op2-22.el9
-
None
-
None
-
rhel-sst-cs-stacks
-
ssg_core_services
-
20
-
None
-
False
-
-
No
-
None
-
Pass
-
-
Not Needed
-
RegressionOnly
-
None
If cupsd fails to open the existing cups-files.conf (where the log location is defined) and journal is not available (f.e. in containers), the error message is lost because cupsd tries to sent it to journal.
This problem showed up during CUPS container investigation, when cups-files.conf had incorrect permissions in comparison to cupsd, which does not run as root in container.
How to reproduce:
- dnf -y install cups
- useradd user
- systemctl stop systemd-journald systemd-journald-dev-log.socket systemd-journald.socket
- su user -c '/usr/sbin/cupsd -f'
Results:
The command returns 1 as error, but with no information in journal or log file.
Expected result:
Error message on stderr.
- links to
-
RHBA-2023:125134 cups update