-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-10.0
-
None
What were you trying to do that didn't work?
After ipv6 is disabled and then restarting the nfs-server will trigger an error: Address family not supported by protocol
[root@dell-per660-17 ~]# >/etc/nfs.conf [root@dell-per660-17 ~]# systemctl restart nfs-server [root@dell-per660-17 ~]# systemctl status nfs-server ● nfs-server.service - NFS server and services Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; disabled; preset: disabled) Active: active (exited) since Sun 2024-12-15 06:06:16 EST; 2s ago Invocation: 528b17e34f2342e3b6661f96cff3b05b Docs: man:rpc.nfsd(8) man:exportfs(8) Process: 2128 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=0/SUCCESS) Process: 2130 ExecStart=/bin/sh -c /usr/sbin/nfsdctl autostart || /usr/sbin/rpc.nfsd (code=exited, status=0/SUCCESS) Process: 2153 ExecStart=/bin/sh -c if systemctl -q is-active gssproxy; then systemctl reload gssproxy ; fi (code=exited, st> Main PID: 2153 (code=exited, status=0/SUCCESS) Dec 15 06:06:16 dell-per660-17.rhts.eng.pek2.redhat.com systemd[1]: Starting nfs-server.service - NFS server and services... Dec 15 06:06:16 dell-per660-17.rhts.eng.pek2.redhat.com sh[2131]: Error: Address family not supported by protocol Dec 15 06:06:16 dell-per660-17.rhts.eng.pek2.redhat.com systemd[1]: Finished nfs-server.service - NFS server and services. [root@dell-per660-17 ~]# grep -i error /var/log/messages Dec 15 06:05:18 dell-per660-17 sh[2034]: Error: Address family not supported by protocol Dec 15 06:06:16 dell-per660-17 sh[2131]: Error: Address family not supported by protocol [root@dell-per660-17 ~]# cat /proc/cmdline | grep ipv6 BOOT_IMAGE=(hd0,gpt2)/vmlinuz-6.12.0-33.el10.x86_64 root=/dev/mapper/rhel_dell--per660--17-root ro crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=UUID=4f188722-5f87-46b4-bd57-340ad5f4f3ba rd.lvm.lv=rhel_dell-per660-17/root rd.lvm.lv=rhel_dell-per660-17/swap console=ttyS0,115200n81 ipv6.disable=1 [root@dell-per660-17 ~]# rpm -q nfs-utils nfs-utils-2.8.2-0.el10.x86_64 [root@dell-per660-17 ~]#
What is the impact of this issue to you?
Please provide the package NVR for which the bug is seen:
nfs-utils-2.8.2-0.el10
How reproducible is this bug?:
always
Steps to reproduce
- grubby --args='ipv6.disable=1' --update-kernel=DEFAULT
- reboot
- systemctl restart nfs-server
- systemctl status nfs-server
Expected results
Actual results
- relates to
-
RHEL-67168 [10.0] Add nfsdctl interface to start the NFS server
-
- Closed
-