Bug 439774 - openmpi install script creates invalid symlinks
Summary: openmpi install script creates invalid symlinks
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: openmpi
Version: 5.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Doug Ledford
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-03-31 11:38 UTC by Milos Malik
Modified: 2008-09-17 22:45 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-09-17 22:45:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Milos Malik 2008-03-31 11:38:36 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; cs-CZ; rv:1.8.1.13) Gecko/20080325 Fedora/2.0.0.13-1.fc8 Firefox/2.0.0.13

Description of problem:
The %post scriptlet of the openmpi package creates invalid symbolic links, because it assumes that the man pages are gzipped. But they aren't.

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

How reproducible:
Always


Steps to Reproduce:
1. ls -l /etc/alternatives/mpi-run-man
2. ls -l /etc/alternatives/mpi-exec-man

Actual Results:
In the spec file of openmpi-*.src.rpm you can see:

        --slave %{_mandir}/man1/mpirun.1.gz mpi-run-man \
                %{_datadir}/%{mpidir}/man/man1/mpirun.1.gz \
        --slave %{_mandir}/man1/mpiexec.1.gz mpi-exec-man \
                %{_datadir}/%{mpidir}/man/man1/orterun.1.gz

Expected Results:
In the spec file of openmpi-*.src.rpm you can see:

        --slave %{_mandir}/man1/mpirun.1.gz mpi-run-man \
                %{_datadir}/%{mpidir}/man/man1/mpirun.1 \
        --slave %{_mandir}/man1/mpiexec.1.gz mpi-exec-man \
                %{_datadir}/%{mpidir}/man/man1/orterun.1

Additional info:

Comment 1 Milos Malik 2008-03-31 11:44:57 UTC
There are 2 mistakes in Expected Results. The man pages are not gzipped, so
symbolic links must not pretend to be gzipped.

        --slave %{_mandir}/man1/mpirun.1 mpi-run-man \
                %{_datadir}/%{mpidir}/man/man1/mpirun.1 \
        --slave %{_mandir}/man1/mpiexec.1 mpi-exec-man \
                %{_datadir}/%{mpidir}/man/man1/orterun.1

Comment 2 Milos Malik 2008-03-31 16:49:36 UTC
Other solution of this problem would be to gzip those man pages and do not
modify the scriptlet.

Comment 3 RHEL Program Management 2008-07-21 23:04:16 UTC
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release. If you would like
this request to be reviewed for the next minor release, ask your
support representative to set the next rhel-x.y flag to "?".

Comment 5 RHEL Program Management 2008-07-28 19:52:14 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 6 Doug Ledford 2008-09-17 22:45:11 UTC
The current openmpi update no longer uses the alternatives system at all, and therefore no man page links, and so this problem is no longer a problem.


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