Re: cannot mount cdrom as user after fc4 to fc5 yum upgrade



Jim Cornette <fc-cornette@xxxxxxxxxxxxxx> wrote:
I installed a system with the FC4 CDs that I had. Later I upgraded the system
to FC5 via yum upgrade. I cannot mount data CDs as a regular user. The disc
will mount if mounted using mount /dev/hdc /media/cdrecorder I can then view
and deal with the content of the CD as a user. Is there a package that is new
and might not be pulled in if one upgrades the installation via yum? I
plan on releasing this computer into the hands of some regular desktop
capable users. With this problem though, the user would have to know
root password and how to work at the command line. Hopefully there is
some program that was not pulled in and it will mend all wounds.

David G. Miller wrote:
Chances are the upgrade process just rewrote your /etc/fstab file. Add the
keyword "user" or "managed" to the mount options column for the cdrecorder in
fstab. It should look something like:

/dev/hdb /media/cdrecorder auto
pamconsole,exec,noauto,user 0 0

or

/dev/hdb /media/cdrecorder auto
pamconsole,exec,noauto,managed 0 0

I think managed relies on the automounter while "user" lets the user
mount and the same user unmount the drive. User the "users" mount
option if you want to allow any user to unmount the drive even if they
weren't the user who originally mounted it. Hopefully, someone else
will chime in with how "managed" really works.

Well normally in FC5, it doesn't. "managed" used to mean that fstab-sync
could add and remove stuff at will (for example, if the CD drive was
removed from the machine).

These days it should be a combination of HAL and gnome-mount that
handles removable devices, and they won't use /etc/fstab at all. So on a
new install (or on an upgrade using the DVD) there shouldn't be any
/dev/hdb line in /etc/fstab.

What does
rpm -V udev hal hal-gnome gnome-mount
return?

James.

--
New address: james | It's fair enough for a surgeon to refuse to operate on
@aprilcottage.co.uk | someone who won't stop smoking: you've got to give the
| anaesthetist a chance to get in there.
| -- "Jeremy Hardy Speaks to the Nation", BBC Radio 4

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: cannot mount cdrom as user after fc4 to fc5 yum upgrade
    ... system to FC5 via yum upgrade. ... I cannot mount data CDs as a regular user. ... The disc will mount if mounted using mount /dev/hdc /media/cdrecorder I can then view and deal with the content of the CD as a user. ... I think managed relies on the automounter while "user" lets the user mount and the same user unmount the drive. ...
    (Fedora)
  • Preupgrade still sucks. Maybe sucks less, maybe sucks more.
    ... FC1) have been upgraded using the yum upgrade method. ... My intent was to take two of my 64 bit machines ... Forest ran preupgrade and downloaded all the packages and was ...
    (Fedora)
  • Re: Problem upgrading P630 from AIX 5.1 to 5.3
    ... Run usrchk, grpchk, and lppchk before you start your upgrade. ... problem in mount /usr or /var. ... You may have a filesystem problem OR the log may be messed up. ... I am trying to upgrade P630 from AIX 5.1 to AIX 5.3. ...
    (comp.unix.aix)
  • Re: Preupgrade still sucks. Maybe sucks less, maybe sucks more.
    ... FC1) have been upgraded using the yum upgrade method. ... Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines ...
    (Fedora)
  • Solaris 7 mounts / and /usr read-only
    ... This happened on a solaris 7 machine before and the ultimate solution was to ... upgrade to solaris8. ... The system starts to boot, appears to load a video driver (I base this on ... mount -o rw,remount /usr ...
    (comp.unix.solaris)