[cups-devel] [UNKN] STR #4783: Allow printer read/write data to be stored separately from ServerRoot

Brian Norris <[email protected]>
Newsgroups gmane.comp.printing.cups.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

cupsd writes out its printer data to $ServerRoot/{printers.conf,ppd/*.ppd},
alongside less volatile data, like cupsd.conf and cups-files.conf. Some
systems might like to keep the static config files (i.e., ServerRoot)
protected in a read-only partition, while placing the volatile printer info
in a writeable partition.

This request is to support a new conf directive (e.g., PrinterRoot) to have
cupsd store its printer-related read/write files in a different directory.
Patch attached to implement this.

Note that I haven't updated the man-pages or included it in the
autogenerated cups-files.conf yet. I just wanted to probe about the idea
first.

Link: https://www.cups.org/str.php?L4783
Version: -feature
Attachment: https://www.cups.org/strfiles.php/3607/PrinterRoot.patch
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJW4gEkAAoJENujp6sI12IjEQoP/2N5Xo0cbvbIXN74v7NikEA5
S6li32mONjOMGM3us/wuOpjwGim4cX+nAuGLHHU1JeFXIOw8Dohsxmwps523l4S4
/4c1h6d0qtbE1HilaJG1KNrvgq7tyvlBknuLXK4REDsg35ya0gqshAT5B9M3HWHC
ODh4YsKqXDWibCZ3lIULRqhgVO5uLJ0t0r2Gj4h9wFgTkGlXuXoXacZsxJ1hYYRM
q3mhrkklZtMXu//QY3Uqo5eKxDOznlunMO7SCBDB8MfMm9Cm+6VN37aB/cPCOybH
ZcatD9RziV8WK7TCFVuDQgzeW3ZbZkg+ZQeWZ5/IrhfqKxZt13MAArsAd2W0RsDG
8fcbEYhGLgVk3/Kp9VDKaGzDBYv0ie+poU5dza1XbjvJg5RKBvo5urAOW0qURLUR
J1HqqHhjDrO/hJSGi3hvYC1DOlWc7ea3gfHT0yRrf4jLypa4pRXONib7NB9EI9Av
mXSKfBmlex5ySextgzpuLxj2aJ4pRNw6vqS3OqCuGMFzevUvVz8GVZT6yB/il+uv
UfbqVtZ0g0UWL1fzCaUsvgn9W0fYNcYkfhNuFaO77Prkhmc3/ALll0CZi4+YyBQn
//D8I9R08ACcuDoeSnlVjhlSFhb5wH1vyqSr+o7kytOUg77W9SuOxvDtlyWZ3pnk
dh8t60ff2nCZDIlStdCf
=dRN+
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.