[Bug 1690684] Re: samba panic

Andreas Hasenack andreas at canonical.com
Wed Sep 20 21:25:10 UTC 2017


Ok, your eth0 network interface is controlled by network manager then.
This means that it only becomes available after you login on your Ubuntu
desktop, and that's why samba is failing: the network interface you told
it to use is not available when samba starts.

You have some options:
a) do not specify the interfaces line in /etc/samba/smb.conf. This is usually only needed when you have multiple interfaces and want to control where samba will listen. I'm not sure if samba will pick up eth0 once it becomes available, you should try it.

b) Specify the eth0 interface details in /etc/network/interfaces. See
the interfaces manpage with "man interfaces". Then it will be brought up
during boot, and will be ready for samba when it starts.

c) Workaround: configure samba to not start automatically. You would
then start it manually after you login on your desktop and the network
is available.

I suggest you try (a) first, unless you have multiple interfaces and
really need samba to only use eth0. Or if samba doesn't pick up your
eth0 network once it's up (after you login). If that doesn't work, then
you should really treat this machine like a server and go for (b). (c)
is a workaround.

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

Title:
  samba panic

Status in samba package in Ubuntu:
  Incomplete

Bug description:
  The Samba 'panic action' script, /usr/share/samba/panic-action,
  was called for PID 744 (/usr/sbin/smbd).

  
  [Thread debugging using libthread_db enabled]
  Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  0x00007f901f1f254c in __libc_waitpid (pid=861, stat_loc=stat_loc at entry=0x7fff997eeb30, options=options at entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:31

  $ lsb_release -rd
  Description:	Ubuntu 14.04.5 LTS
  Release:	14.04

  $ apt-cache policy samba

  samba:
    Installed: 2:4.3.11+dfsg-0ubuntu0.14.04.7
    Candidate: 2:4.3.11+dfsg-0ubuntu0.14.04.7
    Version table:
   *** 2:4.3.11+dfsg-0ubuntu0.14.04.7 0
          500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
          500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
          100 /var/lib/dpkg/status
       2:4.1.6+dfsg-1ubuntu2 0
          500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

  System rebooted.
  Samba reports panic, via email, twice upon reboot.

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



More information about the foundations-bugs mailing list