Bug 9197 - Disabling printing still makes smbd create and access printer_list.tdb
Summary: Disabling printing still makes smbd create and access printer_list.tdb
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: printing (show other bugs)
Version: 4.0.0rc1
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Karolin Seeger
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-24 00:08 UTC by Christian Ambach
Modified: 2012-09-28 06:52 UTC (History)
0 users

See Also:


Attachments
Proposed patch (taken from master) (1.19 KB, patch)
2012-09-24 05:02 UTC, Christian Ambach
asn: review+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Ambach 2012-09-24 00:08:23 UTC
Even with

	disable spoolss = yes
	smbd:backgroundqueue = no
	rpc_daemon:spoolssd = off

smbd creates printer_list.tdb and locks the single record in it.

This causes issues on the startup of CTDB clusters when smbds come up on the cluster nodes in parallel and cause lock contention and timeouts on the database.

Patch on its way through autobuild, will attach it here once it has gone through
Comment 1 Christian Ambach 2012-09-24 05:02:12 UTC
Created attachment 7929 [details]
Proposed patch (taken from master)
Comment 2 Andreas Schneider 2012-09-24 07:59:40 UTC
Comment on attachment 7929 [details]
Proposed patch (taken from master)

Look good to me :)
Comment 3 Christian Ambach 2012-09-24 16:00:19 UTC
Karolin, please pick for 4.0
Comment 4 Karolin Seeger 2012-09-28 06:52:01 UTC
Pushed to autobuild-v4-0-test.
Closing out bug report.

Thanks!