rpcbind failing on 0.2.3-0.6ubuntu0.18.04.2

Bug #1931507 reported by Juan Rubio
316
This bug affects 11 people
Affects Status Importance Assigned to Milestone
rpcbind (Ubuntu)
Critical
Marc Deslauriers

Bug Description

Failure with new rpcbind version. Reverting to the previous version fixes it.

Bad: rpcbind_0.2.3-0.6ubuntu0.18.04.2_amd64.deb
Good: rpcbind_0.2.3-0.6ubuntu0.18.04.1_amd64.deb

$ journalctl -u rpcbind.service
Jun 09 23:41:00 MYSYSTEM systemd[1]: Started RPC bind portmap service.
Jun 09 23:41:30 MYSYSTEM rpcbind[25504]: rpcbind: pmap_prot.c:50: xdr_pmap: Assertion `regs != NULL' failed.
Jun 09 23:41:30 MYSYSTEM systemd[1]: rpcbind.service: Main process exited, code=killed, status=6/ABRT
Jun 09 23:41:30 MYSYSTEM systemd[1]: rpcbind.service: Failed with result 'signal'.
Jun 09 23:41:30 MYSYSTEM systemd[1]: rpcbind.service: Service hold-off time over, scheduling restart.
Jun 09 23:41:30 MYSYSTEM systemd[1]: rpcbind.service: Scheduled restart job, restart counter is at 477.
Jun 09 23:41:30 MYSYSTEM systemd[1]: Stopped RPC bind portmap service.

$ lsb_release -rd
Description: Ubuntu 18.04.5 LTS
Release: 18.04

$ uname -a
Linux MYSYSTEM 5.4.0-1044-gcp #47~18.04.2-Ubuntu SMP Mon May 17 03:48:15 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

$ apt-cache policy rpcbind
rpcbind:
  Installed: 0.2.3-0.6ubuntu0.18.04.1
  Candidate: 0.2.3-0.6ubuntu0.18.04.2
  Version table:
     0.2.3-0.6ubuntu0.18.04.2 500
        500 http://us-east1.gce.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
 *** 0.2.3-0.6ubuntu0.18.04.1 100
        100 /var/lib/dpkg/status
     0.2.3-0.6 500
        500 http://us-east1.gce.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

CVE References

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in rpcbind (Ubuntu):
status: New → Confirmed
Changed in rpcbind (Ubuntu):
assignee: nobody → Marc Deslauriers (mdeslaur)
importance: Undecided → Critical
Revision history for this message
Edoardo Tirtarahardja (edttj) wrote :

I can confirmed we also suffer the exact same fault.

Even with NFS Service stopped, the rpcbind process crash simply by issuing `rpcinfo -p localhost` command.

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

I can confirm the update caused a regression. I will investigate and will publish a fix shortly.

information type: Public → Public Security
Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

I believe the following commit is missing:

https://git.linux-nfs.org/?p=steved/rpcbind.git;a=commit;h=c49a7ea639eb700823e174fd605bbbe183e229aa

I am building packages now.

Revision history for this message
Edoardo Tirtarahardja (edttj) wrote :

For short term solution, is it possible to restore the working 0.2.3-0.6ubuntu0.18.04.1 package back to the repo, ASAP, until the fix is in.

We have multiple system effected, manually update those with manually downloaded deb package is very tedious task.

If we can at least fall back easily using `apt install rpcbind=0.2.3-0.6ubuntu0.18.04.1` command, which is very easy to deploy to multiple system.

Thx Marc for consideration.

Revision history for this message
Dirk Kleinhesselink (dirkk1202) wrote : Re: [Bug 1931507] Re: rpcbind failing on 0.2.3-0.6ubuntu0.18.04.2
Download full text (3.4 KiB)

Yes, I second this request. I have mail system broken due to dependency upon package service.

________________________________
From: <email address hidden> <email address hidden> on behalf of Edoardo Tirtarahardja <email address hidden>
Sent: Thursday, June 10, 2021 11:44 AM
To: Kleinhesselink, Dirk <email address hidden>
Subject: [Bug 1931507] Re: rpcbind failing on 0.2.3-0.6ubuntu0.18.04.2

For short term solution, is it possible to restore the working
0.2.3-0.6ubuntu0.18.04.1 package back to the repo, ASAP, until the fix
is in.

We have multiple system effected, manually update those with manually
downloaded deb package is very tedious task.

If we can at least fall back easily using `apt install
rpcbind=0.2.3-0.6ubuntu0.18.04.1` command, which is very easy to deploy
to multiple system.

Thx Marc for consideration.

--
You received this bug notification because you are subscribed to a
duplicate bug report (1931616).
https://urldefense.com/v3/__https://bugs.launchpad.net/bugs/1931507__;!!LQC6Cpwp!79YI-6eE5sBNQhr7g4NUuw9an9RwStbI4QJli8VR08i07tHPRIs5cN3Xcf0p7l3u9nXoSTXa$

Title:
  rpcbind failing on 0.2.3-0.6ubuntu0.18.04.2

Status in rpcbind package in Ubuntu:
  Confirmed

Bug description:
  Failure with new rpcbind version. Reverting to the previous version
  fixes it.

  Bad: rpcbind_0.2.3-0.6ubuntu0.18.04.2_amd64.deb
  Good: rpcbind_0.2.3-0.6ubuntu0.18.04.1_amd64.deb

  $ journalctl -u rpcbind.service
  Jun 09 23:41:00 MYSYSTEM systemd[1]: Started RPC bind portmap service.
  Jun 09 23:41:30 MYSYSTEM rpcbind[25504]: rpcbind: pmap_prot.c:50: xdr_pmap: Assertion `regs != NULL' failed.
  Jun 09 23:41:30 MYSYSTEM systemd[1]: rpcbind.service: Main process exited, code=killed, status=6/ABRT
  Jun 09 23:41:30 MYSYSTEM systemd[1]: rpcbind.service: Failed with result 'signal'.
  Jun 09 23:41:30 MYSYSTEM systemd[1]: rpcbind.service: Service hold-off time over, scheduling restart.
  Jun 09 23:41:30 MYSYSTEM systemd[1]: rpcbind.service: Scheduled restart job, restart counter is at 477.
  Jun 09 23:41:30 MYSYSTEM systemd[1]: Stopped RPC bind portmap service.

  $ lsb_release -rd
  Description: Ubuntu 18.04.5 LTS
  Release: 18.04

  $ uname -a
  Linux MYSYSTEM 5.4.0-1044-gcp #47~18.04.2-Ubuntu SMP Mon May 17 03:48:15 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

  $ apt-cache policy rpcbind
  rpcbind:
    Installed: 0.2.3-0.6ubuntu0.18.04.1
    Candidate: 0.2.3-0.6ubuntu0.18.04.2
    Version table:
       0.2.3-0.6ubuntu0.18.04.2 500
          500 https://urldefense.com/v3/__http://us-east1.gce.archive.ubuntu.com/ubuntu__;!!LQC6Cpwp!79YI-6eE5sBNQhr7g4NUuw9an9RwStbI4QJli8VR08i07tHPRIs5cN3Xcf0p7l3u9sGLzkGX$ bionic-updates/main amd64 Packages
          500 https://urldefense.com/v3/__http://security.ubuntu.com/ubuntu__;!!LQC6Cpwp!79YI-6eE5sBNQhr7g4NUuw9an9RwStbI4QJli8VR08i07tHPRIs5cN3Xcf0p7l3u9hFLDfTR$ bionic-security/main amd64 Packages
   *** 0.2.3-0.6ubuntu0.18.04.1 100
          100 /var/lib/dpkg/status
       0.2.3-0.6 500
          500 https://urldefense.com/v3/__http://us-east1.gce.archive.ubuntu.com/ubuntu__;!!LQC6Cpwp!79YI-6eE5sBNQhr7g4NUuw9an9RwStbI4QJli8VR08i07tHPRIs5cN3Xcf0p7l3u9sGLzkGX$ bionic/main amd64 Packages

