Re: Updating to cups-2.14.15 breaks cupsd

"Rainer Fiebig" ([email protected] via blfs-support Mailing List) <[email protected]> Fri, 5 Dec 2025 10:59:05 +0100
Newsgroups gmane.linux.lfs.beyond.support
Message-ID <[email protected]>
Am 04.12.25 um 18:50 schrieb Richard Henschel ([email protected]
via blfs-support Mailing List):
> 
> On 12/3/25 23:23, "Douglas R. Reno" ([email protected] via
> blfs-support Mailing List) wrote:
>> On 12/3/25 10:20 PM, "Richard" ([email protected] via
>> blfs-support Mailing List) wrote:
>>> I don't know what to think of this one, but it is also affecting ubuntu
>>> recently with the same config file error:
>>>
>>> root@funkyvac:/etc/cups# diff /root/tmp/cupsd.conf.old cupsd.conf
>>> 136,139d135
>>> < JobPrivateAccess default
>>> < JobPrivateValues default
>>> < SubscriptionPrivateAccess default
>>> < SubscriptionPrivateValues default
>>>
>>> Running "/usr/sbin/cupsd -t" gives an error at line 136 to the effect
>>> that
>>> JobPrivateAccess is invalid
>>> Get rid of the top lines fixes it.  I may have copied that file from
>>> my host
>>> operating system; I can't remember.
>>>
>>> I believe my host ubuntu 25.10 got an update a day or two ago,
>>> probably to fix
>>> the same security issue.
>>>
>> Hi Richard,
>>
>> That is unfortunately going to be a problem in the future unless it's
>> in a Policy, but for now there is a workaround you can try...
>>
>> Try applying this patch and see if that works!
>>
>> https://github.com/OpenPrinting/cups/commit/5661ec7e50991694098b0f0dc34805bf0a188e2e.patch
>>
>>
>> You'll probably want to try adjusting your configuration though. That
>> being said, a better workaround is coming upstream, but this will get
>> you going for now.
>>
>> - Doug
>>
> I DID copy that /etc/cups/cupsd.conf file from my Ubuntu host to my BLFS
> while getting the printer to work.  The one in the source
> cups-2.4.15/conf/cupsd.conf  works on BLFS without the problem. It also
> works on my Ubuntu 25.10 host without the problem. Perhaps all Canonical
> needs to do is update to a current config file to fix their problem. 
> The newer copy from the source has those same 'bad' line items but under
> a different header:
> 
> # Set the default printer/job policies...
> <Policy default>
>   # Job/subscription privacy...
>   JobPrivateAccess default
>   JobPrivateValues default
>   SubscriptionPrivateAccess default
>   SubscriptionPrivateValues default
> 
> 
> Instead of just </Policy>
> 
> I haven't tried your patches.  Perhaps not really needed after all?
Apply Ockham's Razor to answer your question. ;)

Rainer

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-support
Unsubscribe: See the above information page