[Bug 2082608] Re: 22.04.5 to 24.04.1 sets /etc/samba/smb.conf to default
Miriam EspaƱa Acebal
2082608 at bugs.launchpad.net
Thu Oct 10 09:01:38 UTC 2024
Hello Fabrizzio,
thanks for sending us the smb.conf file. I used it when I followed
Andreas's steps in comment #2 above [1]. Also get the prompt screen too,
and it slightly changes the configuration (I mean, it doesn't keep it as
it was totally), as you can see here:
root at Jsamba:~# diff smb.conf.fromuser /etc/samba/smb.conf
222c222
< path = /var/spool/samba
---
> path = /var/tmp
root at Jsamba:~#
It is the same for you or the new /etc/samba/smb.conf loses all your
settings?
Awaiting for your news, I'm marking this as "Incomplete" until then.
Thanks in advance.
[1]
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/2082608/comments/2
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2082608
Title:
22.04.5 to 24.04.1 sets /etc/samba/smb.conf to default
Status in samba package in Ubuntu:
Incomplete
Status in ubuntu-release-upgrader package in Ubuntu:
Invalid
Bug description:
Upgraded Ubuntu 22.04.5 LTS server to 24.04.1 LTS using do-release-upgrade.
Before upgrade, server was fully up-to-date and freshly rebooted.
I was not prompted during the upgrade process, about a configuration
change of smb.conf.
Yet after the upgrade, the contents of /etc/samba/smb.conf are the
defaults, all custom settings were lost, and there is no
"smb.conf.dpkg-old" nor similar file on /etc/samba/
More specifically the upgrade was samba:amd64
2:4.15.13+dfsg-0ubuntu1.6 -> 2:4.19.5+dfsg-4ubuntu9
### What you expected to happen
Either /etc/samba/smb.conf untouched, or the usual "a new version of
configuration file blahblahblah is available but yours is locally
modified" with the prompt on what to do.
### What happened
/etc/samba/smb.conf was just overwritten with defaults.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/2082608/+subscriptions
More information about the foundations-bugs
mailing list