samba fails to start at boot after 15.04 upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
After upgrading to 15.04 from 14.10, Samba no longer starts at boot. I suspect it's related to the switch to systemd, as attempting to set it to start using the systemd tools results in a bunch of error messages:
root@c1:~# systemctl enable samba
Synchronizing state for samba.service with sysvinit using update-rc.d...
Executing /usr/sbin/
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
Executing /usr/sbin/
update-rc.d: error: samba Default-Start contains no runlevels, aborting.
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: samba 2:4.1.13+
ProcVersionSign
Uname: Linux 3.19.0-23-generic x86_64
NonfreeKernelMo
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
Date: Sat Jul 25 16:09:47 2015
InstallationDate: Installed on 2014-11-09 (258 days ago)
InstallationMedia: Ubuntu-Server 14.10 "Utopic Unicorn" - Release amd64 (20141022.2)
OtherFailedConnect: Yes
ProcEnviron:
LANGUAGE=en_CA:en
TERM=screen
PATH=(custom, no user)
LANG=en_CA.UTF-8
SHELL=/bin/bash
SambaServerRegr
SmbConfIncluded: No
SourcePackage: samba
UpgradeStatus: Upgraded to vivid on 2015-07-25 (0 days ago)
Can't find any systemd specific init scripts for samba, either:
root@c1: /etc/systemd# find . | grep samba /etc/systemd# find . | grep smb /etc/systemd# find . | grep nmb
root@c1:
root@c1: