[Bug 1478289] Re: samba fails to start at boot after 15.04 upgrade

Graeme graeme at sudo.ca
Mon Jul 27 21:52:28 UTC 2015


Huh, I'm seeing the same behaviour as you now:

nergdron at c1:~⟫ ls -l /lib/systemd/system/samba.service 
lrwxrwxrwx 1 root root 9 Apr  3 14:32 /lib/systemd/system/samba.service -> /dev/null
nergdron at c1:~⟫ sydi 0u^C
130 nergdron at c1:~⟫ sudo -i
[sudo] password for nergdron: 
root at c1:~# systemctl start samba
Failed to start samba.service: Unit samba.service is masked.
root at c1:~# update-rc.d samba defaults

I can't explain the behaviour I was seeing on the weekend, there must
have been some other interactions on my box I can't reproduce now. I
guess this is not a bug, thanks!

-- 
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