package samba 2:4.3.11+dfsg-0ubuntu0.16.04.1 failed to upgrade due to invalid value 'share' for parameter 'security'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
apt upgrade returns error with dependencies failing to upgrade samba. It fails during starting /etc/init.d/smbd service with systemd. apt upgrade prints the following error:
Job for smbd.service failed because the control process exited with error code. See "systemctl status smbd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript smbd, action "start" failed.
After that line the fail info about the packages which depend on the samba being upgraded is apparently printed.
# systemctl status smbd.service
● smbd.service - LSB: start Samba SMB/CIFS daemon (smbd)
Loaded: loaded (/etc/init.d/smbd; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since Пн 2016-10-17 14:13:16 MSK; 55s ago
Docs: man:systemd-
Process: 32705 ExecStart=
#
# journalctl -xe (translated some captions into English):
Oct 17 14:09:40 kartashev2 systemd[1]: Starting LSB: start Samba SMB/CIFS daemon (smbd)...
-- Subject: Начинается запуск юнита smbd.service
-- Defined-By: systemd
-- Support: http://
--
-- Starting running unit smbd.service.
Oct 17 14:09:40 kartashev2 smbd[23272]: * Starting SMB/CIFS daemon smbd
Oct 17 14:09:41 kartashev2 smbd[23272]: ...fail!
Oct 17 14:09:41 kartashev2 systemd[1]: smbd.service: Control process exited, code=exited status=1
Oct 17 14:09:41 kartashev2 systemd[1]: Failed to start LSB: start Samba SMB/CIFS daemon (smbd).
-- Subject: Unit error smbd.service
-- Defined-By: systemd
-- Support: http://
--
-- Unit failed smbd.service.
--
-- Result: failed.
# /usr/sbin/smbd -F -S
smbd version 4.3.11-Ubuntu started.
Copyright Andrew Tridgell and the Samba Team 1992-2015
WARNING: Ignoring invalid value 'share' for parameter 'security'
error opening config file '/etc/samba/
# lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04
# apt-cache policy samba
samba:
Installed: 2:4.3.11+
Candidate: 2:4.3.11+
Version table:
*** 2:4.3.11+
500 http://
500 http://
100 /var/lib/
2:
500 http://
If 'security = share' is removed from smbd.conf then all runs fine. Everything worked with previous version.
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: samba 2:4.3.11+
ProcVersionSign
Uname: Linux 4.4.0-43-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Thu Oct 13 21:13:20 2016
DpkgHistoryLog:
Start-Date: 2016-10-13 21:13:18
Commandline: apt-get install kpartx
Requested-By: shmyak (1000)
Install: kpartx:amd64 (0.5.0+
ErrorMessage: подпроцесс установлен сценарий post-installation возвратил код ошибки 1
InstallationDate: Installed on 2010-10-12 (2196 days ago)
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
NmbdLog:
Packet send failed to 10.0.3.255(138) ERRNO=Недопустимый аргумент
Packet send failed to 10.0.3.255(138) ERRNO=Недопустимый аргумент
OtherFailedConnect: Yes
RelatedPackageV
dpkg 1.18.4ubuntu1.1.1
apt 1.2.12~
SambaServerRegr
SmbConfIncluded: Yes
SmbLog:
SourcePackage: samba
Title: package samba 2:4.3.11+
UpgradeStatus: Upgraded to xenial on 2016-08-19 (58 days ago)
tags: | added: bugpattern-written |
Changed in samba (Ubuntu): | |
status: | Expired → New |
Changed in samba (Ubuntu): | |
status: | Expired → Incomplete |
Changed in samba (Ubuntu): | |
status: | Incomplete → Won't Fix |
Thank you for taking the time to report this bug and helping to make Ubuntu better. Also a huge thank you for already collecting the additional data.
From the logs: smb.conf'
WARNING: Ignoring invalid value 'share' for parameter 'security'
error opening config file '/etc/samba/
As you noted the share parameter appears to be keeping things from working. A quick search shows that share=security is deprecated. A quick search of the community forums found this page: https:/ /ubuntuforums. org/showthread. php?t=1962617 which may help you.
Since this appears to be a local configuration problem and not a bug in Ubuntu, I'm marking this bug as Incomplete. We'd be grateful if you would then provide a more complete description of the problem, explain why you believe this is a bug in Ubuntu rather than a problem specific to your system, and then change the bug status back to New.
If indeed this is a local configuration problem, you can find pointers to get help for this sort of problem here: http:// www.ubuntu. com/support/ community