<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 18, 2019 at 4:04 PM Mathieu Parent <<a href="mailto:math.parent@gmail.com">math.parent@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Control: fixed -1 2:4.8.1+dfsg-1<br>
<br>
Le jeu. 11 avr. 2019 à 22:06, Alexander Toresson<br>
<<a href="mailto:alexander.toresson@gmail.com" target="_blank">alexander.toresson@gmail.com</a>> a écrit :<br>
><br>
> Package: samba-common<br>
> Version: 2:4.2.14+dfsg-0+deb8u12<br>
><br>
> Hi,<br>
><br>
> Suddenly my smb shares stopped working. I found out that an unattended upgrade of samba-common hade replaced (!) smb.conf, for whatever reason:<br>
><br>
> Excerpt from /var/log/unattended-upgrades/unattended-upgrades-dpkg.log:<br>
> ...<br>
> Setting up samba-common (2:4.2.14+dfsg-0+deb8u12) ...<br>
> Replacing config file /etc/samba/smb.conf with new version<br>
> ...<br>
><br>
> 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.<br>
><br>
> This occured on debian 8.11 armel.<br>
<br>
Samba uses ucf to manage config file during upgrade. This should<br>
ensure proper three way merge between old, new and local config.<br>
However this is a bit broken in stretch as it searches for [cdrom]<br>
section.<br>
<br>
Can you send your /etc/samba/smb.conf* (including .ucf*) and<br>
/var/run/samba/upgrades/smb.conf files?<br>
<br>
Regards<br>
-- <br>
Mathieu Parent<br></blockquote><div><br></div><div>Hi!</div><div><br></div><div>Please se attached (note that I have undone the changes done to /etc/samba/smb.conf by the upgrade).</div><div><br></div><div>BR, Alexander </div></div></div>