RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1355652 - [ppc64/s390x] nsm_use_hostnames=1 turns to 16777216 in big-endian architectures
Summary: [ppc64/s390x] nsm_use_hostnames=1 turns to 16777216 in big-endian architectures
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: nfs-utils
Version: 7.3
Hardware: ppc64
OS: Linux
high
medium
Target Milestone: rc
: 7.7
Assignee: Steve Dickson
QA Contact: Yongcheng Yang
Milan Navratil
URL:
Whiteboard:
Depends On: 1264387
Blocks: 1362179 1586275 1598750
TreeView+ depends on / blocked
 
Reported: 2016-07-12 07:26 UTC by Yongcheng Yang
Modified: 2019-10-22 04:43 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Known Issue
Doc Text:
Clone Of:
: 1764075 (view as bug list)
Environment:
Last Closed: 2019-06-20 18:17:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
IBM Linux Technology Center 148192 0 None None None 2019-06-27 08:46:48 UTC

Description Yongcheng Yang 2016-07-12 07:26:53 UTC
Description of problem:
Bug 1264387 has changed to use lockd.conf instead of sysconfig to set module lockd parameters. When testing enable/disable "nsm_use_hostnames", found that "fs.nfs.nsm_use_hostnames" shows up as 16777216 but not 1 after enabled it in ppc64 machines.
This issue *not* exists in x86_64.

Version-Release number of selected component (if applicable):
Only in ppc64 arch

How reproducible:
100% easy

Steps to Reproduce:
1. echo 'options lockd nsm_use_hostnames=1' >/etc/modprobe.d/lockd.conf
2. Re-load the module lockd or reboot system to make it effective
3. sysctl fs.nfs.nsm_use_hostnames
4. cat /sys/module/lockd/parameters/nsm_use_hostnames

Actual results:
# After enabled it
[root]# sysctl fs.nfs.nsm_use_hostnames
fs.nfs.nsm_use_hostnames = 16777216 <<<<<<<<<<<<<<<<< 
[root@]# cat /sys/module/lockd/parameters/nsm_use_hostnames 
Y
[root]# 

Expected results:
[root]# sysctl fs.nfs.nsm_use_hostnames
fs.nfs.nsm_use_hostnames = 1  <<<<<<<<<<<<<<<<<<<<<<<<<<
[root@]# cat /sys/module/lockd/parameters/nsm_use_hostnames 
Y
[root]#

Additional info:
[yoyang@yoyang-pc lockd]$ awk 'BEGIN{print log(16777216)/log(2)}'
24
[yoyang@yoyang-pc lockd]$ awk 'BEGIN{print 2**24}'
16777216
[yoyang@yoyang-pc lockd]$


Note You need to log in before you can comment on or make changes to this bug.