Bug 9393 - Need a tool to change debuglevel of samba at runtime
Need a tool to change debuglevel of samba at runtime
Status: NEW
Product: Samba 4.0
Classification: Unclassified
Component: Tools
All All
: P5 enhancement
: ---
Assigned To: Michael Adam
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2012-11-14 20:59 UTC by Michael Adam
Modified: 2012-12-03 12:19 UTC (History)
4 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Michael Adam 2012-11-14 20:59:00 UTC
We need a tool to change the debug level of samba at runtime, i.e. without the requirement to restart samba, in the same way as smbcontrol can be used to change the debuglevel of smbd, nmbd, and winbindd.

Since samba forks smbd it is not acceptable to restart samba including the file server component to change the debug level.

In the long run we plan to reconsile the messaging systems of the source3 and source4 parts of samba, and then we will have a single tool to control all components. But for 4.0 we should just spend the minimum required effort, which would probably be to integrate it into smbcontrol.
Comment 1 Michael Adam 2012-11-14 20:59:55 UTC
I think we can't release 4.0 into production without having a means to change the debug level at run time.
Comment 2 Karolin Seeger 2012-11-15 10:50:04 UTC
I agree that it's very important for debugging to be able to change the debug level at run time, but I don't think that this should be a blocker for 4.0 now.

No user raised this issue up to rc5 and I would like to avoid adding new binaries at this late stage in the release process. Would it be an option to make this one a blocker for 4.1?
Comment 3 Michael Adam 2012-12-03 12:19:33 UTC
Agreed. Let's not block 4.0 for this, but let's try to do something like this soon...