Merge lp:~hggdh2/ubuntu/maverick/samba/apport-nosmb-conf into lp:ubuntu/maverick/samba

Proposed by C de-Avillez on 2010-06-08
Status: Merged
Merge reported by: Sebastien Bacher
Merged at revision: not available
Proposed branch: lp:~hggdh2/ubuntu/maverick/samba/apport-nosmb-conf
Merge into: lp:ubuntu/maverick/samba
Diff against target: 30 lines (+12/-0)
2 files modified
debian/changelog (+7/-0)
debian/ (+5/-0)
To merge this branch: bzr merge lp:~hggdh2/ubuntu/maverick/samba/apport-nosmb-conf
Reviewer Review Type Date Requested Status
Ubuntu branches 2010-06-08 Pending
Review via email:

Description of the change

debian/ add check for non-existing /etc/samba/smb.conf; if non-existing, print out a blurb on why this is not a bug, and what to do, and end run.

To post a comment you must log in.
Sebastien Bacher (seb128) wrote :

the change has been uploaded to maverick is seems

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2010-06-01 08:17:20 +0000
3+++ debian/changelog 2010-06-08 00:23:25 +0000
4@@ -1,3 +1,10 @@
5+samba (2:3.5.3~dfsg-0ubuntu2.1) maverick; urgency=low
7+ * debian/ if /etc/samba/smb.conf is missing, pop up
8+ a message for why this is not a bug, and end run.
10+ -- C de-Avillez <> Mon, 07 Jun 2010 19:06:51 -0500
12 samba (2:3.5.3~dfsg-0ubuntu2) maverick; urgency=low
14 * debian/control: Drop ctdb build dependency again, it's not in main.
16=== modified file 'debian/'
17--- debian/ 2010-02-26 09:10:02 +0000
18+++ debian/ 2010-06-08 00:23:25 +0000
19@@ -63,6 +63,11 @@
22 # Interactive report
23+ # start by checking if /etc/smb.conf exists
24+ if not os.path.exists ('/etc/samba/smb.conf'):
25+ ui.information("The configuration file '/etc/samba/smb.conf' does not exist. This file, and its contents, are critical for the operation of the SAMBA package(s). A common situation for this is:\n * you removed (but not purged) SAMBA;\n * later on, you (or somebody) manually deleted '/etc/samba/smb.conf;\n * you reinstalled SAMBA.\nAs a result, this file is *not* reinstalled. If this is your case, please purge samba-common (e.g., sudo apt-get purge samba-common) and then reinstall SAMBA.\nYou may want to check other sources, like:,, and Please press any key to end apport's bug collection.")
26+ raise StopIteration # we are out
28 ui.information("As a part of the bug reporting process, you'll be asked as series of questions to help provide a more descriptive bug report. Please answer the following questions to the best of your abilities. Afterwards, a browser will be opened to finish filing this as a bug in the Launchpad bug tracking system.")
30 response = ui.choice("How would you best describe your setup?", ["I am running a Windows File Server.", "I am connecting to a Windows File Server."], False)


People subscribed via source and target branches

to all changes: