Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1533717 - mpich breaks search for manual pages
Summary: mpich breaks search for manual pages
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mpich
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zbigniew Jędrzejewski-Szmek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-12 02:50 UTC by Michal Jaegermann
Modified: 2018-04-14 19:53 UTC (History)
3 users (show)

Fixed In Version: mpich-3.2.1-5.fc28 mpich-3.2.1-3.fc27
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-12 20:23:46 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1564899 0 unspecified CLOSED using modules breaks man path 2022-05-16 11:32:56 UTC

Internal Links: 1564899

Description Michal Jaegermann 2018-01-12 02:50:06 UTC
Description of problem:

With mpich package installed 'man' is loosing ability to display any manual pages other than located in /usr/share/man/mpich-x86_64/ tree.  Run 'man -d man' and see for yourself.

The culprit is the following line from /etc/modulefiles/mpi/mpich-x86_64

prepend-path  MANPATH       /usr/share/man/mpich-x86_64

The issue is that by default MANPATH is not set and 'man' relies on a configuration in /etc/man_db.conf. With the above line mpich sets unconditionally MANPATH to /usr/share/man/mpich-x86_64 and hilarity ensues.

The cure is simple.  Replace the faulty line above with

prepend-path  MANPATH       :/usr/share/man/mpich-x86_64

As documented this first searches "regular" directories as configured in /etc/man_db.conf followed by mpich specific stuff.
Putting ':' at the line end does not work!

Version-Release number of selected component (if applicable):
mpich-3.2.1-2.fc28.x86_64 and likely others

How reproducible:
always

Additional info:

Although PATH so far is set hence a line

prepend-path  PATH          /usr/lib64/mpich/bin

so far does not breaks the whole system quite thoroughly, lines

prepend-path  LD_LIBRARY_PATH /usr/lib64/mpich/lib
prepend-path  PKG_CONFIG_PATH /usr/lib64/mpich/lib/pkgconfig

look like have a serious potential for a mischief.  In particular there exist directories /usr/lib64/pkgconfig/ and /usr/share/pkgconfig/.  Are these not good enough?

Comment 1 Fedora End Of Life 2018-02-20 15:21:45 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.

Comment 2 Michal Jaegermann 2018-03-29 22:24:39 UTC
An update of a rawhide installation, which brings in mpich-3.2.1-3.fc28.x86_64, breaks MANPATH once again; precisely as described in the original report from 2018-01-11.

Comment 3 Ankur Sinha (FranciscoD) 2018-04-04 07:39:42 UTC
I see the same issue here on a F28 beta system. When mpi/openmpi-x86_64 is loaded, the MANPATH shows:

$ echo $MANPATH
/usr/share/man/openmpi-x86_64


and all the standard man pages are inaccessible.

Comment 4 Fedora Update System 2018-04-04 14:14:21 UTC
mpich-3.2.1-5.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-34508bca3c

Comment 5 Fedora Update System 2018-04-04 14:14:30 UTC
mpich-3.2.1-3.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-af65f4eeab

Comment 6 Fedora Update System 2018-04-04 17:57:30 UTC
mpich-3.2.1-3.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-af65f4eeab

Comment 7 Fedora Update System 2018-04-04 18:37:28 UTC
mpich-3.2.1-5.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-34508bca3c

Comment 8 Fedora Update System 2018-04-12 20:23:46 UTC
mpich-3.2.1-5.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2018-04-14 19:53:25 UTC
mpich-3.2.1-3.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.


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