I am running Mdk 9.1. and recently I tried to install auto_fs to have
automounting of my cdrom and floppy. I used the following auto.master
/vol /etc/auto.vol --timeout=3
and the following auto.vol to configure the /vol directory
cdrom -fstype=iso9660,ro,uni_xlate=1,codepage=850,umask=0,nosuid,nodev
:/dev/cdrom
floppy -fstype=vfat,uni_xlate=1,sync,codepage=850,umask=0,nosuid,nodev
:/dev/fd0
After installing the automounting, my login (both terminal and KDE)
hanged when logging in as an ordinary user. Tracing the pam output it
turned out that it was hanging when pam_console is changing the
permissions of console devices.
I am normally using devfsd (since that is standard). If I disabled it
the login would go through. Also, if I run it in debug mode (where it
according to the output does not do anything) it would also go
through: it would get and successfully process the requests (but not
do anything physically). So somehow it appears to be a compatibility
issue between devfsd and auto_fs.
Does anybody know what is causing this? Anybody who has a working
installation with devfsd and auto_fs?
Thanks
/Peter
In case you need this is my devfsd.conf
# $Id: devfsd.conf,v 1.6 2002/11/11 05:06:34 turtle Exp $
# Sample /etc/devfsd.conf configuration file.
# Richard Gooch <[EMAIL PROTECTED]> 17-FEB-2002
#
# Enable full compatibility mode for old device names. You may comment these
# out if you don't use the old device names. Make sure you know what you're
# doing!
REGISTER .* MKOLDCOMPAT
UNREGISTER .* RMOLDCOMPAT
# You may comment out the above and uncomment the following if you've
# configured your system to use the original "new" devfs names or the really
# new names
#REGISTER ^vc/ MKOLDCOMPAT
#UNREGISTER ^vc/ RMOLDCOMPAT
#REGISTER ^pty/ MKOLDCOMPAT
#UNREGISTER ^pty/ RMOLDCOMPAT
#REGISTER ^misc/ MKOLDCOMPAT
#UNREGISTER ^misc/ RMOLDCOMPAT
# You may comment these out if you don't use the original "new" names
REGISTER .* MKNEWCOMPAT
UNREGISTER .* RMNEWCOMPAT
# Enable module autoloading. You may comment this out if you don't use
# autoloading
LOOKUP .* MODLOAD
# Uncomment the following if you want to set the group to "tty" for the
# pseudo-tty devices. This is necessary so that mesg(1) can later be used to
# enable/disable talk requests and wall(1) messages.
REGISTER ^pty/s.* PERMISSIONS -1.tty 0600
REGISTER ^pts/.* PERMISSIONS -1.tty 0600
#
# Uncomment this if you want permissions to be saved and restored
# Do not do this for pseudo-terminal devices
REGISTER ^pt[sy] IGNORE
CREATE ^pt[sy] IGNORE
CHANGE ^pt[sy] IGNORE
DELETE ^pt[sy] IGNORE
REGISTER .* COPY /lib/dev-state/$devname $devpath
CREATE .* COPY $devpath /lib/dev-state/$devname
CHANGE .* COPY $devpath /lib/dev-state/$devname
DELETE .* CFUNCTION GLOBAL unlink /lib/dev-state/$devname
RESTORE /lib/dev-state
#
# Uncomment this if you want the old /dev/cdrom symlink
REGISTER ^cdroms/cdrom0$ CFUNCTION GLOBAL mksymlink $devname cdrom
UNREGISTER ^cdroms/cdrom0$ CFUNCTION GLOBAL unlink cdrom
REGISTER ^v4l/video0$ CFUNCTION GLOBAL mksymlink v4l/video0 video
UNREGISTER ^v4l/video0$ CFUNCTION GLOBAL unlink video
REGISTER ^radio0$ CFUNCTION GLOBAL mksymlink radio0 radio
UNREGISTER ^radio0$ CFUNCTION GLOBAL unlink radio
# ALSA stuff
#LOOKUP snd MODLOAD ACTION snd
# Uncomment this to let PAM manage devfs
REGISTER .* CFUNCTION /lib/security/pam_console_apply_devfsd.so
pam_console_apply_single $devpath
# Uncomment this to manage USB mouse
#REGISTER ^input/mouse0$ CFUNCTION GLOBAL mksymlink $devname usbmouse
#UNREGISTER ^input/mouse0$ CFUNCTION GLOBAL unlink usbmouse
REGISTER ^input/mice$ CFUNCTION GLOBAL mksymlink $devname usbmouse
UNREGISTER ^input/mice$ CFUNCTION GLOBAL unlink usbmouse
# If you have removable media and want to force media revalidation when looking
# up new or old compatibility names, uncomment the following lines
# SCSI NEWCOMPAT /dev/sd/* names
LOOKUP ^(sd/c[0-9]+b[0-9]+t[0-9]+u[0-9]+)p[0-9]+$ EXECUTE /bin/dd
if=$mntpnt/\1 of=/dev/null count=1
# SCSI OLDCOMPAT /dev/sd?? names
LOOKUP ^(sd[a-z]+)[0-9]+$ EXECUTE /bin/dd if=$mntpnt/\1 of=/dev/null
count=1
# IDE NEWCOMPAT /dev/ide/hd/* names
LOOKUP ^(ide/hd/c[0-9]+b[0-9]+t[0-9]+u[0-9]+)p[0-9]+$ EXECUTE /bin/dd
if=$mntpnt/\1 of=/dev/null count=1
# IDE OLDCOMPAT /dev/hd?? names
LOOKUP ^(hd[a-z])[0-9]+$ EXECUTE /bin/dd if=$mntpnt/\1 of=/dev/null
count=1
REGISTER ^dvb/card[0-9]+/[^/]+$ PERMISSIONS root.video 0660
REGISTER ^dvb/card([0-9]+)/([^/0-9]*)[0-9]+$ CFUNCTION GLOBAL mksymlink
/dev/$devname ost/\2\1
UNREGISTER ^dvb/card([0-9]+)/([^/0-9]*)[0-9]+$ CFUNCTION GLOBAL unlink
ost/\2\1
# Include package-generated files from /etc/devfs/conf.d
OPTIONAL_INCLUDE /etc/devfs/conf.d/
# Configuration of scsi disks (iPod)
REGISTER scsi/.*/\(disc\|part[0-9]*\) PERMISSIONS root.sda 0660
# Make the serial port be R/W. Neccessary for at least irattach.
# REGISTER ^tts/.* PERMISSIONS root.uucp 0660
REGISTER ^ttyS1 PERMISSIONS root.irda 0660
LOOKUP ^ttyS1 PERMISSIONS root.irda 0660
# Configuration of infrared port: to be read and writable by group irda
REGISTER ^ircomm[^/]* PERMISSIONS root.irda 0660
LOOKUP ^(ttySHSF|modem$) EXECUTE nice /sbin/modprobe hsfserial
REGISTER ^ttySHSF0$ CFUNCTION GLOBAL symlink $devname modem
UNREGISTER ^ttySHSF0$ CFUNCTION GLOBAL unlink modem
--
http://www.linearity.org/turtle/contact.html
``If we're an arrogant nation, they'll resent us.
If we're a humble nation but strong, they'll welcome us.''--George W. Bush
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com