[Bug 1694334] [NEW] Offer to include testparm's analysis in but reports

Andreas Hasenack andreas at canonical.com
Mon May 29 21:40:52 UTC 2017


Public bug reported:

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.

** Affects: samba (Ubuntu)
     Importance: Wishlist
     Assignee: Andreas Hasenack (ahasenack)
         Status: In Progress

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

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

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



More information about the Ubuntu-server-bugs mailing list