[Bug 293539] Re: package samba failed to install/upgrade: Conflicts found! Please edit `/etc/samba/smb.conf' and sort them out manually.

tota antonio.tavares at gmail.com
Tue Nov 11 18:41:07 GMT 2008


Hi Steve.
Thank you for reminding me. I edited /etc/samba/smb.conf accordingly. I 
had solved the problem nevertheless.
I'm thinking that it would be nice if we could have a special folder 
keeping backups of changed configuration files for samba or other 
packages. All the instalation would go without any questions. At the 
end, the system would ask all the questions, presenting the differences, 
and the user could replace/maintain or reconcile with manual supervision 
at his/her choice. After that, the system would restart all services 
modified. Even if the user got confused he/she could go to the update 
log folder and get back the correct version of the configuration file.
We could have un update log telling diferences line by line and pointing 
to the previous and new config. For example
file /log/update8.10/log.txt:
....
#Section [SAMBA]
...
Applying update from version 1 to version 2
...
Configuration file /etc/samba/smb.conf
    saved to /log/update8.10/old/etc/samba/smb.conf
#Changing configuration
...
changed line 55 from:
wins support = yes
to
;  wins support = no
...
Changed file saved to /etc/samba/smb.conf and to 
/log/update8.10/new/etc/samba/smb.conf

What do you think of this idea?
Cheers,
Antonio

Steve Langasek escreveu:
> tota,
>
> >From the files you attached, it looks like after the failure you again
> configured samba-common and chose the 'use the maintainer's version'
> option.  So going forward, the conflict appears to be resolved.
>
> As for the reason why a conflict was found when you upgraded, it appears
> that some of your customizations to the file overlapped with changes
> made to the default config file between Ubuntu 8.04 and Ubuntu 8.10.
> I'm afraid that there's no good solution for this in the general case,
> and the solution for this bug is precisely what you did: accept one of
> the other options for handling this config file, and then fixing up the
> config file by hand if necessary.  So I'm marking this bug as 'wontfix'.
>
> Please do continue to file bugs about problems you find in Ubuntu; the
> feedback is definitely helpful since we want to make upgrades as smooth
> as possible - even though improvement is not practical here.
>
> BTW, it looks like several options fell out of your smb.conf when you
> overwrote it with the default version; you may want to add these options
> back:
>
>        wins support = yes
>        create mask = 0777
>        directory mask = 0777
>        username map = /etc/samba/smbusers
>
>
> ** Changed in: samba (Ubuntu)
>        Status: Incomplete => Won't Fix
>
>

-- 
package samba failed to install/upgrade: Conflicts found! Please edit `/etc/samba/smb.conf' and sort them out manually.
https://bugs.launchpad.net/bugs/293539
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