[Bug 312449] Re: samba-common fails to upgrade if smb.conf is deleted

Thierry Carrez thierry.carrez at ubuntu.com
Wed Mar 4 16:44:18 GMT 2009


slangasek once said:
"the reasons for not regenerating the config file whenever it's missing or empty are rooted in the Debian and Ubuntu policy on config files, and this can't be changed without causing more problems than it solves."

so we should rather have a more informative error message. Something like:
Not replacing deleted config file /etc/samba/smb.conf
Install/upgrade will fail. To recover, please try:
  sudo cp /usr/share/samba/smb.conf /etc/samba/smb.conf
  sudo dpkg --configure -a


** Changed in: samba (Ubuntu)
   Importance: Medium => Wishlist

-- 
samba-common fails to upgrade if smb.conf is deleted
https://bugs.launchpad.net/bugs/312449
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.



More information about the Ubuntu-server-bugs mailing list