[Bug 1569292] Re: Can't join to AD domain

Seyeong Kim seyeong.kim at canonical.com
Fri Apr 29 10:02:05 UTC 2016


** Description changed:

  [Impact]
  
  When trying to join AD domain via realm command, it hangs.
  after researching, packagekit got segfault.
  
  [Testcase]
  
  realm -v join int.domainname.com --user login
  
   * Resolving: _ldap._tcp.int.domanname.com
   * Performing LDAP DSE lookup on: 192.168.xx.xx
   * Performing LDAP DSE lookup on: 192.168.xx.xx
   * Successfully discovered: int.domainname.com
  Password for login:
   * Unconditionally checking packages
   * Resolving required packages
  
  From here nothing happens. It doesn't go any further.
  
  journalctl -b realmd shows:
  [...]
  Apr 12 13:02:49 ls-mysql57 realmd[946]: Sending TCP Netlogon request
  Apr 12 13:02:49 ls-mysql57 realmd[946]: Searching  for (objectClass=*)
  Apr 12 13:02:49 ls-mysql57 realmd[946]: Received TCP Netlogon response
  Apr 12 13:02:49 ls-mysql57 realmd[946]:  * Successfully discovered: int.domainname.com
  Apr 12 13:02:49 ls-mysql57 realmd[946]:  * Successfully discovered: int.domainame.com
  Apr 12 13:02:53 ls-mysql57 realmd[946]: Using 'r209.955' operation for method 'Join' invocation on 'org.freedesktop.realmd.KerberosMembership' interface
  Apr 12 13:02:53 ls-mysql57 realmd[946]: Registered cancellable for operation 'r209.955'
  Apr 12 13:02:53 ls-mysql57 realmd[946]: holding daemon: current-invocation
  Apr 12 13:02:53 ls-mysql57 realmd[946]: ** (realmd:946): CRITICAL **: realm_invocation_get_cancellable: assertion 'invocation != NULL' failed
  Apr 12 13:02:53 ls-mysql57 realmd[946]: (realmd:946): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
  Apr 12 13:02:53 ls-mysql57 realmd[946]:  * Unconditionally checking packages
  Apr 12 13:02:53 ls-mysql57 realmd[946]:  * Unconditionally checking packages
  Apr 12 13:02:53 ls-mysql57 realmd[946]:  * Resolving required packages
  Apr 12 13:02:53 ls-mysql57 realmd[946]:  * Resolving required packages
  Apr 12 13:02:53 ls-mysql57 realmd[946]: realm_invocation_get_cancellable: assertion 'invocation != NULL' failed
  Apr 12 13:02:53 ls-mysql57 realmd[946]: packages: CreateTransaction call
  Apr 12 13:02:53 ls-mysql57 realmd[946]: GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
  Apr 12 13:02:53 ls-mysql57 realmd[946]: packages: SetHints call
  Apr 12 13:02:53 ls-mysql57 realmd[946]: packages: call Resolve (262144, ['sssd-tools', 'sssd', 'libnss-sss', 'libpam-sss', 'adcli'])
  Apr 12 13:02:53 ls-mysql57 realmd[946]: packages: signal: Changed ()
  Apr 12 13:02:53 ls-mysql57 realmd[946]: packages: call Resolve completed
  Apr 12 13:02:53 ls-mysql57 realmd[946]: packages: signal: Changed ()
  Apr 12 13:02:53 ls-mysql57 realmd[946]: packages: signal: Changed ()
  Apr 12 13:02:53 ls-mysql57 realmd[946]: packages: signal: Changed ()
  
  It works in 14.04.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: realmd 0.16.2-2
  ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6
  Uname: Linux 4.4.0-18-generic x86_64
  ApportVersion: 2.20.1-0ubuntu1
  Architecture: amd64
  Date: Tue Apr 12 13:08:33 2016
  SourcePackage: realmd
  UpgradeStatus: No upgrade log present (probably fresh install)
  
  [Regression Potential]
  
+ This patch added null check about http_proxy, ftp_proxy and socket 
+ from pk_backend_job_get_frontend_socket
+ 
+ in test, there was no hang anymore, test has been done with several
+ guys.
+ 
  [Other Info]
  Upstream Patch
  https://github.com/hughsie/PackageKit/commit/97161e231b2ab406e77977a2a693d7935e33df0f
  https://github.com/hughsie/PackageKit/commit/06fae067c909db93bb5b1e1d04aa7a987208eda2
  https://github.com/hughsie/PackageKit/commit/c64c16c2d1ad9142ec8e74473044874bb6398728
  https://github.com/hughsie/PackageKit/commit/e94b80f90179db18221b2eff93b4561b5418fbfb

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1569292

Title:
  Can't join to AD domain

Status in packagekit package in Ubuntu:
  In Progress
Status in packagekit source package in Xenial:
  In Progress

Bug description:
  [Impact]

  When trying to join AD domain via realm command, it hangs.
  after researching, packagekit got segfault.

  [Testcase]

  realm -v join int.domainname.com --user login

   * Resolving: _ldap._tcp.int.domanname.com
   * Performing LDAP DSE lookup on: 192.168.xx.xx
   * Performing LDAP DSE lookup on: 192.168.xx.xx
   * Successfully discovered: int.domainname.com
  Password for login:
   * Unconditionally checking packages
   * Resolving required packages

  From here nothing happens. It doesn't go any further.

  journalctl -b realmd shows:
  [...]
  Apr 12 13:02:49 ls-mysql57 realmd[946]: Sending TCP Netlogon request
  Apr 12 13:02:49 ls-mysql57 realmd[946]: Searching  for (objectClass=*)
  Apr 12 13:02:49 ls-mysql57 realmd[946]: Received TCP Netlogon response
  Apr 12 13:02:49 ls-mysql57 realmd[946]:  * Successfully discovered: int.domainname.com
  Apr 12 13:02:49 ls-mysql57 realmd[946]:  * Successfully discovered: int.domainame.com
  Apr 12 13:02:53 ls-mysql57 realmd[946]: Using 'r209.955' operation for method 'Join' invocation on 'org.freedesktop.realmd.KerberosMembership' interface
  Apr 12 13:02:53 ls-mysql57 realmd[946]: Registered cancellable for operation 'r209.955'
  Apr 12 13:02:53 ls-mysql57 realmd[946]: holding daemon: current-invocation
  Apr 12 13:02:53 ls-mysql57 realmd[946]: ** (realmd:946): CRITICAL **: realm_invocation_get_cancellable: assertion 'invocation != NULL' failed
  Apr 12 13:02:53 ls-mysql57 realmd[946]: (realmd:946): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
  Apr 12 13:02:53 ls-mysql57 realmd[946]:  * Unconditionally checking packages
  Apr 12 13:02:53 ls-mysql57 realmd[946]:  * Unconditionally checking packages
  Apr 12 13:02:53 ls-mysql57 realmd[946]:  * Resolving required packages
  Apr 12 13:02:53 ls-mysql57 realmd[946]:  * Resolving required packages
  Apr 12 13:02:53 ls-mysql57 realmd[946]: realm_invocation_get_cancellable: assertion 'invocation != NULL' failed
  Apr 12 13:02:53 ls-mysql57 realmd[946]: packages: CreateTransaction call
  Apr 12 13:02:53 ls-mysql57 realmd[946]: GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
  Apr 12 13:02:53 ls-mysql57 realmd[946]: packages: SetHints call
  Apr 12 13:02:53 ls-mysql57 realmd[946]: packages: call Resolve (262144, ['sssd-tools', 'sssd', 'libnss-sss', 'libpam-sss', 'adcli'])
  Apr 12 13:02:53 ls-mysql57 realmd[946]: packages: signal: Changed ()
  Apr 12 13:02:53 ls-mysql57 realmd[946]: packages: call Resolve completed
  Apr 12 13:02:53 ls-mysql57 realmd[946]: packages: signal: Changed ()
  Apr 12 13:02:53 ls-mysql57 realmd[946]: packages: signal: Changed ()
  Apr 12 13:02:53 ls-mysql57 realmd[946]: packages: signal: Changed ()

  It works in 14.04.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: realmd 0.16.2-2
  ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6
  Uname: Linux 4.4.0-18-generic x86_64
  ApportVersion: 2.20.1-0ubuntu1
  Architecture: amd64
  Date: Tue Apr 12 13:08:33 2016
  SourcePackage: realmd
  UpgradeStatus: No upgrade log present (probably fresh install)

  [Regression Potential]

  This patch added null check about http_proxy, ftp_proxy and socket 
  from pk_backend_job_get_frontend_socket

  in test, there was no hang anymore, test has been done with several
  guys.

  [Other Info]
  Upstream Patch
  https://github.com/hughsie/PackageKit/commit/97161e231b2ab406e77977a2a693d7935e33df0f
  https://github.com/hughsie/PackageKit/commit/06fae067c909db93bb5b1e1d04aa7a987208eda2
  https://github.com/hughsie/PackageKit/commit/c64c16c2d1ad9142ec8e74473044874bb6398728
  https://github.com/hughsie/PackageKit/commit/e94b80f90179db18221b2eff93b4561b5418fbfb

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



More information about the Ubuntu-sponsors mailing list