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

The Geek Diary

CONCEPTS | BASICS | HOWTO

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • Linux Services
    • VCS
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
    • Data Guard
  • DevOps
    • Docker
    • Shell Scripting
  • Interview Questions
  • 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. CentOS / RHEL 6 : How to list or install only security updates with yum
  2. Linux OS Service ‘sendmail’
  3. How to disable firewalld and and switch to iptables in CentOS / RHEL 7
  4. How to change the PATH variable in Linux
  5. Understanding OpenSSH Configuration Files
  6. How to Create An LVM Snapshot Of The Root Filesystem And Restore To An Earlier State
  7. Can’t start X11 applications after “su” or “su -” to another user
  8. How to get Fibre Channel HBA information from Linux SOSreport
  9. How to Automate Startup/Shutdown of Oracle Database and Listener on Linux
  10. CentOS / RHEL 6 : How to force a NTP sync with the NTP server(s)

You May Also Like

Primary Sidebar

Recent Posts

  • How to Disable IPv6 on Ubuntu 18.04 Bionic Beaver Linux
  • How to Capture More Logs in /var/log/dmesg for CentOS/RHEL
  • Unable to Start RDMA Services on CentOS/RHEL 7
  • How to rename a KVM VM with virsh
  • Archives
  • Contact Us
  • Copyright

© 2021 · The Geek Diary