TurnKey Linux Virtual Appliance Library

Advice on Samba upgrade for TKL DC 2009.10

Jeremy's picture

I have been mucking around with the new releases and converting them to OpenVZ templates for my own use.

As part of the process I have been running apt-get upgrade. But with the Domain Controller, as part of the upgrade I am confronted with a screen that says:

"A new version of configuration file /etc/samba/smb.conf is availabe, but the version installed currently has been locally modified. What would you like to do about smb.conf?"

The I am presented with the following options:

  • install new
  • keep current
  • diff
  • sdiff
  • diff threeway
  • merge threeway
  • shell

I am assuming that the local modifications are a custom TKL set.

What is the best method (ie the one most likely to work as desired and least likely to cause problems).

For your interest I have stuck with "keep current" for now but have yet to test my template.

 [edit] Same applies to TKL FileServer (and obviously any other appliance that uses Samba).

Alon Swartz's picture

Yes, the local modifications provide the magic :)

Yes, you assumed correctly. The local modifications configure samba to provide the PDC functionality, so if you override it (ie. install new), you would loose those configurations.

The safest method (and the default when upgrading) is to keep current. You can always perform a diff to see what would change though...
Jeremy's picture

Thanks

Ok, when I get a chance I'll go back and check on that at some point. Good to know I was heading in the right direction though

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)