Bug 1838 - Stale printers are not removed upon SIGHUP
Stale printers are not removed upon SIGHUP
Status: CLOSED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: Printing
3.0.7
All Linux
: P3 normal
: none
Assigned To: Gerald (Jerry) Carter
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-09-28 03:25 UTC by Gavrie Philipson
Modified: 2005-08-24 10:26 UTC (History)
0 users

See Also:


Attachments
Patch to fix the bug (405 bytes, patch)
2004-09-28 03:26 UTC, Gavrie Philipson
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gavrie Philipson 2004-09-28 03:25:25 UTC
When using Samba with "printing = cups", new printers are immediately detected
when sending smbd a SIGHUP signal, but removed printers still appear.
Comment 1 Gavrie Philipson 2004-09-28 03:26:09 UTC
Created attachment 681 [details]
Patch to fix the bug

This patch removes stale printers before adding new ones, and fixes the bug.
Comment 2 Gerald (Jerry) Carter 2004-11-12 10:39:07 UTC
Looks right to me.  applying to the 3.0 tree.  Probably will be in 3.0.10.
Comment 3 Gerald (Jerry) Carter 2005-08-24 10:26:39 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.