Bug#286756: udev gets tmpfs kernel support test wrong
On Mon, Jan 02, 2006 at 09:36:23PM +0100, David Schmitt wrote:
> Hi John!
>
> Could you please retest with a current kernel (testing:2.6.12,
> unstable:2.6.14) and a current udev (>= 0.076)?
Hi,
I thought this was fixed some time ago... the /etc/init.d/udev
script now checks if files can successfully be created in the tmpfs
/dev dir:
# using ln to test if /dev works, because touch is in /usr/bin/
if ln -s test /dev/test-file; then
rm /dev/test-file
log_end_msg 0
else
log_failure_msg "FATAL: udev requires tmpfs support, not started."
umount /etc/udev
umount /dev
log_end_msg 1
exit 1
fi
(This is from udev version 0.060-1ubuntu1, I'm not sure which version
in debian fixed it).
The problem only occurred if someone was using a kernel that they compiled
themselves, since the debian provided kernels had the required support.
So it's fixed for udev, at least. I thought it had been re-assigned to
linux-2.6 because someone thought the bug was for listing tmpfs in
/proc/filesystems when tmpfs wasn't available.
John
Reply to: