From ee29054da1e206095afdf8435306076573488089 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 3 Apr 2013 13:27:22 +0200 Subject: [PATCH] Create an empty /etc/resolv.conf to shut up nscd --- modules/system/boot/stage-2-init.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/system/boot/stage-2-init.sh b/modules/system/boot/stage-2-init.sh index fbb8e8d04f2..ef69dde2fe6 100644 --- a/modules/system/boot/stage-2-init.sh +++ b/modules/system/boot/stage-2-init.sh @@ -98,6 +98,7 @@ mkdir -m 0700 -p /var/log/journal # Miscellaneous boot time cleanup. rm -rf /var/run /var/lock rm -f /etc/resolv.conf +touch /etc/resolv.conf rm -f /etc/{group,passwd,shadow}.lock if test -n "@cleanTmpDir@"; then