Daniel J Walsh wrote:
Jim Cornette wrote:
> Just to note that the problem that I mentioned about
> nautilus-cd-burner not working was caused by SELinux. A bug report has
> been filed on it for FC3T2.
>
> Summary: right clicking on write to cd as a regular user does not work
> past the part where the CD burner is supposed to be initialized. A
> popup box will appear and show every time that you click on it.
>
> test 1; worked through nautilus, as root (gnome-terminal, su to root,
> launch nautilus,navigate to iso image location, right click mouse and
> select "write to CD" (This works)
>
> test 2: Try to do this as regular user again, watch it fail again.
> Then run setenforce 0 in a root tty. Click on the popup selection
> again, notice the cd is initialized and a successful burn is completed.
>
> Other burning software:
> k3b did not work right as regular user, but did as root before
> investigating these failures,
>
> xcdroast started to burn a CD when initially configured as root. I
> died and is currently being investigate as to why it bailed shortly
> after launching.
>
> The default SELinux configuration is being applied to this system.
> (targeted/enforcing)
>
> Jim
>
This is almost certainly not an SELinux bug. Are you seeing any AVC
messages in the /var/log/messages file? Have you executed a setenforce
0 and tried to write the cdrom?
Dan
If xcdroast is being referred to, I tried the test originally without
running setenforce 0 before test.
Later, I tried the same thing after running setenforce 0 and recieved an
error as in attached files.
The errors were related to power cycling needed on the drives.
I have xcdroast-0.98a15-5 installed but never saw the -6 rpm for
cdroast appear. I held the files for tests post *-6 version of xcdroast.
For nautilus-cd-burner, running setenforce 0 allowed me to burn the RC2
discs. Before issuing setenforce 0 the dialog box was causing problems.
Regarding avc errors, I'll have to check for these messages. Are they
still present when running in enforcing mode?
Jim
Calling: /usr/lib/xcdroast-0.98/bin/xcdrwrap CDRECORD dev= "ATAPI:0,0,0"
gracetime=2 fs=4096k driveropts=burnfree -v -useinfo speed=12 -dao -eject -pad -data
"/media/usbdisk1/home/jim/rc2-fc3/FC3-re0908.0-i386-disc1-ftp.iso" ...
scsidev: 'ATAPI:0,0,0'
Cdrecord-Clone 2.01a38-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
devname: 'ATAPI'
Note: This version is an unofficial (modified) version with DVD support
scsibus: 0 target: 0 lun: 0
Note: and therefore may have bugs that are not present in the original.
Use of ATA is preferred over ATAPI.
Note: Please send bug reports or support requests to
http://bugzilla.redhat.com/bugzilla
Warning: Using ATA Packet interface.
Note: The author of cdrecord should not be bothered with problems in this version.
Warning: The related Linux kernel interface code seems to be unmaintained.
TOC Type: 1 = CD-ROM
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
SCSI buffer size: 64512
Driveropts: 'burnfree'
cdrecord: Cannot do inquiry for CD/DVD-Recorder.
atapi: 1
cdrecord: Invalid argument. test unit ready: scsi sendcmd: no error
CDB: 00 00 00 00 00 00
status: 0x0 (GOOD STATUS)
cmd finished after 0.000s timeout 200s
cdrecord: The unit seems to be hung and needs power cycling.
Calling: /usr/lib/xcdroast-0.98/bin/xcdrwrap CDRECORD dev= "ATAPI:0,1,0"
gracetime=2 fs=4096k driveropts=burnfree -v -useinfo speed=4 -dao -eject -pad -data
"/media/usbdisk1/home/jim/rc2-fc3/FC3-re0908.0-i386-disc1-ftp.iso" ...
scsidev: 'ATAPI:0,1,0'
Cdrecord-Clone 2.01a38-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
devname: 'ATAPI'
Note: This version is an unofficial (modified) version with DVD support
scsibus: 0 target: 1 lun: 0
Note: and therefore may have bugs that are not present in the original.
Use of ATA is preferred over ATAPI.
Note: Please send bug reports or support requests to
http://bugzilla.redhat.com/bugzilla
Warning: Using ATA Packet interface.
Note: The author of cdrecord should not be bothered with problems in this version.
Warning: The related Linux kernel interface code seems to be unmaintained.
TOC Type: 1 = CD-ROM
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
SCSI buffer size: 64512
Driveropts: 'burnfree'
cdrecord: Cannot do inquiry for CD/DVD-Recorder.
atapi: 1
cdrecord: Invalid argument. test unit ready: scsi sendcmd: no error
CDB: 00 00 00 00 00 00
status: 0x0 (GOOD STATUS)
cmd finished after 0.000s timeout 200s
cdrecord: The unit seems to be hung and needs power cycling.