1f75ec82e1
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
11 lines
351 B
Bash
Executable file
11 lines
351 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Ensure that new process maintain this SELinux label
|
|
PID=$$
|
|
LABEL=`tr -d '\000' < /proc/$PID/attr/current`
|
|
printf %s $LABEL > /proc/self/attr/exec
|
|
|
|
test -e /etc/sysconfig/crio-storage && source /etc/sysconfig/crio-storage
|
|
test -e /etc/sysconfig/crio-network && source /etc/sysconfig/crio-network
|
|
|
|
exec /usr/bin/crio --log-level=$LOG_LEVEL
|