Skip to content

sge-base.xml inserts SGE manpath to an obsoleted /etc/man.config  #2

@klin938

Description

@klin938

On Rocks 7, the SGE man pages are missing after the deployment from both frontend, login and compute node.

In sge-base.xml, there is:

<file name="/etc/man.config" mode="append"> MANPATH /opt/gridengine/man </file>

Note that man.config is used by man package in CentOS6, which has been replaced by man-db in CentOS7.

man-db does not use man.config anymore, it reads from /etc/man_db.conf:

`$ yum provides /etc/man.config
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
No matches found

$ yum provides /etc/man_db.conf
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
man-db-2.6.3-9.el7.x86_64 : Tools for searching and reading man pages
Repo : Rocks-7.0
Matched from:
Filename : /etc/man_db.conf

man-db-2.6.3-9.el7.x86_64 : Tools for searching and reading man pages
Repo : @anaconda/7.0
Matched from:
Filename : /etc/man_db.conf`

To FIX this is relatively straight forward, I have added this line to man_db.conf and SGE man pages can be found again:
MANDATORY_MANPATH /opt/gridengine/man

Also note that this issue does not happen just to SGE, every roll which drops a line to man.config should be fixed:
# cat /etc/man.config MANPATH /opt/rocks/man MANPATH /opt/tripwire/man MANPATH /opt/gridengine/man MANPATH /usr/java/latest/man MANPATH /opt/ganglia/man MANPATH /opt/openmpi/share/man MANPATH /opt/mpich3/gnu/man

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions