upgrades-migrations / preupgrade-assistant-modules

Modules for the Preupgrade Assistant tool. Disclaimer: It was fun. R.I.P. :-)
GNU General Public License v3.0
3 stars 11 forks source link

networking/samba: Can't open sessionid.tdb #113

Open AloisMahdal opened 6 years ago

AloisMahdal commented 6 years ago

I haven't yet figured out why&when, but in some cases, networking/samba module spits out Can't open sessionid.tdb to stderr.

Raw output:

Can't open sessionid.tdb
preupg.risk.SLIGHT: The SMB1 protocol is deprecated and it is replaced by SMB2.
preupg.risk.MEDIUM: Certain samba configuration settings from the source system might be deprecated on the target system service.

Note that we have a dedicated downstream test for Samba that also prints the above risks but not the sessionid.tdb error.

Reproduced with preupgrade-assistant-el6toel7-0.7.7-1.el6.

pirat89 commented 5 years ago

Just to complete info: we know already that it's because the samba service is not running. So the solution is to check whether the samba service is running already and in case it is not... a) notapplicable as user probably do not user samba? b) information instead of need...?