← Back to team overview

enterprise-support team mailing list archive

[Bug 1859276] Re: package samba-common-bin 2:4.11.1+dfsg-3ubuntu2 failed to install/upgrade: installed samba-common-bin package post-installation script subprocess returned error exit status 1

 

Thanks for filing this bug in Ubuntu.

During an upgrade, services are restarted, and if it turns out the new
version doesn't like the old config, it will fail to restart. I think
this is indeed what happened here, given the output of testparm that is
attached to this report:

WARNING: The "syslog" option is deprecated
WARNING: The "encrypt passwords" option is deprecated
Unknown parameter encountered: "netbios"
Ignoring unknown parameter "netbios"
Load smb config files from /etc/samba/smb.conf
WARNING: The "syslog" option is deprecated
WARNING: The "encrypt passwords" option is deprecated
Unknown parameter encountered: "netbios"
Ignoring unknown parameter "netbios"
Global parameter guest account found in service section!
Loaded services file OK.
ERROR: the 'unix password sync' parameter is set and there is no valid 'passwd program' parameter.

Server role: ROLE_STANDALONE


Your previous samba version wasn't that old, though, so it's also possible the config was already incorrect, but it was only noticed when the service was restarted due to the upgrade.

I think the package did the right thing, it explicitly checks for the
syntax of the configuration file when starting the service. And the
error you had above seems to have been caused by an external
administration tool (webmin) (external to the package), and is not the
config shipped by default.

I'll mark this bug as invalid, but if you have another suggestion on how
the package should behave, feel free to add a comment.

Thanks again for reporting this


** Changed in: samba (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to samba in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1859276

Title:
  package samba-common-bin 2:4.11.1+dfsg-3ubuntu2 failed to
  install/upgrade: installed samba-common-bin package post-installation
  script subprocess returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1859276/+subscriptions


References