People,
Please tell me if I'm doing something wrong. I just want to install some
extra rpm packages from the RHEL5beta2.20061201 dvd:
(all command below running as root, sysadm_r)
bash-3.1# mount -v /dev/cdrom /mnt/cdrom
mount: you didn't specify a filesystem type for /dev/cdrom
I will try type iso9660
mount: block device /dev/cdrom is write-protected, mounting read-only
/dev/hdc on /mnt/cdrom type iso9660 (ro)
bash-3.1# ls -l /mnt/cdrom/
ls: /mnt/cdrom/: Permission denied
bash-3.1#
(the above is 'normal' as long as I remember)
bash-3.1# mount -vo context=staff_u:object_r:sysadm_tmp_t:SystemLow /dev/cdrom
/mnt/cdrom
mount: translated context 'staff_u:object_r:sysadm_tmp_t:SystemLow' to
'staff_u:object_r:sysadm_tmp_t:s0'
mount: you didn't specify a filesystem type for /dev/cdrom
I will try type iso9660
mount: block device /dev/cdrom is write-protected, mounting read-only
mount: translated context 'staff_u:object_r:sysadm_tmp_t:SystemLow' to
'staff_u:object_r:sysadm_tmp_t:s0'
mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
bash-3.1# dmesg | tail
SELinux: initialized (dev hdc, type iso9660), uses genfs_contexts
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A
SELinux: security_context_to_sid("staff_u:object_r:sysadm_tmp_t:s0")
failed for (dev hdc, type iso9660) errno=-22
Have also tried with other contexts, with the same result.
Any suggestions?
Using: 2006-12-01 refresh on an emulated qemu-i386, Klaus W's
kickstart-0.13, updated policy packages (rawhide), lspp .57 kernel
(sgrubb), updated pam packages (dwalsh)
-Klaus
--
redhat-lspp mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/redhat-lspp