[Bug 1694334] Re: Offer to include testparm's analysis in bug reports

Andreas Hasenack andreas at canonical.com
Tue May 30 18:04:52 UTC 2017


** Summary changed:

- Offer to include testparm's analysis in but reports
+ Offer to include testparm's analysis in bug reports

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1694334

Title:
  Offer to include testparm's analysis in bug reports

Status in samba package in Ubuntu:
  In Progress

Bug description:
  It would be helpful to offer to include samba's testparm(1) analysis
  of the smb.conf config file in samba bug reports.

  If the user agrees to attach smb.conf, then it's not really needed
  (bug triagers can run it themselves), but in the case of a refusal,
  having testparm run a quick sanity check on that file and include its
  report in the bug would save time.

  I have a test branch that implements the following workflow:
  - if the user refuses to attach smb.conf, ask a followup question about testparm
  - this followup question asks if the user would allow us to run "testparm -s /etc/samba/smb.conf > /dev/null". This will capture testparm's analysis of the config file, show share names, show syntax errors, and give a good or bad result.
  - the user can refuse to run testparm
  - if the user agreed to attach smb.conf in the previous question, then we don't run testparm.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1694334/+subscriptions



More information about the foundations-bugs mailing list