Bug 146455 - rpm-4.4 searches for nonexisting /etc/mnttab (Darwin)
rpm-4.4 searches for nonexisting /etc/mnttab (Darwin)
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2005-01-28 08:44 EST by Anders F Björklund
Modified: 2007-11-30 17:10 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-02-07 14:34:54 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
rpm-4.3-mnttab.patch (595 bytes, patch)
2005-01-28 08:46 EST, Anders F Björklund
no flags Details | Diff

  None (edit)
Description Anders F Björklund 2005-01-28 08:44:47 EST
Description of problem:
Running for instance "rpm -U" outputs an error:
error: failed to open /etc/mnttab: No such file or directory

Version-Release number of selected component (if applicable):

How reproducible:
Always on Mac OS X, possibly other BSD platforms too.

Steps to Reproduce:
1. Try on Darwin
Actual results:
error: failed to open /etc/mnttab: No such file or directory

Expected results:

Additional info:
It might be possible to port it, but for now just hardcoded 1.
Comment 1 Anders F Björklund 2005-01-28 08:46:26 EST
Created attachment 110352 [details]

just a workaround
Comment 2 Jeff Johnson 2005-01-28 13:15:10 EST
What's needed is autocrap test for getmntinfo(2)
parallel to existing getmntinfo_r(2) tests. Mac OS X
appears to lack getmntinfo_r, but has getmntinfo(2).
Comment 3 Jeff Johnson 2005-02-07 14:34:54 EST
Fixed in rpm-4.4.1-0.13 by adding autoconf check for getmntifo.

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