Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113384 - app-cdr/gnomebaker-0.5.0 does not burn when run from regular user
Summary: app-cdr/gnomebaker-0.5.0 does not burn when run from regular user
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Optical Media project
URL:
Whiteboard:
Keywords:
: 113387 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-11-23 11:49 UTC by Amit Kotlovski
Modified: 2005-11-25 16:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Amit Kotlovski 2005-11-23 11:49:28 UTC
When i run gnomebaker from the regular user it does not burn cds, and instead it
gives the following error:

cdrecord: Warning: Running on Linux-2.6.11-gentoo-r6
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2).
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: '/dev/hda'
devname: '/dev/hda'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.


Reproducible: Always
Steps to Reproduce:
1. emerge app-cdr/gnomebaker-0.5.0
2. run gnomebaker
3. blank cdrw
4. add file to be burnt
5. burn the cdrw
Actual Results:  
burning fails with the following error:

cdrecord: Warning: Running on Linux-2.6.11-gentoo-r6
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2).
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: '/dev/hda'
devname: '/dev/hda'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.


Expected Results:  
burn successfully

Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.11-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -ftracer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=athlon64 -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://mirror.hamakor.org.il/gentoo-portage"
USE="amd64 X aac alsa audiofile avi bash-completion berkdb bidi bitmap-fonts
bzip2 cdda cddb cdio cdr cpudetection crypt crypto cups curl directfb dts dvd
dvdr emboss encode esd exif expat fam ffmpeg firefox flac font-server foomaticdb
fortran gdbm gif glut gnome gpm gstreamer gtk gtk2 hal imagemagick imlib java
jpeg junit lcms libwww lirc lzw lzw-tiff mad mbrola mikmod mmext mng motif mp3
mpeg ncurses network nls nptl nptlonly nsplugin nvidia ogg oggvorbis opengl pam
pdflib perl png python quicktime readline samba sdl slang speex spell ssl stream
tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts udev unicode
usb userlocales v4l vorbis wxwindows xine xml2 xmms xpm xv xvid zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Luis Medinas (RETIRED) gentoo-dev 2005-11-23 11:54:01 UTC
Next time assign the bugs to the correct herd if you don't know how to do that
just don't do it.

Gnomebaker belongs to media-optical not to gnome :)
Comment 2 Luis Medinas (RETIRED) gentoo-dev 2005-11-23 12:03:39 UTC
are you sure cdrtools is suid ? Add your user to cdrw (hal too if you use it) if
that doesn't work try again with a newer kernel.
Comment 3 Luis Medinas (RETIRED) gentoo-dev 2005-11-23 12:08:42 UTC
*** Bug 113387 has been marked as a duplicate of this bug. ***
Comment 4 Luis Medinas (RETIRED) gentoo-dev 2005-11-23 19:27:49 UTC
well i have to close as wontfix because mplayer-bin isn't a replacement for
mplayer so mplayer-bin can't be fixed otherwise will block mplayer. Hacking
ogmrip to use mplayer-bin isn't a good idea too. So i wontfix this bug.
Comment 5 Luis Medinas (RETIRED) gentoo-dev 2005-11-23 19:28:37 UTC
wrong bug i need sleep. Sorry
Comment 6 Amit Kotlovski 2005-11-24 11:09:07 UTC
(In reply to comment #2)
> are you sure cdrtools is suid ? Add your user to cdrw (hal too if you use it) if
> that doesn't work try again with a newer kernel.

i made sure my user is in the group the /usr/bin/cdr* belong to. however, i
think  the cdr* utils are not suid:

$ ls -la /usr/bin/cdr*
-rwxr-x---  1 root burning 951822 Oct 31 19:59 /usr/bin/cdrdao
-rwxr-x---  1 root burning 366048 Nov 23 22:16 /usr/bin/cdrecord

do you suggest i change it to suid root? i re-emerged them, and only changed the
group, and i think it is not the out-of-the-box standard to make them suid root.
would you recommend it?
Comment 7 Luis Medinas (RETIRED) gentoo-dev 2005-11-25 16:27:40 UTC
just suid it and it should be ok. Closing