[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#926707: cups: please do not generate files under /etc but use /var/lib for that (etckeeper woes)



Control: block -1 549673
Control: tags -1 +upstream +wontfix
Control: retitle -1 cups-browsed: generates PPDs in /etc, not /var/lib

Le mardi, 9 avril 2019, 13.32:27 h CEST Thorsten Glaser a écrit :
> With etckeeper on a laptop that often is taken around to different networks,
> I see lines like these on apt-get --purge dist-upgrade all the time:
> 
> [master 48dee15] saving uncommitted changes in /etc prior to apt run
> […]
>  create mode 100644
> cups/ppd/pr_bn_1og_Brother_HL_L8250CDN_Laser_Colour_Duplex_172_2.ppd […]
> 
> So, these files are autogenerated and not created then changed by the
> local admin. (They are also automatically deleted). There’s a place for
> such files in the filesystem standard, and it’s /var/lib not /etc.
> 
> Please move this stuff out of /etc, TYVM.

Unfortunately, this is a long-running issue with CUPS and the CUPS stack, and 
is tracked by https://bugs.debian.org/549673 and https://github.com/apple/
cups/issues/3067

While I agree that the whole /etc/cups directory _COULD_ be moved to
/var/lib/cups , this is not done easily, brings only little benefit, and woudl 
break a lot of assumptions in various parts of the stack. See as mere example 
the search for /etc/cups/ppd ; 290 occurences:

	https://codesearch.debian.net/search?q=%2Fetc%2Fcups%2Fppd

I really have not changed my mind about this: diverging away from upstream 
CUPS and their 20+ years of existance is really not worth the costs.

Hereby marking this as upstream, and wontfix; sorry.

Cheers,
    OdyX

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: