• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Linux OS Service ‘rpcgssd’

by admin

This service manages RPCSEC GSS contexts for the NFSv4 client, which provides support on the client side for RPCSEC_GSS protocol. It will start rpc.gssd daemon to communicate with server-side rpcsec_gss daemon rpc.svcgssd. If using NFSv4, it is needed.

The rpcsec_gss protocol gives a means of using the gss-api generic security api to provide security for protocols using rpc (in particular, nfs). Before exchanging any rpc requests using rpcsec_gss, the rpc client must first establish a security context. The Linux kernel’s implementation of rpcsec_gss depends on the userspace daemon rpc.gssd to establish security contexts. The rpc.gssd daemon uses files in the rpc_pipefs filesystem to communicate with the kernel.

Rpc.gssd is the client-side implementation of RPCSEC_GSS protocol. Any applications which use RPCSEC_GSS security mechanism should call gss-api application interface to establish a secure connection with the servers.

The PRM package containing this service:

# yum install nfs-utils

Service Control

This service is handled by the “service” or “systemctl” command. Its usage is as follows:

# service rpcgssd          # CentOS/RHEL 6
Usage:  {start|stop|restart|condstart|condrestart|status}

Start the service as follows:

# service rpcgssd start        # CentOS/RHEL 6
# systemctl start rpcgssd      # CentOS/RHEL 7

Stop the service as follows:

# service rpcgssd stop        # CentOS/RHEL 6
# systemctl stop rpcgssd      # CentOS/RHEL 7

Restart the service like this:

# service rpcgssd restart        # CentOS/RHEL 6
# systemctl restart rpcgssd      # CentOS/RHEL 7

If the service is started, then restart it; otherwise do nothing.

# service rpcgssd condrestart

As start command does, condstart command also starts rpcgssd daemon.

# service rpcgssd condstart

Check if the service is started or stopped:

# service rpcgssd status        # CentOS/RHEL 6
# systemctl status rpcgssd      # CentOS/RHEL 7

Query runlevel information for the service:

# chkconfig --list rpcgssd         # CentOS/RHEL 6
rpcgssd         0:off   1:off   2:off   3:on    4:on    5:on    6:off
# systemctl is-enabled rpcgssd     # CentOS/RHEL 7
static

Configuration

There are no configuration files for this service. As mentioned above, the service will communicate with the kernel via rpc_pipefs filesystem. The default value is “/var/lib/nfs/rpc_pipefs“. You also can tell rpc.gssd where to look for the rpc_pipefs filesystem using -k option to rpc.gssd.

Filed Under: Linux, Linux Services

Some more articles you might also be interested in …

  1. What’s the difference between locate and find command in Linux
  2. How to Delete Duplicate Rules in Routing Policy Database in CentOS/RHEL
  3. named-checkconf: command not found
  4. Linux OS Service ‘nscd’
  5. arch-chroot: command not found
  6. Installing CentOS / RHEL 7 (step by step with screen shots)
  7. CentOS / RHEL : How to configure vsftpd to use ports other than the default ports 20 and 21
  8. How to block a specific IP Connecting to a server with firewall-cmd
  9. iSCSI connection command examples (Cheat Sheet)
  10. who Command Examples in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • grpck command – Remove corrupt or duplicate entries in the /etc/group and /etc/gshadow files.
  • xxd command – Expressed in hexadecimal form
  • sesearch: command not found
  • macof: command not found

© 2022 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright