[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

xmcd_2.2-4.deb problems



Howdy...

The current hamm xmcd package seems to not like running on my machine.
First, it complains about having insufficient privlidges:

overmind:/temple/sw/linux/debian ] /usr/X11R6/bin/xmcd xmcd Fatal Error:
Xmcd binary permissions error: It should be setuid root.  Please have
your system administrator correct this.

It's setgid cdrom, and /dev/scd0 is owned by group cdrom, so it should
have sufficient permissions to read the device:

overmind:/temple/sw/linux/debian ] ls -l /usr/X11R6/bin/xmcd
-rwxr-sr-x   1 root     cdrom      230572 Oct 13 08:12 /usr/X11R6/bin/xmcd

overmind:/temple/sw/linux/debian ] ls -l /dev/scd0
brw-rw----   1 root     cdrom     11,   0 Dec 19  1996 /dev/scd0

I'm also in group cdrom, which shouldn't matter since the binary is
setgid:

overmind:/temple/sw/linux/debian ] grep cdrom /etc/group
cdrom:*:24:peewee
overmind:/temple/sw/linux/debian ] ypcat group | grep cdrom
cdrom:*:24:peewee

Setting the binary +s allowed it to run, and start sucking all available
memory:

overmind:/var/adm ] ps -auxww | grep xmcd
peewee   28825  0.0  0.5   836   360  p0 S     19:17   0:00 grep xmcd 
root     28809 43.3 50.7 64088 32116  p1 D     19:16   0:24 /usr/X11R6/bin/xmcd

If it matters, it was attempting to do a CDDB lookup at the time.

PeeWee

-- 
"Learn to knit for all I care, but find something rhythmical to do before bed" 
-Amanda Robinson -- personal: peewee@scc.mi.org  http://www.scc.mi.org/peewee/
work: jwright@us.checkpoint.com finger peewee@msen.com for pgp2.6.2 public key


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: