[Bug 1676029] Re: After upgrade, ALL of Samba's shares appear empty on OS X

Grant Johnston Dropkickmeelmo at cox.net
Sun Mar 26 01:27:47 UTC 2017


Okay, to give a little update on this, it is something in the "new"
version (2:4.4.5+dfsg-2ubuntu5.4 - I'll now refer to this as v5.4 for
simplicity's sake) - of what I don't exactly know. After about 12 more
full hours of searching and talking with another user who is having
similar issues I finally decided to apt-get purge Samba as well as all
of it's related packages and then install the "older" version (2:4.4.5
+dfsg-2ubuntu5). Once I installed v5 I simply dropped my old smb.conf
file in /etc/samba/ and everything went back to working like nothing had
happened.

When this report gets fully approved and gets the "green light" from you
guys let me know what I can provide to help get this issue fixed. I'm
hoping that it's simply because a lot of users haven't upgraded yet and
it's not an obscure bug that doesn't affect a lot of systems - not that
I'm hoping that everyone that uses a samba server gets plagued with
this, but that it's obvious and will be fixed quickly.

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

Title:
  After upgrade, ALL of Samba's shares appear empty on OS X

Status in samba package in Ubuntu:
  New

Bug description:
  I hadn't noticed it immediately after samba package upgrade, but in an
  attempt to sign into my samba shares once I get the share mounted and
  I try and open a folder it appears empty where it worked flawlessly
  before. I hoped that reinstalling the samba package would give me a
  direction in where to go as I had done about 12 hours of searching for
  a fix.

  Upon reinstalling the package I got the attached error.

  Using Ubuntu 16.10

  Samba version - 
  samba:
    Installed: 2:4.4.5+dfsg-2ubuntu5.4
    Candidate: 2:4.4.5+dfsg-2ubuntu5.4
    Version table:
   *** 2:4.4.5+dfsg-2ubuntu5.4 500
          500 http://archive.ubuntu.com/ubuntu yakkety-updates/main amd64 Packages
          500 http://archive.ubuntu.com/ubuntu yakkety-security/main amd64 Packages
          100 /var/lib/dpkg/status
       2:4.4.5+dfsg-2ubuntu5 500
          500 http://archive.ubuntu.com/ubuntu yakkety/main amd64 Packages

  I expected Samba to load and work

  Samba loads in a pseudo erroneous state -

  grant at threeve:~$ sudo /etc/init.d/samba status
  ● nmbd.service - Samba NMB Daemon
     Loaded: loaded (/lib/systemd/system/nmbd.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2017-03-25 06:40:54 CDT; 8min ago
       Docs: man:nmbd(8)
             man:samba(7)
             man:smb.conf(5)
   Main PID: 4725 (nmbd)
     Status: "nmbd: ready to serve connections..."
      Tasks: 1 (limit: 4915)
     CGroup: /system.slice/nmbd.service
             └─4725 /usr/sbin/nmbd

  Mar 25 06:40:54 threeve systemd[1]: Starting Samba NMB Daemon...
  Mar 25 06:40:54 threeve systemd[1]: nmbd.service: Supervising process 4725 ...s.
  Mar 25 06:40:54 threeve systemd[1]: Started Samba NMB Daemon.
  Mar 25 06:40:54 threeve nmbd[4725]: [2017/03/25 06:40:54.598389,  0] ../lib...y)
  Mar 25 06:40:54 threeve nmbd[4725]:   STATUS=daemon 'nmbd' finished startin...ns
  Hint: Some lines were ellipsized, use -l to show in full.
  ● smbd.service - Samba SMB Daemon
     Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2017-03-25 06:40:55 CDT; 8min ago
       Docs: man:smbd(8)
             man:samba(7)
             man:smb.conf(5)
   Main PID: 4759 (smbd)
     Status: "smbd: ready to serve connections..."
      Tasks: 4 (limit: 4915)
     CGroup: /system.slice/smbd.service
             ├─4759 /usr/sbin/smbd
             ├─4760 /usr/sbin/smbd
             ├─4761 /usr/sbin/smbd
             └─4763 /usr/sbin/smbd

  Mar 25 06:40:54 threeve systemd[1]: Starting Samba SMB Daemon...
  Mar 25 06:40:54 threeve systemd[1]: smbd.service: Supervising process 4759 ...s.
  Mar 25 06:40:55 threeve smbd[4759]: [2017/03/25 06:40:55.457333,  0] ../lib...y)
  Mar 25 06:40:55 threeve smbd[4759]:   STATUS=daemon 'smbd' finished startin...ns
  Mar 25 06:40:55 threeve systemd[1]: Started Samba SMB Daemon.
  Hint: Some lines were ellipsized, use -l to show in full.
  grant at threeve:~$

  ProblemType: Package
  DistroRelease: Ubuntu 16.10
  Package: samba 2:4.4.5+dfsg-2ubuntu5.4
  ProcVersionSignature: Ubuntu 4.8.0-42.45-generic 4.8.17
  Uname: Linux 4.8.0-42-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  ApportVersion: 2.20.3-0ubuntu8.2
  AptOrdering:
   samba:amd64: Install
   NULL: ConfigurePending
  Architecture: amd64
  Date: Sat Mar 25 06:22:33 2017
  ErrorMessage: subprocess installed post-installation script returned error exit status 1
  InstallationDate: Installed on 2017-02-06 (47 days ago)
  InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
  NmbdLog:
   
  OtherFailedConnect: Yes
  RelatedPackageVersions:
   dpkg 1.18.10ubuntu1
   apt  1.3.4
  SambaServerRegression: Yes
  SmbConfIncluded: Yes
  SmbLog:
   
  SourcePackage: samba
  Title: package samba 2:4.4.5+dfsg-2ubuntu5.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list