srp_init.1m (2011 09)
SRP_INIT(1M) SRP_INIT(1M)
NAME
srp_init - HP-UX Container specific process control initialization.
SYNOPSIS
/sbin/srp_init 0 1 2 3 4 5 6 Q q
DESCRIPTION
The srp_init daemon and command is a general process spawner that launches processes within a HP-
UX Container. Each container has its own srp_init daemon. The srp_init daemon is launched during
the container startup, immediately after the container has been initialized to the
STARTED state.
srp_init provides the same behavior as the system level init daemon (see init (1)), except as noted below:
• S s, a, b, c run level options are not recognized by srp_init.
• Boot authentication as described in security (4) is not supported.
• getty entries in the container’s inittab file are ignored.
• As HP-UX Container does not support per container console, console interaction including restarting
the container after srp_init 0 is not supported.
• The process
ID of srp_init will not be 1. The process
ID of srp_init is non-deterministic.
Note: Container run level is independent of system run level. Containers cannot be started on the system
until the system level init daemon has reached run level 3.
DIAGNOSTICS
By default, console log output for srp_init is directed to
/var/hpsrp/<container_name>/etc/srp_console.log. The
RC scripts output during the container start
and stop is directed to /var/hpsrp/<container_name>/etc/rc.log. The warnings, errors, event info such as
change in run-level are logged in to /var/hpsrp/<container_name>/srp.log.
WARNING
SIGPWR signal is masked (ignored) by srp_init. All other signals are not masked by srp_init, hence
srp_init can be killed by an appropriately privileged process.
FILES
/var/hpsrp/<container_name>/etc/inittab
/var/hpsrp/<container_name>/etc/utmp
/var/hpsrp/<container_name>/etc/srp_console.log
/var/hpsrp/<container_name>/etc/rc.config.d/
/var/hpsrp/<container_name>/sbin/srp_rc
/var/hpsrp/<container_name>/etc/rc.log
/var/hpsrp/<container_name>/var/adm/wtmps
/var/hpsrp/<container_name>/srp.log
Note: For container types that use a chroot(2) based file system view (for example, system containers),
processes executing within the container will access these files directly from the chrooted container home
directory path of /var/hpsrp/<container_name>.
AUTHOR
srp_init was developed by Hewlett-Packard Company
SEE ALSO
init(1), srp(1M), container(5), getty(1M), rc(1M), utmpd(1M), ioctl(2), kill(2), setpgid(2), setsid(2),
updatebwdb(3C), inittab(4), security(4), utmp(4), chroot(2).
HP-UX 11i Version 3: September 2011 − 1 − Hewlett-Packard Company 1