Hi. I found that the rpcbind(8) man-page explains a reason for that behavior.
It is included in Bionic, not Focal.
ubu1804:$ man rpcbind
(snip)
-r Turn on remote calls. Cause rpcbind to open up random listening
ports. Note that rpcinfo need this feature turned on for work
properly.
(snip)
Ubuntu note: to retain backwards compatibility with existing behavior,
in releases Xenial and Bionic, the default for this is enabled,
so remote calls are turned on by default.
(snip)
In Focal and later, the remote calls default is disabled, and
the variable is ignored.
ubu2004:$ man rpcbind
(snip)
FILES
If "/etc/default/rpcbind" exists, rpcbind will use the specified options
at launch time rpcbind Otherwise rpcbind will try to load configuration
from "/etc/rppcbind.conf" rpcbind The default options are set as "-w -f".
So, I edit /etc/default/rpcbind and restart rpcbind.
ubu2004:$ diff -u /etc/default/rpcbind.orig /etc/default/rpcbind
--- /etc/default/rpcbind.orig 2021-09-28 19:10:00.341377024 +0900
+++ /etc/default/rpcbind 2021-09-28 19:10:06.961394965 +0900
@@ -3,7 +3,7 @@
OPTIONS=""
# Cause rpcbind to do a "warm start" utilizing a state file (default)
-OPTIONS="-w"
+OPTIONS="-w -r"
ubu2004:$ sudo ss -apn | grep rpcbind | grep ^udp
udp UNCONN 0 0 0.0.0.0:111 0.0.0.0:*
users:(("rpcbind",pid=25388,fd=5),("systemd",pid=1,fd=164))
udp UNCONN 0 0 [::]:111 [::]:*
users:(("rpcbind",pid=25388,fd=7),("systemd",pid=1,fd=167))
sudo service rpcbind restart
ubu2004:$ sudo service rpcbind restart
ubu2004:$ sudo ss -apn | grep rpcbind | grep ^udp
udp UNCONN 0 0 0.0.0.0:111 0.0.0.0:*
users:(("rpcbind",pid=25790,fd=5),("systemd",pid=1,fd=164))
udp UNCONN 0 0 0.0.0.0:56257 0.0.0.0:* users:(("rpcbind",pid=25790,fd=10))
udp UNCONN 0 0 [::]:58194 [::]:* users:(("rpcbind",pid=25790,fd=11))
udp UNCONN 0 0 [::]:111 [::]:*
users:(("rpcbind",pid=25790,fd=7),("systemd",pid=1,fd=167))
ubu2004:$ sudo service rpcbind status
(snip)
CGroup: /system.slice/rpcbind.service
└─25790 /sbin/rpcbind -f -w -r
ubu2004:$ rusers
ubu2004 testuser
ubu1804 testuser testuser
It seems to be working properly.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1890276
Title:
rpcbind changes after bionic broke rup broadcast feature
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rpcbind/+bug/1890276/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs