Skip to content

rpcinfo might fail on some systems if used on specific hostname #889

@EQXTFL

Description

@EQXTFL
  • rear version (/usr/sbin/rear -V):
    1.18
  • OS version (cat /etc/rear/os.conf or lsb_release -a):
    RHEL 6.5
  • rear configuration files (cat /etc/rear/site.conf or cat /etc/rear/local.conf):
    ISO/NFS
  • Brief description of the issue
    In file 05_start_required_daemons.sh, rpcinfo is used with option "-p localhost". This will require specific configuration to be in place and can fail.

For example, on one of my systems this produces the message:
rpcinfo: can't contact portmapper: RPC: Authentication error; why = Client credential too weak

If rpcinfo is used without any option, it will default to localhost anyway (at least on RHEL), which works fine on all of my hosts.

Suggested change:
Change "rpcinfo -p localhost" to "rpcinfo" in the complete file.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions