From bf112c814a555440e185e735c533fb78408a1fd1 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Tue, 12 Aug 2014 17:05:40 +0200 Subject: rc.S: do not create wtmp anymore This file's only purpose is to fill file systems and cause trouble when /var is in memory. Distros which want it will have to create it. --- sbin/rc.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/rc.S b/sbin/rc.S index c07284d..b873c7c 100755 --- a/sbin/rc.S +++ b/sbin/rc.S @@ -181,7 +181,7 @@ fi /bin/rm -f /var/run/utmp /var/run/*.pid >/dev/null 2>&1 /bin/rm -rf /tmp/* /tmp/.[^.]* /tmp/..?* >/dev/null 2>&1 -touch /var/log/wtmp /var/run/utmp /var/log/lastlog +touch /var/run/utmp /var/log/lastlog #if mkdir /tmp/.$BOOTID ; then # dmesg > /tmp/.$BOOTID/dmesg -- 1.7.12.1