Testing was kind of successful, in the sense that the patch fixes the
problem. But I found a pre-existing bug in the packaging that manifested
itself in this testing.

After upgrading the packages, not all services are restarted. Critically
for this bug we are addressing here, rpc.gssd is not restarted:

Before upgrade:
  442 ?        Ss     0:00 /usr/sbin/blkmapd
 7146 ?        Ss     0:00 /usr/sbin/rpc.gssd
 7399 ?        Ss     0:00 /usr/sbin/rpc.idmapd
 7406 ?        Ss     0:00 /usr/sbin/rpc.mountd --manage-gids
 7400 ?        Ss     0:00 /usr/sbin/rpc.svcgssd

After pkg upgrade:
  442 ?        Ss     0:00 /usr/sbin/blkmapd
 7146 ?        Ss     0:00 /usr/sbin/rpc.gssd
 8421 ?        Ss     0:00 /usr/sbin/rpc.idmapd
 8422 ?        Ss     0:00 /usr/sbin/rpc.mountd --manage-gids
 8420 ?        Ss     0:00 /usr/sbin/rpc.svcgssd

We can see that blkmapd and rpc.gssd were not restarted, which means
that just upgrading the packages doesn't resolve the bug: the user must
issue `sudo systemctl restart nfs-utils.service`.

This happens because the nfs-utils.service is not enabled (and cannot be
enabled: it's a "fake" service just meant to coordinate the several
daemons necessary for NFS).

If nfs-utils.service was ever started or restarted on the machine, then
the upgrade will restart it just fine.

I'm currently investigating what are the best options to address this,
and will probably file a new bug.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to