Thanks to Carsten for filing this bug in my name and leading me to commit this patch.

This patch solves the problem of udev not loading in a freshly bootstrapped Wheezy because of a not mounted /sys. Debian Lenny and Squeeze aren't influenced in a negative way as both of them mount /sys automatically, even if there is no entry in /etc/fstab.

Regards
Gregor
>From 833e8e64d55de1c13f0b81ce15dd6c0ba99c9f0b Mon Sep 17 00:00:00 2001
From: Gregor Thill <g...@thillbrothers.de>
Date: Sun, 22 Apr 2012 21:35:31 +0200
Subject: [PATCH] Remove the sysfs noauto entry from the installed fstab. This
 entry causes udev not to be loaded on current Debian
 Wheezy. Closes: #67007

---
 chroot-script |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/chroot-script b/chroot-script
index 4f10c54..2512b95 100755
--- a/chroot-script
+++ b/chroot-script
@@ -362,7 +362,6 @@ fi
 
 cat >> /etc/fstab << EOF
 proc           /proc        proc    defaults                      0   0
-/sys           /sys         sysfs   noauto,rw,nosuid,nodev,noexec 0   0
 /dev/cdrom     /mnt/cdrom0  iso9660 ro,user,noauto                0   0
 # some other examples:
 # /dev/sda2       none         swap    sw,pri=0             0   0
-- 
1.7.9

Reply via email to