pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/55544: sysutils/ansible: use /proc/mounts



The following reply was made to PR pkg/55544; it has been noted by GNATS.

From: Joerg Sonnenberger <joerg%bec.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/55544: sysutils/ansible: use /proc/mounts
Date: Wed, 5 Aug 2020 22:40:01 +0200

 On Wed, Aug 05, 2020 at 07:35:00PM +0000, joernc%gmail.com@localhost wrote:
 > >Number:         55544
 > >Category:       pkg
 > >Synopsis:       sysutils/ansible: use /proc/mounts
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       medium
 > >Responsible:    pkg-manager
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Wed Aug 05 19:35:00 +0000 2020
 > >Originator:     Joern Clausen
 > >Release:        
 > >Organization:
 > >Environment:
 > >Description:
 > The fact gathering code for NetBSD already uses /proc in some cases, but reads /etc/fstab to find mounted filesystems. This misses usually (well, at least in my case) ZFS mounts, which are no longer documented there.
 > 
 > >How-To-Repeat:
 > $ ansible foo -m setup
 > 
 > will not report mounts on foo except those documented in /etc/fstab
 > >Fix:
 > https://github.com/ansible/ansible/pull/71113 is a pull request to read /proc/mounts instead. Until (if ever) it makes it to a release, a local patch in pkgsrc would be nice.
 
 What about using mount(8) instead? Not every system has /proc mounted...
 
 Joerg
 


Home | Main Index | Thread Index | Old Index