"samba" service unmasked in a standalone server role

Bug #1688527 reported by Chumpen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Expired
Undecided
Unassigned

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

Revision history for this message
Chumpen (chumpen-suksapar) wrote :
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

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: - 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
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for samba (Ubuntu) because there has been no activity for 60 days.]

Changed in samba (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.