[cups.bugs] [HIGH] STR #3883: Scheduler does not write c##### at job creation

Paul Conklin paul.conklin at cerner.com
Thu Jul 7 13:35:45 PDT 2011


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

[STR New]

cups does not write the c##### at job creation time (it did in 1.3.x)  if
the scheduler dies or terminates abnormially for any reason, pending jobs
would / will be lost.  Diffing the code, the comment is still there, it
just looks like the command is lost.  I had viled this under a previous
STR, but can't find it or if it was canceled as an intenional change so
re-submitting as I think the first never saved.  If this was closed
intentionally, please forgive me.  I usually see if they are closed.  also
please note that adding the save back in does not resolve STR 3880 but does
allow print jobs to persist if daemon is terminated in a non-graceful
manner.

/scheduler/ipp.c
1.3.x
 /*
  * Save and log the job...
  */

  cupsdSaveJob(job);

  cupsdLogMessage(CUPSD_LOG_INFO, "[Job %d] Queued on \"%s\" by \"%s\".",
                  job->id, job->dest, job->username);
1.4.x
 /*
  * Save and log the job...
  */

  cupsdLogJob(job, CUPSD_LOG_INFO, "Queued on \"%s\" by \"%s\".",
	      job->dest, job->username);

Link: http://www.cups.org/str.php?L3883
Version: 1.4.7





More information about the cups mailing list