← Back to team overview

enterprise-support team mailing list archive

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

 

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/Client Support Team, which is subscribed to samba in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
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


Follow ups