2017-12-01 14:37:38 +00:00
|
|
|
#!/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
|
|
|
|
|
2018-01-04 19:14:52 +00:00
|
|
|
test -e /etc/sysconfig/crio-storage && source /etc/sysconfig/crio-storage
|
|
|
|
test -e /etc/sysconfig/crio-network && source /etc/sysconfig/crio-network
|
|
|
|
|
2017-12-01 14:37:38 +00:00
|
|
|
exec /usr/bin/crio --log-level=$LOG_LEVEL
|