Ubuntu 18.04 CIFS mount - lots of "Panic or segfault in Samba" errors

    • OMV 4.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Ubuntu 18.04 CIFS mount - lots of "Panic or segfault in Samba" errors

      Hello,

      I am using OpenMediaVault 4.1.17-1 and have several CIFS shares. These shares are backed by mergerfs shared folders. These shares are mounted on Ubuntu Linux server VMs (16.04) and have been working well (for two years) up until recently when I upgraded to Ubuntu 18.04.1. After upgrading Ubuntu server from 16.04 to 18.04.1, I now (several times a day) get lots of emails (50-100 sometimes) from OMV stating "The Samba 'panic action' script, /usr/share/samba/panic-action, was called for PID xxx ()." When I unmount the CIFS share from the Ubuntu 18.04.1 VM, the errors stop. Below is the /etc/fstab config on Ubuntu and my smb.conf from OMV. Any help would be appreciated.


      Source Code

      1. //192.168.1.6/PlexMediaUFS /mnt/Plex-cifs cifs credentials=/home/plex/.smbcredentials,iocharset=utf8,sec=ntlmssp,uid=plex,gid=users,file_mode=0664 0 0



      Source Code: /etc/samba/smb.conf

      1. #======================= Global Settings =======================
      2. [global]
      3. workgroup = WORKGROUP
      4. server string = %h server
      5. dns proxy = no
      6. log level = 2
      7. log file = /var/log/samba/log.%m
      8. max log size = 1000
      9. logging = syslog
      10. panic action = /usr/share/samba/panic-action %d
      11. encrypt passwords = true
      12. passdb backend = tdbsam
      13. obey pam restrictions = no
      14. unix password sync = no
      15. passwd program = /usr/bin/passwd %u
      16. passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
      17. pam password change = yes
      18. socket options = TCP_NODELAY IPTOS_LOWDELAY
      19. guest account = nobody
      20. load printers = no
      21. disable spoolss = yes
      22. printing = bsd
      23. printcap name = /dev/null
      24. unix extensions = yes
      25. wide links = no
      26. create mask = 0777
      27. directory mask = 0777
      28. use sendfile = yes
      29. aio read size = 16384
      30. aio write size = 16384
      31. local master = yes
      32. time server = no
      33. wins support = no
      34. ntlm auth = yes
      35. #======================= Share Definitions =======================
      36. [PlexMediaUFS]
      37. comment = Plex
      38. path = /srv/570ff7e3-e2d3-45b9-bddd-5cade88179cf/Plex
      39. guest ok = no
      40. read only = no
      41. browseable = yes
      42. inherit acls = yes
      43. inherit permissions = no
      44. ea support = no
      45. store dos attributes = no
      46. vfs objects =
      47. printable = no
      48. create mask = 0664
      49. force create mode = 0664
      50. directory mask = 0775
      51. force directory mode = 0775
      52. hide special files = yes
      53. follow symlinks = yes
      54. hide dot files = yes
      55. valid users = "plex",@"plex"
      56. invalid users =
      57. read list =
      58. write list = "plex",@"plex"
      Display All