From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913 Description of problem: autorun -v exits with: No more devices to check. Presumably /etc/fstab has changed sufficiently to break it. Version-Release number of selected component (if applicable): autorun-3.14-1 How reproducible: Always Steps to Reproduce: 1. Install fc3 2. Try to run autorun 3. Additional info:
From man autorun : To allow an ordinary user to do this you have to add the op- tions user,exec in /etc/fstab to the CDROMs you want to use. With HAL we have : pamconsole,ro,exec,noauto,managed so you need to add user with something like this : <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --> <deviceinfo version="0.2"> <device> <match key="storage.drive_type" string="cdrom"> <merge key="storage.policy.mount_option.user" type="bool">true</merge> </match> </device> </deviceinfo> in /usr/share/hal/fdi/95userpolicy/storage-policy.fdi
The above changes hal to satisfy autorun. We could also change autorun to satisfy the hal changes. It seems to me that the "pamconsole" option has essentially replaced "owner". Perhaps autorun could be altered to recognized that option: --- autorun.cc 2004-01-29 03:13:56.000000000 -0700 +++ autorun.cc.hal 2004-11-19 09:58:32.351219817 -0700 @@ -165,7 +165,8 @@ continue; stat(mep->mnt_fsname, &sbuf); - if (((::strstr(mep->mnt_opts, "owner") && + if ((((::strstr(mep->mnt_opts, "owner") || + (::strstr(mep->mnt_opts, "pamconsole")) && (sbuf.st_mode & S_IRUSR)) || ::strstr(mep->mnt_opts, "user")) && (::strstr(mep->mnt_type, MNTTYPE_ISO9660) ||
Created attachment 108075 [details] Updated version of the above patch that works for me
ok, rawhide has a new version