From bf8fc7fde637ad21bbe4e76674a41fe666357e5c Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Fri, 16 Mar 2018 17:49:15 +0100 Subject: rc.S: create /var/lock Some programs need it to properly work. --- sbin/rc.S | 1 + 1 file changed, 1 insertion(+) diff --git a/sbin/rc.S b/sbin/rc.S index 3c76e67..1c5e29b 100755 --- a/sbin/rc.S +++ b/sbin/rc.S @@ -18,6 +18,7 @@ function build_var { if [ ! -d /var/state ] ; then mkdir /var/state ; fi if [ ! -d /var/lib ] ; then mkdir /var/lib ; fi if [ ! -d /var/spool ] ; then mkdir /var/spool ; fi + if [ ! -d /var/lock ] ; then mkdir -m 1777 /var/lock ; fi if [ ! -d /var/log ] ; then mkdir /var/log ; chown root:log /var/log; chmod 2751 /var/log; fi if [ ! -d /var/cache ] ; then mkdir /var/cache ; fi if [ ! -d /var/empty ] ; then mkdir /var/empty ; chmod 100 /var/empty; fi -- 2.28.0