Red Hat Bugzilla – Bug 159433
kernel crash with autofs direct mount to itself
Last modified: 2007-11-30 17:11:07 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Galeon/1.3.21
Description of problem:
Kernel crash with an autofs direct mount to localhost to the same directory.
Version-Release number of selected component (if applicable):
kernel-2.6.11-1.27_FC3 (i686 UP), autofs-4.1.3-114
Steps to Reproduce:
1. Enable autofs with direct mounts
2. Create a directory, e.g. /test/crash/
3. Put following into /etc/auto.direct
4. Start/reload autofs
5. Access the directory, e.g. ls /test/crash/
Actual Results: Kernel crashed. With different outputs (continuous messages, recursive BUG(), snow crash).
Expected Results: No crash.
Don't do that.
As it happens, this issue was being worked upstream. I'll check on the status,
but as root you can shoot yourself in the foot so many ways, this just doesn't
warrant any real attention.