[Bug 1478289] Re: samba fails to start at boot after 15.04 upgrade
Robie Basak
1478289 at bugs.launchpad.net
Mon Jul 27 07:56:21 UTC 2015
Thank you for taking the time to report this bug and helping to make
Ubuntu better.
On my test on Vivid, /lib/systemd/system/samba.service exists, is a
symlink to /dev/null, and causes "sudo systemctl start samba" to output
"Failed to start samba.service: Unit samba.service is masked.". Instead,
/etc/init.d/{smbd,nmbd} work directly, and "sudo systemdctl {start|stop}
{smbd|nmbd}" both appear to work correctly. On reboot, smbd and nmbd are
both started correctly.
So it seems that I cannot reproduce, though I haven't tried an upgrade
for Utopic. Do you have a previous customised version of
/etc/init.d/samba that you have not updated for Vivid?
Please provide steps to reproduce, and once done, change the bug status
back to New. Thanks!
** Changed in: samba (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1478289
Title:
samba fails to start at boot after 15.04 upgrade
Status in samba package in Ubuntu:
Incomplete
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 at c1:~# systemctl enable samba
Synchronizing state for samba.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d samba defaults
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
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 samba enable
update-rc.d: error: samba Default-Start contains no runlevels, aborting.
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: samba 2:4.1.13+dfsg-4ubuntu3
ProcVersionSignature: Ubuntu 3.19.0-23.24-generic 3.19.8-ckt2
Uname: Linux 3.19.0-23-generic x86_64
NonfreeKernelModules: nvidia
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
SambaServerRegression: Yes
SmbConfIncluded: No
SourcePackage: samba
UpgradeStatus: Upgraded to vivid on 2015-07-25 (0 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1478289/+subscriptions
More information about the foundations-bugs
mailing list