[Bug 1688527] Re: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.6 failed to install/upgrade: โพรเซสย่อย สคริปต์ post-installation ที่ติดตั้งไว้ จบการทำงานโดยคืนค่าสถานะข้อผิดพลาด 1

Andreas Hasenack andreas at canonical.com
Fri May 26 17:04:52 UTC 2017


The "samba" systemd service should not be enabled:

พ.ค. 05 17:30:17 hostname samba[11118]: [2017/05/05 17:30:17.311253,  0] ../source4/smbd/server.c:372(binary_smbd_main)
พ.ค. 05 17:30:17 hostname samba[11118]:   samba version 4.3.11-Ubuntu started.
พ.ค. 05 17:30:17 hostname samba[11118]:   Copyright Andrew Tridgell and the Samba Team 1992-2015
พ.ค. 05 17:30:17 hostname samba[11119]: [2017/05/05 17:30:17.355042,  0] ../source4/smbd/server.c:477(binary_smbd_main)
พ.ค. 05 17:30:17 hostname samba[11119]:   At this time the 'samba' binary should only be used for either:
พ.ค. 05 17:30:17 hostname samba[11119]:   'server role = active directory domain controller' or to access the ntvfs file server with 'server services = +smb' or the rpc proxy with 'dcerpc endpoint servers = remote'
พ.ค. 05 17:30:17 hostname samba[11119]:   You should start smbd/nmbd/winbindd instead for domain member and standalone file server tasks
พ.ค. 05 17:30:17 hostname samba[11119]: [2017/05/05 17:30:17.355198,  0] ../lib/util/become_daemon.c:111(exit_daemon)
พ.ค. 05 17:30:17 hostname samba[11119]:   STATUS=daemon failed to start: Samba detected misconfigured 'server role' and exited. Check logs for details, error code 22
พ.ค. 05 17:30:27 hostname samba[11122]: [2017/05/05 17:30:27.442565,  0] ../source4/smbd/server.c:372(binary_smbd_main)
พ.ค. 05 17:30:27 hostname samba[11122]:   samba version 4.3.11-Ubuntu started.
พ.ค. 05 17:30:27 hostname samba[11122]:   Copyright Andrew Tridgell and the Samba Team 1992-2015
พ.ค. 05 17:30:27 hostname samba[11123]: [2017/05/05 17:30:27.488643,  0] ../source4/smbd/server.c:477(binary_smbd_main)
พ.ค. 05 17:30:27 hostname samba[11123]:   At this time the 'samba' binary should only be used for either:
พ.ค. 05 17:30:27 hostname samba[11123]:   'server role = active directory domain controller' or to access the ntvfs file server with 'server services = +smb' or the rpc proxy with 'dcerpc endpoint servers = remote'
พ.ค. 05 17:30:27 hostname samba[11123]:   You should start smbd/nmbd/winbindd instead for domain member and standalone file server tasks
พ.ค. 05 17:30:27 hostname samba[11123]: [2017/05/05 17:30:27.488815,  0] ../lib/util/become_daemon.c:111(exit_daemon)
พ.ค. 05 17:30:27 hostname samba[11123]:   STATUS=daemon failed to start: Samba detected misconfigured 'server role' and exited. Check logs for details, error code 22


The samba service should be masked, like this:
# systemctl status samba
● samba.service
   Loaded: masked (/dev/null; bad)
   Active: inactive (dead)

If yours says otherwise, please mask it:
# systemctl mask samba
Created symlink /etc/systemd/system/samba.service → /dev/null.


** Changed in: samba (Ubuntu)
       Status: New => Incomplete

** Summary changed:

- package samba 2:4.3.11+dfsg-0ubuntu0.16.04.6 failed to install/upgrade: โพรเซสย่อย สคริปต์ post-installation ที่ติดตั้งไว้ จบการทำงานโดยคืนค่าสถานะข้อผิดพลาด 1
+ "samba" service unmasked in a standalone server role

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

Title:
  "samba" service unmasked in a standalone server role

Status in samba package in Ubuntu:
  Incomplete

Bug description:
  # service samba start
  Failed to start samba.service: Unit samba.service is masked.

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: samba 2:4.3.11+dfsg-0ubuntu0.16.04.6
  ProcVersionSignature: Ubuntu 4.4.0-77.98-generic 4.4.59
  Uname: Linux 4.4.0-77-generic i686
  NonfreeKernelModules: nvidia wl
  ApportVersion: 2.20.1-0ubuntu2.5
  AptOrdering:
   samba: Install
   samba: Configure
   NULL: ConfigurePending
  Architecture: i386
  Date: Fri May  5 17:42:49 2017
  ErrorMessage: โพรเซสย่อย สคริปต์ post-installation ที่ติดตั้งไว้ จบการทำงานโดยคืนค่าสถานะข้อผิดพลาด 1
  NmbdLog:
   
  RelatedPackageVersions:
   dpkg 1.18.4ubuntu1.2
   apt  1.2.20
  SambaServerRegression: Yes
  SmbConfIncluded: Yes
  SmbLog:
   
  SourcePackage: samba
  Title: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.6 failed to install/upgrade: โพรเซสย่อย สคริปต์ post-installation ที่ติดตั้งไว้ จบการทำงานโดยคืนค่าสถานะข้อผิดพลาด 1
  UpgradeStatus: No upgrade log present (probably fresh install)
  WindowsFailedConnect: Yes

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



More information about the foundations-bugs mailing list