Red Hat Bugzilla – Bug 664627
mailq manpage does not display
Last modified: 2013-01-08 02:27:28 EST
Description of problem:
Cannot display manpage for postfix's mailq(1) command.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. yum install postfix && alternatives --set mta /usr/bin/sendmail.postfix && man mailq
2. Observe that "man mailq" fails (see below).
[root@mail ~]# man mailq
fopen: No such file or directory
Cannot open man page /usr/share/man/man1/sendmail.1.gz
No manual entry for mailq
[root@mail ~]# man mailq
(mailq manpage is displayed)
I think the "/usr/share/man/man1/mailq.postfix.1.gz" file is broken: it references "man1/sendmail.1", but the filesystem only has a "/usr/share/man/man8/sendmail.8.gz". Either that, or the sendmail manpage should be in category 1, not 8.
This bug may be CentOS-specific. My bad.
(In reply to comment #1)
> This bug may be CentOS-specific. My bad.
I'm also seeing this in "real" RHEL 5
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.
The following is a work around.
ln -s /usr/share/man/man1/sendmail.postfix.1.gz /usr/share/man/man1/sendmail.1.gz
A symlink could be distributed with an updated rpm.
Created attachment 524904 [details]
There is same issue with newaliases. The backported patch should fix it all.
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release. Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products. This request is not yet committed for inclusion in
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Prior to this update the man pages for mailq, newaliases, sendmail and aliases didn't display, because they wasn't supported by alternatives. The support was added to alternatives and now the man pages can be displayed.
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, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.