k3bsetup2 missing in edgy (0.12.16-1ubuntu2)

Bug #57087 reported by mvandeg
20
Affects Status Importance Assigned to Milestone
k3b (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

With k3b installed under gnome, k3bsetup complains that k3bsetup2 is missing:

kcmshell (kdelibs): WARNING: Could not find module 'k3bsetup2'.

This message is only visible when running k3bsetup in a shell. After this message, k3bsetup exits.

Revision history for this message
Simon Law (sfllaw) wrote :

I thought k3bsetup isn't required any more.

If this isn't the case, please respond to this bug.

Changed in k3b:
status: Unconfirmed → Rejected
Revision history for this message
mvandeg (mvandegiessen) wrote : Re: [Bug 57087] Re: k3bsetup2 missing in edgy (0.12.16-1ubuntu2)

When I start k3b, it says that i need to solve a problem (root
permissions) by running k3bsetup2. So it still seems to be needed.

Revision history for this message
Kenny Duffus (kduffus) wrote :

k3bsetup2 is not supposed to be run like that

the other part however is Bug #57105 which will be fixed soon

Revision history for this message
Anthony Mercatante (tonio) wrote :

can you try to launch "kmshell k3bsetup2" as root, and tell me what about please ;)

Revision history for this message
mvandeg (mvandegiessen) wrote :

I suppose you meant "kcmshell k3bsetup2", kmshell is an unknown
command. Running this gives the same result:

kcmshell (kdelibs): WARNING: Could not find module 'k3bsetup2'.

Which is not surprising, since the script "k3bsetup" is:

#!/bin/sh
#
# $Id: k3bsetup 460257 2005-09-13 07:35:27Z trueg $
# Copyright (C) 2003 Sebastian Trueg <email address hidden>
#
# This file is part of the K3b project.
# Copyright (C) 1998-2003 Sebastian Trueg <email address hidden>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# See the file "COPYING" for the exact licensing terms.
#

#TODO: if kdesu not found and not currently root use kdialog to
display an error message

kdesu kcmshell k3bsetup2

On 8/21/06, Anthony Mercatante <email address hidden> wrote:
> can you try to launch "kmshell k3bsetup2" as root, and tell me what
> about please ;)
>
> --
> k3bsetup2 missing in edgy (0.12.16-1ubuntu2)
> https://launchpad.net/bugs/57087
>

Kenny Duffus (kduffus)
Changed in k3b:
importance: Untriaged → Medium
status: Rejected → Unconfirmed
Revision history for this message
Kenny Duffus (kduffus) wrote :

do you still have this problem with 0.12.17?

Changed in k3b:
assignee: nobody → kduffus
status: Unconfirmed → Needs Info
Revision history for this message
Kenny Duffus (kduffus) wrote :

did you mean by changing the bug title that it is fixed?

Revision history for this message
Greenfrognet (greenfrognet) wrote :

hi, i have the same problem, the same result with the command

dino@skynet:~$ kmshell k3bsetup2
bash: kmshell: command not found
dino@skynet:~$ kdesu kcmshell k3bsetup2
X Error: BadDevice, invalid or uninitialized input device 169
  Major opcode: 147
  Minor opcode: 3
  Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 169
  Major opcode: 147
  Minor opcode: 3
  Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 169
  Major opcode: 147
  Minor opcode: 3
  Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 169
  Major opcode: 147
  Minor opcode: 3
  Resource id: 0x0
Failed to open device
Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
kcmshell (kdelibs): WARNING: Could not find module 'k3bsetup2'.
dino@skynet:~$

thanks to fixed

Revision history for this message
davidm (dmiller-judcom) wrote :

Possible fix at the bottom...but first details.

fresh install of edgy.
then did:
apt-get install k3b
k3b

created a new CD project, clicked burn.
then got the permissions error in k3b
"cdrecord has no permission to open the device. you may use k3bsetup to solve the problem"

running "sudo k3bsetup" gives me the same error message as the other comments.
kcmshell (kdelibs): WARNING: Could not find module 'k3bsetup2'.

I got around this problem by installing "kcontrol". which is one of the recommends for k3b.

k3bsetup still didnt fix permissions, but thats a different bug report:)

Revision history for this message
Kenny Duffus (kduffus) wrote :

@davidm

are you in the cdrom group? (look for your user name in the cdrom line of /etc/group)

k3bsetup is not required in kubuntu as permission to burn cds is done via groups and there is no need to use setuid programs

Revision history for this message
davidm (dmiller-judcom) wrote :

yes, In the cdrom group.
Using ubuntu not kubuntu.

in the K3b debugging output window I get the following

Error trying to open /dev/sg0 exclusively (Permission denied)... retrying in 1 second.
/usr/bin/X11/cdrecord: Permission denied. Cannot open '/dev/sg0'. Cannot open SCSI driver.

even though the device is set to /dev/scd0 in the k3b options.
device perms:
$ ls -la /dev/scd0
brw-rw---- 1 root cdrom 11, 0 2007-01-29 16:21 /dev/scd0
$ ls -la /dev/sg0
crw-rw---- 1 root root 21, 0 2007-01-29 16:21 /dev/sg0

after I change /dev/sg0 to the same group as /dev/scd0, I get the following error in k3b's debugging window:

/usr/bin/X11/cdrecord: Warning: Running on Linux-2.6.17-10-generic
/usr/bin/X11/cdrecord: There are unsettled issues with Linux-2.5 and newer.
/usr/bin/X11/cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
Linux sg driver version: 3.5.33
Error: Cannot gain SYS_RAWIO capability.Is cdrecord installed SUID root?
: Operation not permitted
/usr/bin/X11/cdrecord: Warning: using inofficial version of libscg (debian-0.8debian2 '@(#)scsitransp.c 1.91 04/06/17 Copyright 1988,1995,2000-2004 J. Schilling').
SCSI buffer size: 64512
/usr/bin/X11/cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code.
/usr/bin/X11/cdrecord: See /usr/share/doc/cdrecord/README.DVD.Debian for details on DVD support.
Cdrecord-Clone 2.01.01a03 (i686-pc-linux-gnu) Copyright (C) 1995-2005 Joerg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
      and thus may have bugs that are not present in the original version.
      Please send bug reports and support requests to <email address hidden>.
      The original author should not be bothered with problems of this version.
TOC Type: 3 = CD-ROM XA mode 2
Using libscg version 'debian-0.8debian2'.
Driveropts: 'burnfree'
atapi: 1
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'HL-DT-ST'
Identifikation : 'DVD-RAM GSA-H30N'
Revision : '1.04'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0009
Profile: 0x0012
Profile: 0x002B
Profile: 0x001B
Profile: 0x001A
Profile: 0x0016
Profile: 0x0015
Profile: 0x0014
Profile: 0x0013
Profile: 0x0011
Profile: 0x0010
Profile: 0x000A
Profile: 0x0009 (current)
Profile: 0x0008
Profile: 0x0002
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes:
Drive buf size : 1114112 = 1088 KB
Drive DMA Speed: 88372 kB/s 502x CD 63x DVD
FIFO size : 4194304 = 4096 KB
/usr/bin/X11/cdrecord: Drive does not support TAO recording.
/usr/bin/X11/cdrecord: Illegal write mode for this drive.

Revision history for this message
Mario Đanić (mario-danic) wrote :

Closing, as k3bsetup isn't meant to be run like that.

Changed in k3b:
assignee: kduffus → nobody
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.