On Ubuntu 20.04 this problem also recently appeared for me.  These 4
erroneous lines were at the end of the /etc/cups/cupsd.conf file, after
a closing </Policy>" line:

  JobPrivateAccess default
  JobPrivateValues default
  SubscriptionPrivateAccess default
  SubscriptionPrivateValues default

Deleting these 4 lines fixed the problem.  I do not know how long they
have been there.  Since both of the remaining <Policy> sections already
contained those 4 directive, I reasoned that deleting these erroneous 4
lines would be harmless.  It works for me now.  The cups parsing check
no longer reports a syntax error:

  # cupsd -t
  "/etc/cups/cups-files.conf" is OK.
  "/etc/cups/cupsd.conf" is OK.

Restarting and checking the status now works fine:

  # systemctl restart cups
  root@dbooth-t470p:/home/dbooth# service cups status
  * cups.service - CUPS Scheduler
       Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor 
preset: >   
       Active: active (running) since Tue 2025-12-02 11:49:47 EST; 9s ago
  TriggeredBy: * cups.path
               * cups.socket
         Docs: man:cupsd(8)
     Main PID: 11301 (cupsd)
        Tasks: 2 (limit: 38081)
       Memory: 6.3M
       CGroup: /system.slice/cups.service
               `-11301 /usr/sbin/cupsd -l
  
  Dec 02 11:49:47 dbooth-t470p systemd[1]: Started CUPS Scheduler.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2133207

Title:
  cups security update causes issues with invalid config file

To manage notifications about this bug go to:
https://bugs.launchpad.net/cups/+bug/2133207/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to