And yet on both system I got a dozen of 'key ".directory" not found in map source(s). ' entries in /var/log/messages.
So I started digging and find out that there is some kind of conflict between KDE automount-er and autofs.
Here's my config
Code: Select all
TIMEOUT=300
BROWSE_MODE="no"
LOGGING="debug"
USE_MISC_DEVICE="yes"
[root@testbench ~]# cat /etc/auto.master | grep -v ^#
/misc /etc/auto.misc --debug
[root@testbench ~]# cat /etc/auto.misc | grep -v ^#
cd -fstype=iso9660,ro,nosuid,nodev :/dev/hdc
So here is whats happening when I'm in KDE and I'm inserting a CD. After every insert I included the logs, one with autofs off and one with autofs on.
Code: Select all
[root@testbench ~]# service autofs stop
Stopping automount: [ OK ]
[root@testbench ~]# tail /var/log/messages
Aug 9 10:24:19 testbench automount[2996]: master_notify_state_change: sig 15 switching /misc from 1 to 5
Aug 9 10:24:19 testbench automount[2996]: expire_proc: exp_proc = 3076074384 path /misc
Aug 9 10:24:19 testbench automount[2996]: expire_cleanup: got thid 3076074384 path /misc stat 0
Aug 9 10:24:19 testbench automount[2996]: expire_cleanup: sigchld: exp 3076074384 finished, switching from 5 to 7
Aug 9 10:24:19 testbench automount[2996]: st_shutdown: state 5 path /misc
Aug 9 10:24:19 testbench automount[2996]: umount_multi: path /misc incl 0
Aug 9 10:24:19 testbench automount[2996]: umounted indirect mount /misc
Aug 9 10:24:19 testbench automount[2996]: automount_path_to_fifo: fifo name /var/run/autofs.fifo-misc
Aug 9 10:24:19 testbench automount[2996]: shut down path /misc
Aug 9 10:35:23 testbench kernel: cdrom: hdc: mrw address space DMA selected
Aug 9 10:35:23 testbench hald: mounted /dev/hdc on behalf of uid 0
[root@testbench ~]# service autofs start
Starting automount: [ OK ]
[root@testbench ~]# tail /var/log/messages
Aug 9 10:35:54 testbench kernel: hdc: tray open
Aug 9 10:35:54 testbench kernel: end_request: I/O error, dev hdc, sector 64
Aug 9 10:35:54 testbench kernel: Buffer I/O error on device hdc, logical block 8
Aug 9 10:36:05 testbench automount[3111]: master_do_mount: mounting /misc
Aug 9 10:36:05 testbench automount[3111]: automount_path_to_fifo: fifo name /var/run/autofs.fifo-misc
Aug 9 10:36:05 testbench automount[3111]: lookup_nss_read_map: reading map file /etc/auto.misc
Aug 9 10:36:05 testbench automount[3111]: mounted indirect on /misc with timeout 300, freq 75 seconds
Aug 9 10:36:05 testbench automount[3111]: st_ready: st_ready(): state = 0 path /misc
Aug 9 10:36:05 testbench automount[3111]: handle_packet: type = 3
Aug 9 10:36:06 testbench automount[3111]: handle_packet_missing_indirect: token 12, name .directory, request pid 2616
Aug 9 10:36:06 testbench automount[3111]: attempting to mount entry /misc/.directory
Aug 9 10:36:06 testbench automount[3111]: lookup_mount: lookup(file): looking up .directory
Aug 9 10:36:06 testbench automount[3111]: key ".directory" not found in map source(s).
Aug 9 10:36:06 testbench automount[3111]: dev_ioctl_send_fail: token = 12
Aug 9 10:36:06 testbench automount[3111]: handle_packet: type = 3
Aug 9 10:36:06 testbench automount[3111]: handle_packet_missing_indirect: token 13, name .directory, request pid 2616
Aug 9 10:36:06 testbench automount[3111]: dev_ioctl_send_fail: token = 13
Aug 9 10:36:06 testbench automount[3111]: handle_packet: type = 3
Aug 9 10:36:06 testbench automount[3111]: handle_packet_missing_indirect: token 14, name .directory, request pid 2616
Aug 9 10:36:06 testbench automount[3111]: dev_ioctl_send_fail: token = 14
Aug 9 10:36:06 testbench automount[3111]: failed to mount /misc/.directory
Aug 9 10:36:25 testbench automount[3111]: handle_packet: type = 3
Aug 9 10:36:25 testbench automount[3111]: handle_packet_missing_indirect: token 15, name .directory, request pid 2616
Aug 9 10:36:25 testbench automount[3111]: dev_ioctl_send_fail: token = 15
Aug 9 10:36:25 testbench kernel: cdrom: hdc: mrw address space DMA selected
Aug 9 10:36:25 testbench hald: mounted /dev/hdc on behalf of uid 0
I can stop autofs altogether since KDE is handling the automount, but after 5 days of searching now I'm really stubborn to find out why its happening and how come nobody else opened a discussion about this since its present on a freshly installed system