To ...

Read more...

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

I will publish the fix within the hour

Revision history for this message
Brad Zoltick (zoltickb) wrote :

Hi,

This bug is affecting our NIS server. Can someone post where to download the updated rpcbind package for Ubuntu 18.04.5?

rpcbind is crashing repeatedly.

Jun 10 14:35:08 systemd[1]: rpcbind.service: Main process exited, code=dumped, status=6/ABRT
Jun 10 14:35:08 systemd[1]: rpcbind.service: Failed with result 'core-dump'.
Jun 10 14:35:08 systemd[1]: rpcbind.service: Service hold-off time over, scheduling restart.
Jun 10 14:35:08 systemd[1]: rpcbind.service: Scheduled restart job, restart counter is at 10.
Jun 10 14:35:08 systemd[1]: Stopped RPC bind portmap service.
Jun 10 14:35:08 systemd[1]: Starting RPC bind portmap service...

Thank you.

Brad Zoltick

Revision history for this message
Brad Zoltick (zoltickb) wrote :

Can someone point me to where you can download the previous version?

rpcbind_0.2.3-0.6ubuntu0.18.04.1_amd64.deb

I can't locate it.

Brad

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package rpcbind - 0.2.3-0.6ubuntu0.18.04.3

---------------
rpcbind (0.2.3-0.6ubuntu0.18.04.3) bionic-security; urgency=medium

  * SECURITY REGRESSION: assertion failure (LP: #1931507)
    - debian/patches/CVE-2017-8779-3.patch: fixed typo in memory leak patch
      in src/pmap_svc.c.

 -- Marc Deslauriers <email address hidden> Thu, 10 Jun 2021 14:40:54 -0400

Changed in rpcbind (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Edoardo Tirtarahardja (edttj) wrote :

Manual download deb package:
https://launchpad.net/ubuntu/+source/rpcbind/0.2.3-0.6ubuntu0.18.04.1

On the right, you can pick which architecture you need.

@Marc, if you can publish the fix within the hour, that's fine. But if not, please consider restoring previous version.

Thx for consideration.

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

The fix has been released, it will take a few minutes to replicate to the web servers and mirrors.

Revision history for this message
Edoardo Tirtarahardja (edttj) wrote :

Anybody see it?

According to:
https://launchpad.net/ubuntu/+source/rpcbind/0.2.3-0.6ubuntu0.18.04.3/+publishinghistory

It has been published, but doing `apt update` doesn't show it.

The:
http://security.ubuntu.com/ubuntu/dists/bionic-security/main/binary-amd64/Packages.gz
as of now still contains 0.2.3-0.6ubuntu0.18.04.2 package.

Revision history for this message
Ool (0ol) wrote :

If you can't wait…

I regain access with installing an old version

apt-get install rpcbind=0.2.3-0.6
service nfs-kernel-server restart

cat /etc/apt/preferences.d/rpcbind
Package: rpcbind
Pin: version 0.2.3-0.6
Pin-Priority: 1000

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

It's still in the process of being copied over from launchpad to the web servers. It should be done soon.

In the meantime, here's a direct link to the binary package:
https://launchpad.net/~ubuntu-security-proposed/+archive/ubuntu/ppa/+build/21682528/+files/rpcbind_0.2.3-0.6ubuntu0.18.04.3_amd64.deb

Revision history for this message
Nate Collins (ncccollins) wrote (last edit ):

I was able to pull the new version just now.

Edit: For what it's worth, I seem to be in the "this is now fixed" camp; was previously seeing ~2 crashes a minute, and things have now been steady for 42 minutes after the update.

Revision history for this message
Dirk Kleinhesselink (dirkk1202) wrote :
Download full text (3.8 KiB)

does it work, though. I think I just found it and installed/upgraded one of my systems and it's still aborting/crashing:

Jun 10 13:41:28 rpcbind[9933]: free(): invalid pointer
Jun 10 13:41:28 systemd[1]: rpcbind.service: Main process exited, code=dumped, status=6/ABRT
Jun 10 13:41:28 systemd[1]: rpcbind.service: Failed with result 'core-dump'.
Jun 10 13:41:28 systemd[1]: rpcbind.service: Service hold-off time over, scheduling restart.
Jun 10 13:41:28 systemd[1]: rpcbind.service: Scheduled restart job, restart counter is at 9.
# apt policy rpcbind
rpcbind:
  Installed: 0.2.3-0.6ubuntu0.18.04.3
  Candidate: 0.2.3-0.6ubuntu0.18.04.3
  Version table:
 *** 0.2.3-0.6ubuntu0.18.04.3 500
        500 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
        100 /var/lib/dpkg/status
     0.2.3-0.6 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

________________________________
From: <email address hidden> <email address hidden> on behalf of Nate Collins <email address hidden>
Sent: Thursday, June 10, 2021 1:29 PM
To: Kleinhesselink, Dirk <email address hidden>
Subject: [Bug 1931507] Re: rpcbind failing on 0.2.3-0.6ubuntu0.18.04.2

I was able to pull the new version just now.

--
You received this bug notification because you are subscribed to a
duplicate bug report (1931616).
https://urldefense.com/v3/__https://bugs.launchpad.net/bugs/1931507__;!!LQC6Cpwp!7admk8Py1J1naChWxy8CYTPkbtJq38T_3H3yyEhs0jgqmaE5ZtdJxCMgEg8oeO1MWFFuc1SX$

Title:
  rpcbind failing on 0.2.3-0.6ubuntu0.18.04.2

Status in rpcbind package in Ubuntu:
  Fix Released

Bug description:
  Failure with new rpcbind version. Reverting to the previous version
  fixes it.

  Bad: rpcbind_0.2.3-0.6ubuntu0.18.04.2_amd64.deb
  Good: rpcbind_0.2.3-0.6ubuntu0.18.04.1_amd64.deb

  $ journalctl -u rpcbind.service
  Jun 09 23:41:00 MYSYSTEM systemd[1]: Started RPC bind portmap service.
  Jun 09 23:41:30 MYSYSTEM rpcbind[25504]: rpcbind: pmap_prot.c:50: xdr_pmap: Assertion `regs != NULL' failed.
  Jun 09 23:41:30 MYSYSTEM systemd[1]: rpcbind.service: Main process exited, code=killed, status=6/ABRT
  Jun 09 23:41:30 MYSYSTEM systemd[1]: rpcbind.service: Failed with result 'signal'.
  Jun 09 23:41:30 MYSYSTEM systemd[1]: rpcbind.service: Service hold-off time over, scheduling restart.
  Jun 09 23:41:30 MYSYSTEM systemd[1]: rpcbind.service: Scheduled restart job, restart counter is at 477.
  Jun 09 23:41:30 MYSYSTEM systemd[1]: Stopped RPC bind portmap service.

  $ lsb_release -rd
  Description: Ubuntu 18.04.5 LTS
  Release: 18.04

  $ uname -a
  Linux MYSYSTEM 5.4.0-1044-gcp #47~18.04.2-Ubuntu SMP Mon May 17 03:48:15 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

  $ apt-cache policy rpcbind
  rpcbind:
    Installed: 0.2.3-0.6ubuntu0.18.04.1
    Candidate: 0.2.3-0.6ubuntu0.18.04.2
    Version table:
       0.2.3-0.6ubuntu0.18.04.2 500
          500 https://urldefense.com/v3/__http://us-east1.gce.archive.ubuntu.com/ubuntu__;!!LQC6Cpwp!7admk8Py1J1naChWxy8CYTPkbtJq38T_3H3yyEhs0jgqmaE5ZtdJxCMgEg8oeO1MWKNVOvR7$ bionic-updates/main amd64 Packages
       ...

Read more...

Revision history for this message
Juan Rubio (jzer7) wrote :

Marc, I verified that the new package works on all our systems.

Thank you so much for the prompt solution.

Revision history for this message
Heiko Schellhorn (jers1) wrote :

Just installed the upgrade and same as Dirk Kleinhesselink it doesn't work.

rpcbind keeps crashing

apt-cache policy rpcbind
rpcbind:
  Installiert: 0.2.3-0.6ubuntu0.18.04.3
  Installationskandidat: 0.2.3-0.6ubuntu0.18.04.3
  Versionstabelle:
 *** 0.2.3-0.6ubuntu0.18.04.3 500
        500 http://archive.ubuntu.com/ubuntu bionic-security/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     0.2.3-0.6 500
        500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages

Jun 10 23:03:09 mysystem rpcbind[12674]: free(): invalid pointer
Jun 10 23:03:09 mysystem systemd[1]: rpcbind.service: Main process exited, code=dumped, status=6/ABRT
Jun 10 23:03:09 mysystem systemd[1]: rpcbind.service: Failed with result 'core-dump'.
Jun 10 23:03:09 mysystem systemd[1]: rpcbind.service: Service hold-off time over, scheduling restart.
Jun 10 23:03:09 mysystem systemd[1]: rpcbind.service: Scheduled restart job, restart counter is at 17.
Jun 10 23:03:09 mysystem systemd[1]: Stopped RPC bind portmap service.
Jun 10 23:03:09 mysystem systemd[1]: Starting RPC bind portmap service...
Jun 10 23:03:09 mysystem systemd[1]: Started RPC bind portmap service.

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

I'm investigating the second crash. What services are being run on the servers that are still crashing after the update?

Revision history for this message
Heiko Schellhorn (jers1) wrote :

Besides the standard system services....

Related to rpcbind

* nfs-kernel-server

Not related to rpcbind

* nagios-nrpe-server
* bacula-fd

Revision history for this message
Dirk Kleinhesselink (dirkk1202) wrote :

NIS (ypbind, ypserv, yppasswdd, ypxferd) and NFS (nfslock, mountd, nfs)

________________________________
From: <email address hidden> <email address hidden> on behalf of Marc Deslauriers <email address hidden>
Sent: Thursday, June 10, 2021 2:29 PM
To: Kleinhesselink, Dirk <email address hidden>
Subject: [Bug 1931507] Re: rpcbind failing on 0.2.3-0.6ubuntu0.18.04.2

I'm investigating the second crash. What services are being run on the
servers that are still crashing after the update?

--
You received this bug notification because you are subscribed to a
duplicate bug report (1931616).
https://urldefense.com/v3/__https://bugs.launchpad.net/bugs/1931507__;!!LQC6Cpwp!7_Th_o6sv4zq6PxvRe43NhwF6O9SK_Ihk0cpZJQ3ORRIEAcZcoJZ0F5MSMaAnjerNxtnX_7d$

Title:
  rpcbind failing on 0.2.3-0.6ubuntu0.18.04.2

Status in rpcbind package in Ubuntu:
  Fix Released

Bug description:
  Failure with new rpcbind version. Reverting to the previous version
  fixes it.

  Bad: rpcbind_0.2.3-0.6ubuntu0.18.04.2_amd64.deb
  Good: rpcbind_0.2.3-0.6ubuntu0.18.04.1_amd64.deb

  $ journalctl -u rpcbind.service
  Jun 09 23:41:00 MYSYSTEM systemd[1]: Started RPC bind portmap service.
  Jun 09 23:41:30 MYSYSTEM rpcbind[25504]: rpcbind: pmap_prot.c:50: xdr_pmap: Assertion `regs != NULL' failed.
  Jun 09 23:41:30 MYSYSTEM systemd[1]: rpcbind.service: Main process exited, code=killed, status=6/ABRT
  Jun 09 23:41:30 MYSYSTEM systemd[1]: rpcbind.service: Failed with result 'signal'.
  Jun 09 23:41:30 MYSYSTEM systemd[1]: rpcbind.service: Service hold-off time over, scheduling restart.
  Jun 09 23:41:30 MYSYSTEM systemd[1]: rpcbind.service: Scheduled restart job, restart counter is at 477.
  Jun 09 23:41:30 MYSYSTEM systemd[1]: Stopped RPC bind portmap service.

  $ lsb_release -rd
  Description: Ubuntu 18.04.5 LTS
  Release: 18.04

  $ uname -a
  Linux MYSYSTEM 5.4.0-1044-gcp #47~18.04.2-Ubuntu SMP Mon May 17 03:48:15 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

  $ apt-cache policy rpcbind
  rpcbind:
    Installed: 0.2.3-0.6ubuntu0.18.04.1
    Candidate: 0.2.3-0.6ubuntu0.18.04.2
    Version table:
       0.2.3-0.6ubuntu0.18.04.2 500
          500 https://urldefense.com/v3/__http://us-east1.gce.archive.ubuntu.com/ubuntu__;!!LQC6Cpwp!7_Th_o6sv4zq6PxvRe43NhwF6O9SK_Ihk0cpZJQ3ORRIEAcZcoJZ0F5MSMaAnjerN4XdIAoG$ bionic-updates/main amd64 Packages
          500 https://urldefense.com/v3/__http://security.ubuntu.com/ubuntu__;!!LQC6Cpwp!7_Th_o6sv4zq6PxvRe43NhwF6O9SK_Ihk0cpZJQ3ORRIEAcZcoJZ0F5MSMaAnjerN4pvi876$ bionic-security/main amd64 Packages
   *** 0.2.3-0.6ubuntu0.18.04.1 100
          100 /var/lib/dpkg/status
       0.2.3-0.6 500
          500 https://urldefense.com/v3/__http://us-east1.gce.archive.ubuntu.com/ubuntu__;!!LQC6Cpwp!7_Th_o6sv4zq6PxvRe43NhwF6O9SK_Ihk0cpZJQ3ORRIEAcZcoJZ0F5MSMaAnjerN4XdIAoG$ bionic/main amd64 Packages

To manage notifications about this bug go to:
https://urldefense.com/v3/__https://bugs.launchpad.net/ubuntu/*source/rpcbind/*bug/1931507/*subscriptions__;Kysr!!LQC6Cpwp!7_Th_o6sv4zq6PxvRe43NhwF6O9SK_Ihk0cpZJQ3ORRIEAcZcoJZ0F5MSMaAnjerNx3YKEEC$

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

OK, I believe I've found the cause of the second regression. I have uploaded an update to the security team PPA for building here:

https://launchpad.net/~ubuntu-security-proposed/+archive/ubuntu/ppa/+packages

The actual binary package is located here:
https://launchpad.net/~ubuntu-security-proposed/+archive/ubuntu/ppa/+build/21682985/+files/rpcbind_0.2.3-0.6ubuntu0.18.04.4_amd64.deb

Since I can't seem to reproduce this second regression easily, could someone please check if that binary package solves the issue in their environment? If so, I'll push it as a second regression update.

Thanks, and sorry for these issues.

Revision history for this message
Dirk Kleinhesselink (dirkk1202) wrote :
Download full text (3.8 KiB)

yay ! I tried it on to systems and it seems to work! Thank you!

________________________________
From: <email address hidden> <email address hidden> on behalf of Marc Deslauriers <email address hidden>
Sent: Thursday, June 10, 2021 2:56 PM
To: Kleinhesselink, Dirk <email address hidden>
Subject: [Bug 1931507] Re: rpcbind failing on 0.2.3-0.6ubuntu0.18.04.2

OK, I believe I've found the cause of the second regression. I have
uploaded an update to the security team PPA for building here:

https://urldefense.com/v3/__https://launchpad.net/*ubuntu-security-__;fg!!LQC6Cpwp!-xxo6MC08dOrzpLvj2yja3mS7p4Q2SNViwL0cG4Nmp6WbE4_XjuAImUYstcaQbyuYgDggAS0$
proposed/+archive/ubuntu/ppa/+packages

The actual binary package is located here:
https://urldefense.com/v3/__https://launchpad.net/*ubuntu-security-proposed/*archive/ubuntu/ppa/*build/21682985/*files/rpcbind_0.2.3-0.6ubuntu0.18.04.4_amd64.deb__;fisrKw!!LQC6Cpwp!-xxo6MC08dOrzpLvj2yja3mS7p4Q2SNViwL0cG4Nmp6WbE4_XjuAImUYstcaQbyuYgZhH3Xf$

Since I can't seem to reproduce this second regression easily, could
someone please check if that binary package solves the issue in their
environment? If so, I'll push it as a second regression update.

Thanks, and sorry for these issues.

--
You received this bug notification because you are subscribed to a
duplicate bug report (1931616).
https://urldefense.com/v3/__https://bugs.launchpad.net/bugs/1931507__;!!LQC6Cpwp!-xxo6MC08dOrzpLvj2yja3mS7p4Q2SNViwL0cG4Nmp6WbE4_XjuAImUYstcaQbyuYqe3WlTE$

Title:
  rpcbind failing on 0.2.3-0.6ubuntu0.18.04.2

Status in rpcbind package in Ubuntu:
  Fix Released

Bug description:
  Failure with new rpcbind version. Reverting to the previous version
  fixes it.

  Bad: rpcbind_0.2.3-0.6ubuntu0.18.04.2_amd64.deb
  Good: rpcbind_0.2.3-0.6ubuntu0.18.04.1_amd64.deb

  $ journalctl -u rpcbind.service
  Jun 09 23:41:00 MYSYSTEM systemd[1]: Started RPC bind portmap service.
  Jun 09 23:41:30 MYSYSTEM rpcbind[25504]: rpcbind: pmap_prot.c:50: xdr_pmap: Assertion `regs != NULL' failed.
  Jun 09 23:41:30 MYSYSTEM systemd[1]: rpcbind.service: Main process exited, code=killed, status=6/ABRT
  Jun 09 23:41:30 MYSYSTEM systemd[1]: rpcbind.service: Failed with result 'signal'.
  Jun 09 23:41:30 MYSYSTEM systemd[1]: rpcbind.service: Service hold-off time over, scheduling restart.
  Jun 09 23:41:30 MYSYSTEM systemd[1]: rpcbind.service: Scheduled restart job, restart counter is at 477.
  Jun 09 23:41:30 MYSYSTEM systemd[1]: Stopped RPC bind portmap service.

  $ lsb_release -rd
  Description: Ubuntu 18.04.5 LTS
  Release: 18.04

  $ uname -a
  Linux MYSYSTEM 5.4.0-1044-gcp #47~18.04.2-Ubuntu SMP Mon May 17 03:48:15 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

  $ apt-cache policy rpcbind
  rpcbind:
    Installed: 0.2.3-0.6ubuntu0.18.04.1
    Candidate: 0.2.3-0.6ubuntu0.18.04.2
    Version table:
       0.2.3-0.6ubuntu0.18.04.2 500
          500 https://urldefense.com/v3/__http://us-east1.gce.archive.ubuntu.com/ubuntu__;!!LQC6Cpwp!-xxo6MC08dOrzpLvj2yja3mS7p4Q2SNViwL0cG4Nmp6WbE4_XjuAImUYstcaQbyuYli0XcDn$ bionic-updates/main amd64 Packages
          500 https://urldefense.com/v3/__http://security.ubuntu.com/ubuntu__;!!LQC6Cpwp!-xxo6MC0...

Read more...

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

Great, thanks for giving it a try. I will release it now.

Revision history for this message
Heiko Schellhorn (jers1) wrote :

Hi Marc

I tried rpcbind 18.04.4 and it works here as well !!
Thanks a lot for this prompt and good work !

Heiko

Revision history for this message
Norman Wilson (norma7) wrote :

I came to report the bug, saw that the fix had shipped, and can confirm that it works. Thanks to Marc (and anyone in the background) for the quick response!

Getting the NFS server running properly again requires either a reboot or a certain amount of tinkering; when rpcbind stops and restarts, it forgets all its rpc-program-to-IP-port mappings (they are stored only in memory). To get everything working again without rebooting, do

   systemctl stop nfs-server
   systemctl start nfs-server
   systemctl restart rpc-statd
   systemctl restart quotarpc

quotarpc matters only if you use disk quotas. If you don't make sure statd is running and registered with rpcbind, both on the server and on all clients, NFS locking may not work (and processes trying to make locks may hang); this is most noticeable on a mail server. restart nfs-server should work, but when I tried it it waited forever and when interrupted left NFS down; stop/start was quick and effective.

To post a comment you must log in.
This report contains Public Security information  Edit
Everyone can see this security related information.

Duplicates of this bug

Other bug subscribers