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

Victor Tapia victor.tapia at canonical.com
Tue Jun 6 10:35:56 UTC 2017


#VERIFICATION FOR LP#1695870

- Version of the package: 1.11.8-0ubuntu0.7

ubuntu at sssd-trusty:~$ dpkg -l | grep -i sssd
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

- After installing sssd from -proposed in a machine without autofs, sssd
starts automatically after a reboot:

ubuntu at sssd-trusty:~$ 
Broadcast message from ubuntu at sssd-trusty
	(/dev/pts/0) at 10:05 ...

The system is going down for reboot NOW!

...

# confirmation of autofs not installed:
ubuntu at sssd-trusty:~$ dpkg -l | grep -i autofs 
ubuntu at sssd-trusty:~$ ls /etc/init/aut*
ls: cannot access /etc/init/aut*: No such file or directory
ubuntu at sssd-trusty:~$ ls /etc/init.d/aut*
ls: cannot access /etc/init.d/aut*: No such file or directory

ubuntu at sssd-trusty:~$ status sssd
sssd start/running, process 943
ubuntu at sssd-trusty:~$ ps -ef | grep sss
root       943     1  0 10:05 ?        00:00:00 sssd -i -f
root      1045   943  0 10:05 ?        00:00:00 /usr/lib/x86_64-linux-gnu/sssd/sssd_be --domain openstacklocal --debug-to-files
root      1070   943  0 10:05 ?        00:00:00 /usr/lib/x86_64-linux-gnu/sssd/sssd_nss --debug-to-files
root      1071   943  0 10:05 ?        00:00:00 /usr/lib/x86_64-linux-gnu/sssd/sssd_pam --debug-to-files
ubuntu    1244  1218  0 10:06 pts/0    00:00:00 grep --color=auto sss

- And from /var/log/syslog:
...
Jun  6 10:05:38 sssd-trusty kernel: [    1.212080] usb 1-1: new full-speed USB device number 2 using uhci_hcd
Jun  6 10:05:38 sssd-trusty kernel: [    1.377041] usb 1-1: New USB device found, idVendor=0627, idProduct=0001
Jun  6 10:05:38 sssd-trusty kernel: [    1.378846] usb 1-1: New USB device strings: Mfr=1, Product=3, SerialNumber=5
Jun  6 10:05:38 sssd-trusty kernel: [    1.380419] usb 1-1: Product: QEMU USB Tablet
Jun  6 10:05:38 sssd-trusty kernel: [    1.381515] usb 1-1: Manufacturer: QEMU
Jun  6 10:05:38 sssd-trusty kernel: [    1.382493] usb 1-1: SerialNumber: 42
Jun  6 10:05:38 sssd-trusty kernel: [    1.532120] tsc: Refined TSC clocksource calibration: 1995.215 MHz
...
Jun  6 10:05:39 sssd-trusty cron[978]: (CRON) INFO (pidfile fd = 3)
Jun  6 10:05:39 sssd-trusty acpid: starting up with netlink and the input layer
Jun  6 10:05:39 sssd-trusty cron[1031]: (CRON) STARTUP (fork ok)
Jun  6 10:05:39 sssd-trusty /usr/sbin/irqbalance: Balancing is ineffective on systems with a single cache domain.  Shutting down
Jun  6 10:05:39 sssd-trusty acpid: 1 rule loaded
Jun  6 10:05:39 sssd-trusty acpid: waiting for events: event logging is off
Jun  6 10:05:39 sssd-trusty cron[1031]: (CRON) INFO (Running @reboot jobs)
Jun  6 10:05:39 sssd-trusty sssd: Starting up
Jun  6 10:05:39 sssd-trusty sssd[be[openstacklocal]]: Starting up
Jun  6 10:05:40 sssd-trusty sssd[pam]: Starting up
Jun  6 10:05:40 sssd-trusty sssd[nss]: Starting up

** Tags removed: verification-needed
** Tags added: verification-done

-- 
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:
  In Progress

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