Bug 2109420
| Summary: | rpc-pipefs-generator fails when different pipefs-directory value specified | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Yongcheng Yang <yoyang> | 
| Component: | nfs-utils | Assignee: | Steve Dickson <steved> | 
| Status: | CLOSED ERRATA | QA Contact: | Yongcheng Yang <yoyang> | 
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 9.1 | CC: | xzhou | 
| Target Milestone: | rc | Keywords: | Patch, Regression, Triaged | 
| Target Release: | --- | Flags: | pm-rhel:
                mirror+
                 | 
  
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | nfs-utils-2.5.4-12.el9 | Doc Type: | If docs needed, set a value | 
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-11-15 11:22:03 UTC | Type: | Bug | 
| Regression: | --- | Mount Type: | --- | 
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| 
 
        
          Description
        
        
          Yongcheng Yang
        
        
        
        
        
          2022-07-21 07:49:55 UTC
        
       
      
      
      
    commit 36ce9a29d34e48e1fb5af80ec5258c342e6557df (HEAD -> master, origin/master, origin/HEAD)
Author: Steve Dickson <steved>
Date:   Thu Jul 21 15:11:17 2022 -0400
    rpc-pipefs-generator: allocate enough space for pipefs-directory buffer
    
    Commit 7f8463fe fixed a warning but introduce
    a regression by not allocating enough space
    for the pipefs-directory buffer when it is
    not the default.
    
    Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2106896
    Signed-off-by: Steve Dickson <steved>
    Verified in nfs-utils-2.5.4-12.el9 https://beaker.engineering.redhat.com/recipes/12334820#task147821672 --- [21:32:50 root@ ~~]# echo '[general]' > /etc/nfs.conf [21:32:50 root@ ~~]# echo 'pipefs-directory=/run/rpc_pipefs' >> /etc/nfs.conf [21:32:50 root@ ~~]# systemctl daemon-reload [21:32:50 root@ ~~]# systemctl restart rpc_pipefs.target [21:32:50 root@ ~~]# systemctl cat rpc_pipefs.target # /run/systemd/generator/rpc_pipefs.target # Automatically generated by rpc-pipefs-generator [Unit] Requires=run-rpc_pipefs.mount After=run-rpc_pipefs.mount [21:32:50 root@ ~~]# cat /proc/mounts | grep ^sunrpc sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw,relatime 0 0 sunrpc /run/rpc_pipefs rpc_pipefs rw,relatime 0 0 Compared with previous nfs-utils-2.5.4-11.el9 [21:01:22 root@ ~~]# echo '[general]' > /etc/nfs.conf [21:01:22 root@ ~~]# echo 'pipefs-directory=/run/rpc_pipefs' >> /etc/nfs.conf [21:01:22 root@ ~~]# systemctl daemon-reload [21:01:22 root@ ~~]# systemctl restart rpc_pipefs.target Failed to restart rpc_pipefs.target: Unit run-rpc_pipefs.mount not found. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (nfs-utils bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:8376  |