DO NOT RELEASE TO UPDATES YET
DO NOT RELEASE TO UPDATES YET
The fix is correct and working, but requires a manual restart of the
services until #1928259 is fixed. We will want to fix both at the same
time.
With that in mind, here goes my testing report.
Reproducing the problem with the packages from bionic:
nfs-common:
Installed: 1:1.3.4-2.1ubuntu5.3
Candidate: 1:1.3.4-2.1ubuntu5.3
Version table:
*** 1:1.3.4-2.1ubuntu5.3 500
500 http://br.archive.ubuntu.com/ubuntu bionic-updates/main amd64
Packages
500 http://br.archive.ubuntu.com/ubuntu bionic-security/main amd64
Packages
100 /var/lib/dpkg/status
1:1.3.4-2.1ubuntu5 500
500 http://br.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
first attempt:
$ sudo ./bz1419280_test_threads
Iter 1
calling stat on '/mnt/test_krb5/foo' with uids 9995 through 10035
Iter 2
calling stat on '/mnt/test_krb5/foo' with uids 9995 through 10035
Iter 3
calling stat on '/mnt/test_krb5/foo' with uids 9995 through 10035
Iter 4
calling stat on '/mnt/test_krb5/foo' with uids 9995 through 10035
reproduced the bug after 4 iterations
ubuntu@bionic-gssd-bug-1927745:~$ ps axw|grep stat_as
8248 pts/1 D 0:00 ./stat_as /mnt/test_krb5/foo 9995 10035
8317 pts/1 S+ 0:00 grep --color=auto stat_as
second attempt (after restarting rpc-gssd):
$ sudo ./bz1419280_test_threads
Iter 1
calling stat on '/mnt/test_krb5/foo' with uids 9995 through 10035
Iter 2
calling stat on '/mnt/test_krb5/foo' with uids 9995 through 10035
Iter 3
calling stat on '/mnt/test_krb5/foo' with uids 9995 through 10035
reproduced the bug after 3 iterations
ubuntu@bionic-gssd-bug-1927745:~$ ps axw|grep stat_as
8631 pts/1 D 0:00 ./stat_as /mnt/test_krb5/foo 9995 10035
8690 pts/1 S+ 0:00 grep --color=auto stat_as
third attempt (also after restarting rpc-gssd):
$ sudo ./bz1419280_test_threads
Iter 1
calling stat on '/mnt/test_krb5/foo' with uids 9995 through 10035
Iter 2
calling stat on '/mnt/test_krb5/foo' with uids 9995 through 10035
reproduced the bug after 2 iterations
$ ps axw|grep stat_as
8855 pts/1 D 0:00 ./stat_as /mnt/test_krb5/foo 9995 10035
8870 pts/1 D 0:00 ./stat_as /mnt/test_krb5/foo 9995 10035
8945 pts/1 S+ 0:00 grep --color=auto stat_as
I then updated the packages, AND MANUALLY RESTARTED nfs-utils.service (SEE
#1928259):
nfs-common:
Installed: 1:1.3.4-2.1ubuntu5.4
Candidate: 1:1.3.4-2.1ubuntu5.4
Version table:
*** 1:1.3.4-2.1ubuntu5.4 500
500 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 Packages
100 /var/lib/dpkg/status
1:1.3.4-2.1ubuntu5.3 500
500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
500 http://archive.ubuntu.com/ubuntu bionic-security/main amd64 Packages
1:1.3.4-2.1ubuntu5 500
500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
$ sudo systemctl restart nfs-utils
$
Started the reproducer script again, and after 1h it still didn't hit the bug:
...
Iter 3638
calling stat on '/mnt/test_krb5/foo' with uids 9995 through 10035
^C
real 61m45.110s
Verification succeeded, with the caveat that a manual restart is needed and
that is subject of bug #1928259. This update can only be released once that
restart bug is also fixed.
** Tags removed: verification-needed-bionic
** Tags added: block-proposed-bionic verification-done-bionic
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1927745
Title:
Non-thread-safe functions used in multi-threaded rpc.gssd
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1927745/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs