On Thu, Apr 18, 2019 at 4:04 PM Mathieu Parent <math.par...@gmail.com> wrote:
> Control: fixed -1 2:4.8.1+dfsg-1 > > Le jeu. 11 avr. 2019 à 22:06, Alexander Toresson > <alexander.tores...@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
smbconf.tar.bz2
Description: Binary data