Comment 17 for bug 1807246

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Bionic verification

First, confirming the bug:

# checking ldap user exists, and is not defined in /etc/passwd
root@bionic-sssd-1807246:~# id testuser1
uid=10001(testuser1) gid=10001 groups=10001,10100
root@bionic-sssd-1807246:~# grep testuser1 /etc/passwd
root@bionic-sssd-1807246:~#

# looping over whoami calls fails eventually as expected by this bug:
testuser1@bionic-sssd-1807246:~$ while /bin/true; do date; whoami || break; echo; sleep 10; done
Wed Jan 30 18:35:20 UTC 2019
testuser1

Wed Jan 30 18:35:30 UTC 2019
testuser1

Wed Jan 30 18:35:40 UTC 2019
whoami: cannot find name for user ID 10001: Unknown error 1432158300
$

# Installing the packages from proposed:
root@bionic-sssd-1807246:~# apt-cache policy sssd
sssd:
  Installed: 1.16.1-1ubuntu1.1
  Candidate: 1.16.1-1ubuntu1.1
  Version table:
 *** 1.16.1-1ubuntu1.1 500
        500 http://br.archive.ubuntu.com/ubuntu bionic-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     1.16.1-1ubuntu1 500
        500 http://br.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

Retrying the whoami loop, which this time doesn't fail and has to be aborted:
testuser1@bionic-sssd-1807246:~$ while /bin/true; do date; whoami || break; echo; sleep 10; done
Wed Jan 30 18:37:25 UTC 2019
testuser1

Wed Jan 30 18:37:35 UTC 2019
testuser1

Wed Jan 30 18:37:45 UTC 2019
testuser1

Wed Jan 30 18:37:55 UTC 2019
testuser1

Wed Jan 30 18:38:05 UTC 2019
testuser1

Wed Jan 30 18:38:15 UTC 2019
testuser1

^C
testuser1@bionic-sssd-1807246:~$

Bionic verification succeeded.