← Back to team overview

freeipa team mailing list archive

[Bug 1543230] Re: After installing freeipa-server-trust-ad ipa tries to start smb.service which doesn't exist

 

** Changed in: freeipa (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of FreeIPA,
which is subscribed to freeipa in Ubuntu.
https://bugs.launchpad.net/bugs/1543230

Title:
  After installing freeipa-server-trust-ad ipa tries to start
  smb.service which doesn't exist

Status in freeipa package in Ubuntu:
  Triaged

Bug description:
  Installing freeipa-server-trust-ad (and running ipa-adtrust-install) will degrade the ipa server and brake the enter system, including dns server (bind9).  The reason is that ipactl tries to start samba by explicitly calling systemctl start 'smb.service'.
  Calling systemctl start 'smb.service' however results in:

  
  Failed to start smb.service: Unit smb.service failed to load: No such file or directory.

  debug output of "ipactl -d start":

  [...]

  ipa: DEBUG: stderr=
  Starting pki-tomcatd Service
  ipa: DEBUG: Starting external process
  ipa: DEBUG: args='/bin/systemctl' 'start' 'pki-tomcatd.service'
  ipa: DEBUG: Process finished, return code=0
  ipa: DEBUG: Starting external process
  ipa: DEBUG: args='/bin/systemctl' 'is-active' 'pki-tomcatd.service'
  ipa: DEBUG: Process finished, return code=0
  ipa: DEBUG: stdout=active

  ipa: DEBUG: stderr=
  Starting smb Service
  ipa: DEBUG: Starting external process
  ipa: DEBUG: args='/bin/systemctl' 'start' 'smb.service'
  Failed to start smb.service: Unit smb.service failed to load: No such file or directory.
  ipa: DEBUG: Process finished, return code=6
  Failed to start smb Service
  Shutting down
  ipa: DEBUG: Starting external process
  ipa: DEBUG: args='/usr/sbin/service' 'krb5-kdc' 'stop' ''
  ipa: DEBUG: Process finished, return code=0
  ipa: DEBUG: Starting external process
  ipa: DEBUG: args='/usr/sbin/service' 'krb5-admin-server' 'stop' ''
  ipa: DEBUG: Process finished, return code=0
  ipa: DEBUG: Starting external process
  ipa: DEBUG: args='/usr/sbin/service' 'bind9' 'stop' ''
  ipa: DEBUG: Process finished, return code=0
  ipa: DEBUG: Starting external process
  ipa: DEBUG: args='/bin/systemctl' 'stop' 'ipa_memcached.service'
  ipa: DEBUG: Process finished, return code=0
  ipa: DEBUG: Starting external process
  ipa: DEBUG: args='/usr/sbin/service' 'apache2' 'stop' ''
  ipa: DEBUG: Process finished, return code=0
  ipa: DEBUG: Starting external process
  ipa: DEBUG: args='/bin/systemctl' 'stop' 'pki-tomcatd.service'
  ipa: DEBUG: Process finished, return code=0
  ipa: DEBUG: Starting external process
  ipa: DEBUG: args='/bin/systemctl' 'stop' 'smb.service'
  Failed to stop smb.service: Unit smb.service not loaded.
  ipa: DEBUG: Process finished, return code=5
  ipa: DEBUG: Starting external process
  ipa: DEBUG: args='/bin/systemctl' 'stop' 'winbind.service'
  ipa: DEBUG: Process finished, return code=0
  ipa: DEBUG: Starting external process
  ipa: DEBUG: args='/bin/systemctl' 'stop' 'ipa-otpd.socket' '--ignore-dependencies'
  ipa: DEBUG: Process finished, return code=0
  ipa: DEBUG: Starting external process
  ipa: DEBUG: args='/bin/systemctl' 'stop' 'dirsrv@##########.service'
  ipa: DEBUG: Process finished, return code=0
  ipa: DEBUG:   File "/usr/lib/python2.7/dist-packages/ipaserver/install/installutils.py", line 642, in run_script
      return_value = main_function()

    File "/usr/sbin/ipactl", line 505, in main
      ipa_start(options)

    File "/usr/sbin/ipactl", line 273, in ipa_start
      raise IpactlError("Aborting ipactl")

  ipa: DEBUG: The ipactl command failed, exception: IpactlError: Aborting ipactl
  Aborting ipactl

  
  This also affects 15.10! I updated to 16.04 to see if it was fixed already.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: freeipa-server-trust-ad 4.1.4-1
  ProcVersionSignature: Ubuntu 4.4.0-2.16-generic 4.4.0
  Uname: Linux 4.4.0-2-generic x86_64
  ApportVersion: 2.19.4-0ubuntu2
  Architecture: amd64
  Date: Mon Feb  8 18:25:11 2016
  InstallationDate: Installed on 2016-01-19 (20 days ago)
  InstallationMedia: Ubuntu-Server 15.10 "Wily Werewolf" - Release amd64 (20151021)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: freeipa
  UpgradeStatus: Upgraded to xenial on 2016-02-05 (3 days ago)

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


References