[Pkg-samba-maint] Bug#926887: Bug#926887: Upgrade replaced smb.conf

Alexander Toresson alexander.toresson at gmail.com
Sat Apr 27 22:16:49 BST 2019


On Thu, Apr 18, 2019 at 4:04 PM Mathieu Parent <math.parent at gmail.com>
wrote:

> Control: fixed -1 2:4.8.1+dfsg-1
>
> Le jeu. 11 avr. 2019 à 22:06, Alexander Toresson
> <alexander.toresson at gmail.com> a écrit :
> >
> > Package: samba-common
> > Version: 2:4.2.14+dfsg-0+deb8u12
> >
> > Hi,
> >
> > Suddenly my smb shares stopped working. I found out that an unattended
> upgrade of samba-common hade replaced (!) smb.conf, for whatever reason:
> >
> > Excerpt from /var/log/unattended-upgrades/unattended-upgrades-dpkg.log:
> > ...
> > Setting up samba-common (2:4.2.14+dfsg-0+deb8u12) ...
> > Replacing config file /etc/samba/smb.conf with new version
> > ...
> >
> > This is not something I'd expect to happen on package upgrade, at least
> not without being asked about it, which cannot be done for an unattended
> upgrade. Also, this was a security upgrade from deb8u11 to deb8u12, on
> which I'd expect it even less.
> >
> > This occured on debian 8.11 armel.
>
> Samba uses ucf to manage config file during upgrade. This should
> ensure proper three way merge between old, new and local config.
> However this is a bit broken in stretch as it searches for [cdrom]
> section.
>
> Can you send your /etc/samba/smb.conf* (including .ucf*) and
> /var/run/samba/upgrades/smb.conf files?
>
> Regards
> --
> Mathieu Parent
>

Hi!

Please se attached (note that I have undone the changes done to
/etc/samba/smb.conf by the upgrade).

BR, Alexander
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-samba-maint/attachments/20190427/84aff30d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smbconf.tar.bz2
Type: application/octet-stream
Size: 7035 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-samba-maint/attachments/20190427/84aff30d/attachment.obj>


More information about the Pkg-samba-maint mailing list