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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • 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. /dev/shm permission change after node reboot
  2. How to effectively use Man Pages under Linux
  3. findfs: command not found
  4. mount Command Examples in Linux
  5. dolt add: Add the contents of a table to the list of Dolt staged tables
  6. brctl Command Examples in Linux
  7. mke2fs Command Examples in Linux
  8. CentOS / RHEL 6 : Install and Configure SNMPv3
  9. How to enable md5 Hashing in Linux
  10. How to burn an ISO to CD or DVD using Wodim

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright