This file is indexed.

/usr/share/pcsd/pcsd.service-runner is in pcs 0.9.164-1.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/ruby
# this file is a pcsd runner callable from a systemd unit
# it also serves as a holder of a selinux context

begin
  # add pcsd to the load path (ruby -I)
  libdir = File.dirname(__FILE__)
  $LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)

  # change current directory (ruby -C)
  Dir.chdir('/var/lib/pcsd')

  # import and run pcsd
  require 'ssl'
rescue SignalException => e
  if [Signal.list['INT'], Signal.list['TERM']].include?(e.signo)
    # gracefully exit on SIGINT and SIGTERM
    # pcsd sets up signal handlers later, this catches exceptions which occur
    # by recieving signals before the handlers have been set up.
    exit
  else
    raise
  end
end