2016-04-05 20:11:11 |
Maciej Puzio |
bug |
|
|
added bug |
2016-04-05 20:11:11 |
Maciej Puzio |
attachment added |
|
autofs.conf https://bugs.launchpad.net/bugs/1566508/+attachment/4625147/+files/autofs.conf |
|
2016-04-05 20:11:45 |
Maciej Puzio |
attachment added |
|
autofs.conf.diff https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1566508/+attachment/4625148/+files/autofs.conf.diff |
|
2016-06-22 15:14:42 |
Victor Tapia |
tags |
|
sts |
|
2016-06-22 15:15:04 |
Victor Tapia |
bug |
|
|
added subscriber Victor Tapia |
2016-06-22 15:16:27 |
Victor Tapia |
bug task added |
|
sssd (Ubuntu) |
|
2016-06-22 15:18:25 |
Victor Tapia |
nominated for series |
|
Ubuntu Xenial |
|
2016-06-22 15:18:25 |
Victor Tapia |
nominated for series |
|
Ubuntu Trusty |
|
2016-06-22 15:55:02 |
Victor Tapia |
attachment added |
|
sssd.conf workaround for upstart https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/1566508/+attachment/4688591/+files/sssd.conf |
|
2016-07-06 15:00:40 |
Victor Tapia |
bug watch added |
|
https://fedorahosted.org/sssd/ticket/3080 |
|
2016-08-11 07:42:51 |
Launchpad Janitor |
autofs (Ubuntu): status |
New |
Confirmed |
|
2016-08-11 07:42:51 |
Launchpad Janitor |
sssd (Ubuntu): status |
New |
Confirmed |
|
2016-08-11 23:47:23 |
Maciej Puzio |
attachment added |
|
autofs.service https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1566508/+attachment/4719398/+files/autofs.service |
|
2016-08-16 04:36:16 |
Robie Basak |
bug |
|
|
added subscriber Ubuntu Server Team |
2016-10-18 11:00:19 |
mush |
attachment added |
|
script https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1566508/+attachment/4763180/+files/restartautofs |
|
2016-11-07 14:20:30 |
Victor Tapia |
attachment added |
|
pidfile sssd.patch https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1566508/+attachment/4774029/+files/pidfile%20sssd.patch |
|
2017-01-24 17:11:26 |
Victor Tapia |
autofs (Ubuntu): status |
Confirmed |
Invalid |
|
2017-01-24 17:11:37 |
Victor Tapia |
sssd (Ubuntu): status |
Confirmed |
In Progress |
|
2017-01-24 17:11:42 |
Victor Tapia |
sssd (Ubuntu): assignee |
|
Victor Tapia (vtapia) |
|
2017-01-24 17:18:05 |
Victor Tapia |
nominated for series |
|
Ubuntu Zesty |
|
2017-01-24 17:18:05 |
Victor Tapia |
nominated for series |
|
Ubuntu Yakkety |
|
2017-01-24 17:23:12 |
Victor Tapia |
description |
This report concerns a configuration where autofs and sssd are both installed, sssd is configured to provide automount maps, and nsswitch.conf directs autofs to use sssd. In such a configuration autofs often fails on boot complaining "no mounts in table". This is because autofs may be started before sssd, or after sssd is started but before its autofs support is ready. If this happens, one can restart autofs and it will work fine.
This bug affects other users:
* Bug 40189 "autofs needs to be restarted to pick up some shares" - a very old bug with invalid status, but see last comment #46, complaining about Ubuntu trusty: https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/40189/comments/46
* Link to SSSD-users mailing list, also complaining about Ubuntu trusty: https://lists.fedorahosted.org/pipermail/sssd-users/2015-July/003166.html
$ lsb_release -rd
Description: Ubuntu 14.04.4 LTS
Release: 14.04
$ apt-cache policy autofs sssd
autofs:
Installed: 5.0.7-3ubuntu3.2
sssd:
Installed: 1.11.5-1ubuntu3
$ uname -a
Linux **** 3.13.0-83-generic #127-Ubuntu SMP Fri Mar 11 00:25:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Workaround:
Edit /etc/init/autofs as shown in attached files (both full file and diff provided). Unfortunately, this modification will work only in this particular configuration, thus it is not a good candidate for a patch.
Explanation:
We have to deal with two problems here:
1. Autofs starts on runlevel [2345], and in effect its startup order in relation to sssd is random. We fix this by changing start stanza to "start on started sssd".
2. Unfortunately this is not enough, because sssd emits started event too early, before its autofs support is ready. To work around this, we add a loop to pre-start script that waits for sssd to start listening on /var/lib/sss/pipes/autofs. |
[Impact]
* SSSD is set as started before its responders are active.
* Depending services (e.g. autofs) start before those responders are working, and a manual restart is required to make them work after boot
* This happens with upstart and, with less frequence, systemd
[Test Case]
* Configure an LDAP server containing the direct mappings for autofs
* Configure SSSD to read from that LDAP server
* Add ‘automount: sss’ to /etc/nsswitch.conf
* Reboot the machine, login, and try reading the contents of a direct mapping.
* If the environment has booted correctly the mapping will be available. Otherwise, it will not.
[Regression Potential]
* This is a cherry-pick from an upstream fix
* sssd could not start automatically
[Other Info]
* Upstream commit: https://git.fedorahosted.org/cgit/sssd.git/commit/?id=d4063e9a21a4e203bee7e0a0144fa8cabb14cc46
[Original Description]
This report concerns a configuration where autofs and sssd are both installed, sssd is configured to provide automount maps, and nsswitch.conf directs autofs to use sssd. In such a configuration autofs often fails on boot complaining "no mounts in table". This is because autofs may be started before sssd, or after sssd is started but before its autofs support is ready. If this happens, one can restart autofs and it will work fine.
This bug affects other users:
* Bug 40189 "autofs needs to be restarted to pick up some shares" - a very old bug with invalid status, but see last comment #46, complaining about Ubuntu trusty: https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/40189/comments/46
* Link to SSSD-users mailing list, also complaining about Ubuntu trusty: https://lists.fedorahosted.org/pipermail/sssd-users/2015-July/003166.html
$ lsb_release -rd
Description: Ubuntu 14.04.4 LTS
Release: 14.04
$ apt-cache policy autofs sssd
autofs:
Installed: 5.0.7-3ubuntu3.2
sssd:
Installed: 1.11.5-1ubuntu3
$ uname -a
Linux **** 3.13.0-83-generic #127-Ubuntu SMP Fri Mar 11 00:25:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Workaround:
Edit /etc/init/autofs as shown in attached files (both full file and diff provided). Unfortunately, this modification will work only in this particular configuration, thus it is not a good candidate for a patch.
Explanation:
We have to deal with two problems here:
1. Autofs starts on runlevel [2345], and in effect its startup order in relation to sssd is random. We fix this by changing start stanza to "start on started sssd".
2. Unfortunately this is not enough, because sssd emits started event too early, before its autofs support is ready. To work around this, we add a loop to pre-start script that waits for sssd to start listening on /var/lib/sss/pipes/autofs. |
|
2017-01-31 19:11:30 |
Rafael David Tinoco |
bug task deleted |
autofs (Ubuntu) |
|
|
2017-01-31 19:11:48 |
Rafael David Tinoco |
sssd (Ubuntu): importance |
Undecided |
Critical |
|
2017-01-31 19:11:51 |
Rafael David Tinoco |
sssd (Ubuntu): importance |
Critical |
Medium |
|
2017-01-31 19:19:34 |
Victor Tapia |
attachment added |
|
yakkety_sssd_1.13.4-3ubuntu1.debdiff https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/1566508/+attachment/4811489/+files/yakkety_sssd_1.13.4-3ubuntu1.debdiff |
|
2017-01-31 19:19:55 |
Victor Tapia |
attachment added |
|
trusty_sssd_1.11.8-0ubuntu0.4.debdiff https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/1566508/+attachment/4811490/+files/trusty_sssd_1.11.8-0ubuntu0.4.debdiff |
|
2017-01-31 19:20:31 |
Victor Tapia |
attachment added |
|
xenial_sssd_1.13.4-1ubuntu1.2.debdiff https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/1566508/+attachment/4811491/+files/xenial_sssd_1.13.4-1ubuntu1.2.debdiff |
|
2017-01-31 19:22:53 |
Rafael David Tinoco |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2017-01-31 19:24:56 |
Rafael David Tinoco |
tags |
sts |
sts sts-sponsor sts-sru |
|
2017-02-08 01:11:16 |
Launchpad Janitor |
sssd (Ubuntu): status |
In Progress |
Fix Released |
|
2017-02-28 20:07:20 |
quess |
bug |
|
|
added subscriber quess |
2017-03-07 11:27:06 |
Victor Tapia |
attachment removed |
yakkety_sssd_1.13.4-3ubuntu1.debdiff https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/1566508/+attachment/4811489/+files/yakkety_sssd_1.13.4-3ubuntu1.debdiff |
|
|
2017-03-07 11:27:16 |
Victor Tapia |
attachment removed |
trusty_sssd_1.11.8-0ubuntu0.4.debdiff https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/1566508/+attachment/4811490/+files/trusty_sssd_1.11.8-0ubuntu0.4.debdiff |
|
|
2017-03-07 11:27:31 |
Victor Tapia |
attachment removed |
xenial_sssd_1.13.4-1ubuntu1.2.debdiff https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/1566508/+attachment/4811491/+files/xenial_sssd_1.13.4-1ubuntu1.2.debdiff |
|
|
2017-03-07 11:28:25 |
Victor Tapia |
attachment added |
|
xenial-sssd_1.13.4-1ubuntu1.3.debdiff https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/1566508/+attachment/4832798/+files/xenial-sssd_1.13.4-1ubuntu1.3.debdiff |
|
2017-03-07 11:28:49 |
Victor Tapia |
attachment added |
|
trusty-sssd_1.11.8-0ubuntu0.6.debdiff https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/1566508/+attachment/4832799/+files/trusty-sssd_1.11.8-0ubuntu0.6.debdiff |
|
2017-03-07 11:29:13 |
Victor Tapia |
attachment added |
|
yakkety-sssd_1.13.4-3ubuntu0.2.debdiff https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/1566508/+attachment/4832800/+files/yakkety-sssd_1.13.4-3ubuntu0.2.debdiff |
|
2017-03-08 22:44:31 |
Brian Murray |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2017-03-08 22:44:36 |
Brian Murray |
bug task added |
|
sssd (Ubuntu Trusty) |
|
2017-03-08 22:45:06 |
Brian Murray |
bug task added |
|
sssd (Ubuntu Xenial) |
|
2017-03-08 22:45:18 |
Brian Murray |
bug task added |
|
sssd (Ubuntu Yakkety) |
|
2017-03-09 11:56:06 |
Victor Tapia |
sssd (Ubuntu Trusty): assignee |
|
Victor Tapia (vtapia) |
|
2017-03-09 11:56:08 |
Victor Tapia |
sssd (Ubuntu Xenial): assignee |
|
Victor Tapia (vtapia) |
|
2017-03-09 11:56:10 |
Victor Tapia |
sssd (Ubuntu Yakkety): assignee |
|
Victor Tapia (vtapia) |
|
2017-03-09 11:56:13 |
Victor Tapia |
sssd (Ubuntu Yakkety): importance |
Undecided |
Medium |
|
2017-03-09 11:56:15 |
Victor Tapia |
sssd (Ubuntu Xenial): importance |
Undecided |
Medium |
|
2017-03-09 11:56:17 |
Victor Tapia |
sssd (Ubuntu Trusty): importance |
Undecided |
Medium |
|
2017-03-10 11:07:44 |
Timo Aaltonen |
sssd (Ubuntu Yakkety): status |
New |
Fix Committed |
|
2017-03-10 11:07:45 |
Timo Aaltonen |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2017-03-10 11:07:51 |
Timo Aaltonen |
bug |
|
|
added subscriber SRU Verification |
2017-03-10 11:07:56 |
Timo Aaltonen |
tags |
sts sts-sponsor sts-sru |
sts sts-sponsor sts-sru verification-needed |
|
2017-03-10 11:08:27 |
Timo Aaltonen |
sssd (Ubuntu Xenial): status |
New |
Fix Committed |
|
2017-03-22 09:29:52 |
Louis Bouchard |
sssd (Ubuntu Trusty): status |
New |
In Progress |
|
2017-03-22 09:30:52 |
Louis Bouchard |
tags |
sts sts-sponsor sts-sru verification-needed |
sts sts-sru verification-needed |
|
2017-03-23 09:37:09 |
Victor Tapia |
tags |
sts sts-sru verification-needed |
sts sts-sru verification-failed |
|
2017-03-23 11:53:41 |
Edward Hope-Morley |
tags |
sts sts-sru verification-failed |
sts sts-sru-needed verification-failed |
|
2017-03-28 12:20:37 |
Timo Aaltonen |
tags |
sts sts-sru-needed verification-failed |
sts sts-sru-needed |
|
2017-03-28 12:20:38 |
Timo Aaltonen |
tags |
sts sts-sru-needed |
sts sts-sru-needed verification-needed |
|
2017-03-30 13:43:39 |
Victor Tapia |
tags |
sts sts-sru-needed verification-needed |
sts sts-sru-needed verification-done-xenial verification-needed |
|
2017-03-31 09:18:26 |
Victor Tapia |
tags |
sts sts-sru-needed verification-done-xenial verification-needed |
sts sts-sru-needed verification-done-xenial verification-done-yakkety verification-needed |
|
2017-04-12 17:38:38 |
Victor Tapia |
tags |
sts sts-sru-needed verification-done-xenial verification-done-yakkety verification-needed |
sts sts-sru-needed verification-failed |
|
2017-04-12 18:11:33 |
Victor Tapia |
tags |
sts sts-sru-needed verification-failed |
sts sts-sru-needed verification-failed-xenial verification-failed-yakkety |
|
2017-04-25 14:18:23 |
Łukasz Zemczak |
tags |
sts sts-sru-needed verification-failed-xenial verification-failed-yakkety |
sts sts-sru-needed verification-failed-xenial verification-failed-yakkety verification-needed |
|
2017-05-03 16:12:57 |
Victor Tapia |
tags |
sts sts-sru-needed verification-failed-xenial verification-failed-yakkety verification-needed |
sts sts-sru-needed verification-done-xenial verification-done-yakkety verification-needed |
|
2017-05-04 17:07:59 |
Launchpad Janitor |
sssd (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2017-05-04 17:08:14 |
Launchpad Janitor |
sssd (Ubuntu Yakkety): status |
Fix Committed |
Fix Released |
|
2017-05-22 14:44:23 |
Andy Whitcroft |
sssd (Ubuntu Trusty): status |
In Progress |
Fix Committed |
|
2017-05-25 15:56:17 |
Victor Tapia |
tags |
sts sts-sru-needed verification-done-xenial verification-done-yakkety verification-needed |
sts sts-sru-needed verification-done |
|
2017-06-01 14:02:33 |
Launchpad Janitor |
sssd (Ubuntu Trusty): status |
Fix Committed |
Fix Released |
|
2017-06-01 14:02:46 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2017-06-05 09:31:28 |
Stephane Chazelas |
bug |
|
|
added subscriber Stephane Chazelas |
2017-06-06 07:11:01 |
Timo Aaltonen |
sssd (Ubuntu Trusty): status |
Fix Released |
In Progress |
|
2017-06-06 07:12:39 |
Timo Aaltonen |
tags |
sts sts-sru-needed verification-done |
sts sts-sru-needed verification-needed |
|
2017-06-06 10:47:32 |
Victor Tapia |
tags |
sts sts-sru-needed verification-needed |
sts sts-sru-needed verification-done |
|
2017-06-07 16:06:24 |
Bryan Quigley |
bug |
|
|
added subscriber Bryan Quigley |
2017-06-07 18:18:45 |
Launchpad Janitor |
sssd (Ubuntu Trusty): status |
In Progress |
Fix Released |
|
2017-07-10 08:58:17 |
Victor Tapia |
tags |
sts sts-sru-needed verification-done |
sts sts-sru-needed verification-done-trusty |
|
2017-07-14 08:56:17 |
Victor Tapia |
tags |
sts sts-sru-needed verification-done-trusty |
sts sts-sru-needed verification-done-trusty verification-done-xenial |
|
2017-10-10 07:33:48 |
Alvin Cura |
bug |
|
|
added subscriber Alvin Cura |