-
Notifications
You must be signed in to change notification settings - Fork 467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Printer operation policies not loaded correctly on start/restart. #2319
Comments
CUPS.org User: jreich I've just noticed that the bug also applies to classes: In cupsdLoadAllClasses() in file scheduler/classes.c the same problem seems to exist. |
CUPS.org User: mike Confirmed... |
CUPS.org User: mike Fixed in Subversion repository. |
"cups-printer-op-policies.patch": --- cups-1.2.10/scheduler/printers.c 2007-02-27 16:46:10.000000000 +0100
|
"str2319.patch": Index: printers.c--- printers.c (revision 6422)
|
Version: 1.2-current
CUPS.org User: jreich
Printer operation policies set with lpadmin or the web interface are handled correctly. But after restarting the CUPS daemon the policies are not recognized any more, although they are set in printers.conf.
The problem seems to be in scheduler/printers.c: The pointer to the policy structure is not set in cupsdLoadAllPrinters().
The attachement contains a patch against 1.2.10. I simply copied the code from cupsdUpdatePrinters().
There is also a bug report to debian-printing: Someone reports the same problem with the same solution (the patch is against 1.2.7). You can find the bug report under http://lists.debian.org/debian-printing/2007/02/msg00038.html
The text was updated successfully, but these errors were encountered: