[Bug 1695870] Re: [regression] sssd won't start if autofs is not installed

Eric Desrochers eric.desrochers at canonical.com
Wed Jun 7 18:07:10 UTC 2017


== Trusty Verification ==

[Before the patch]

# dpkg
ii  libsss-idmap0                      1.11.8-0ubuntu0.6                 amd64        ID mapping library for SSSD
ii  sssd                               1.11.8-0ubuntu0.6                 amd64        System Security Services Daemon -- metapackage
ii  sssd-ad                            1.11.8-0ubuntu0.6                 amd64        System Security Services Daemon -- Active Directory back end
ii  sssd-ad-common                     1.11.8-0ubuntu0.6                 amd64        System Security Services Daemon -- PAC responder
ii  sssd-common                        1.11.8-0ubuntu0.6                 amd64        System Security Services Daemon -- common files
ii  sssd-ipa                           1.11.8-0ubuntu0.6                 amd64        System Security Services Daemon -- IPA back end
ii  sssd-krb5                          1.11.8-0ubuntu0.6                 amd64        System Security Services Daemon -- Kerberos back end
ii  sssd-krb5-common                   1.11.8-0ubuntu0.6                 amd64        System Security Services Daemon -- Kerberos helpers
ii  sssd-ldap                          1.11.8-0ubuntu0.6                 amd64        System Security Services Daemon -- LDAP back end
ii  sssd-proxy                         1.11.8-0ubuntu0.6                 amd64        System Security Services Daemon -- proxy back end

# Reboot

# service sssd status
sssd stop/waiting

It does start manually but not at boot time


---

[After the patch (trusty-proposed)]
# dpkg
ii  libsss-idmap0                      1.11.8-0ubuntu0.7                 amd64        ID mapping library for SSSD
ii  sssd                               1.11.8-0ubuntu0.7                 amd64        System Security Services Daemon -- metapackage
ii  sssd-ad                            1.11.8-0ubuntu0.7                 amd64        System Security Services Daemon -- Active Directory back end
ii  sssd-ad-common                     1.11.8-0ubuntu0.7                 amd64        System Security Services Daemon -- PAC responder
ii  sssd-common                        1.11.8-0ubuntu0.7                 amd64        System Security Services Daemon -- common files
ii  sssd-ipa                           1.11.8-0ubuntu0.7                 amd64        System Security Services Daemon -- IPA back end
ii  sssd-krb5                          1.11.8-0ubuntu0.7                 amd64        System Security Services Daemon -- Kerberos back end
ii  sssd-krb5-common                   1.11.8-0ubuntu0.7                 amd64        System Security Services Daemon -- Kerberos helpers
ii  sssd-ldap                          1.11.8-0ubuntu0.7                 amd64        System Security Services Daemon -- LDAP back end
ii  sssd-proxy                         1.11.8-0ubuntu0.7                 amd64        System Security Services Daemon -- proxy back end

# Reboot

# service sssd status
sssd start/running, process 669

It does start manually and at boot time, as expected.

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

Title:
  [regression] sssd won't start if autofs is not installed

Status in sssd package in Ubuntu:
  Confirmed
Status in sssd source package in Trusty:
  Fix Released

Bug description:
  [Impact]

   * On Trusty, SSSD does not start when AutoFS is not installed because the AutoFS "starting" signal is not emitted.
   * This only affects the upstart service (Trusty). Systemd services work fine.

  [Test Case]

   * Install SSSD in a machine without AutoFS and reboot.
   * The service won't start on boot, even though it can be started manually.

  [Regression Potential]

   * None expected, but if one is found it will only impact the startup
  of SSSD at boot

  [Original Description]

  The fix for LP# 1566508 (in Ubuntu 14.04 at least) introduces a
  regression that prevents sssd from starting if the autofs package is
  not installed.

  The /etc/init/sssd.conf script now has:

  ```
  start on (filesystem and net-device-up and starting autofs)
  ```

  The "starting autofs" will never happen if autofs is not installed.

  That's critical in that that prevents authentication after the next
  boot after "sssd" has been upgraded.

  The work around for now is to remove that "and starting autofs" or
  install the autofs package.

  ```
  $ apt-cache policy sssd
  sssd:
    Installed: 1.11.8-0ubuntu0.6
    Candidate: 1.11.8-0ubuntu0.6
    Version table:
   *** 1.11.8-0ubuntu0.6 0
          500 http://gb.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
          100 /var/lib/dpkg/status
       1.11.5-1ubuntu3 0
          500 http://gb.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
  ```

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



More information about the Ubuntu-sponsors mailing list