Skip to content

PPD file lost after crash #1109

@arnon-weinberg

Description

@arnon-weinberg

Several times now, I've had a display manager (GDM) crash (likely nothing to do with cups), that appears to kill cups in the process, and following restart, the PPD file is gone. I am wondering if cups is interrupted at the wrong time whether it's possible that the PPD file could be lost this way?

Here is what the relevant parts of journalctl look like:

Dec 09 08:43:50 msigs cupsd[1101]: REQUEST localhost - - "POST /printers/MFCL2710DW HTTP/1.1" 200 165141 Print-Job successful-ok
Dec 09 08:44:03 msigs systemd[1]: systemd-hostnamed.service: Deactivated successfully.
-- Boot df76eb740bed4f09b46da3e1322c188d --
Dec 09 08:45:24 msigs kernel: Linux version 5.14.0-503.15.1.el9_5.x86_64 (mockbuild@x64-builder02.almalinux.org) (gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-2), GNU ld version 2.35.2-54.el9) #1 SMP PREEMPT_DYNAMIC Thu Nov 28 07:25:19 EST 2024
Dec 09 08:46:00 msigs systemd[1]: Starting CUPS Scheduler...
Dec 09 08:46:01 msigs cupsd[1089]: PPD file for MFCL2710DW cannot be loaded.
Dec 09 08:46:01 msigs cupsd[1089]: Missing PPD-Adobe-4.x header on line 0 of /etc/cups/ppd/MFCL2710DW.ppd.
Dec 09 08:46:01 msigs cupsd[1089]: PPD file for MFCL2710DW cannot be loaded.
Dec 09 08:46:01 msigs cupsd[1089]: Missing PPD-Adobe-4.x header on line 0 of /etc/cups/ppd/MFCL2710DW.ppd.

That is, it looks like cups was working fine immediately prior to the crash, and immediately after, not. Prior to the crash, /etc/cups/ppd/ looked like:

-rw-r--r--  1 root root 17552 2024-12-08 13:30 MFCL2710DW.ppd
-rw-r--r--  1 root root 17552 2024-12-07 12:18 MFCL2710DW.ppd.O

and immediately after, it looks like:

-rw-r--r--  1 root root     0 2024-12-09 08:44 MFCL2710DW.ppd
-rw-r--r--  1 root root 17552 2024-12-08 13:30 MFCL2710DW.ppd.O

The 0-byte file timestamp suggests it was overwritten just prior to the crash.

System Information:

>egrep PRETTY /etc/os-release
PRETTY_NAME="AlmaLinux 9.5 (Teal Serval)"
>uname -r                    
5.14.0-503.15.1.el9_5.x86_64
>rpm -q cups                 
cups-2.3.3op2-31.el9_5.x86_64

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions