[opensuse-factory] Samba privatedir fix and content migration
Hi, with the next Samba package available to openSUSE Tumbleweed the private directory configuration will change from /etc/samba/ to /var/lib/samba/private/ The later is the upstream default and the breakage on the SUSE side got introduced ten years back. The private dir is _not_ the location of /etc/samba/smb.conf and other configuration files. The private dir is where files and directories are created which are private to Samba's daemons and tools. With the latest package we ensure to migrate the following files from /etc/samba/ to /var/lib/samba/private/ netlogon_creds_cli.tdb passdb.tdb secrets.tdb smbpasswd If you see the need to cover more files please reply to this mail or reopen https://bugzilla.opensuse.org/show_bug.cgi?id=946051 which covers the relocation of the private dir. I expect this will not have broken any Tumbleweed install as we had no published version in the last week. All you might have gotten is: a) A /etc/samba/sock directory. This dir is superfluous as soon as you have gotten /var/lib/samba/private/sock/ belonging to the samba-client package. b) Failing nmb, smb, and winbind daemons as AppArmor prevented access to /etc/samba/sock See https://bugzilla.opensuse.org/show_bug.cgi?id=945563 if you like to know how valueable bug reports are. Kudos to Giuseppe for filing the bug report and Christian who pushed the dicsussion to the AppArmor dev list. Cheers, Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team + SUSE Labs SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
participants (1)
-
Lars Müller