Project

General

Profile

Bug #6728

Sound Juicer could not use the CD-ROM device

Added by Ben Franck over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
Start date:
2016-03-05
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

Up to date hipster.
When I insert an CDaudio and launch Sound-Juicer, I have an error popup complaining that HAL daemon is not running.

History

#1

Updated by Ben Franck over 4 years ago

$ LANG=C svcs -a | grep hal
online         Mar_01   svc:/system/hal:default

HAL seems to work.
I tried to start sound-juicer as root but same issue.

#2

Updated by Alexander Pyhalov over 4 years ago

Can't reproduce. Works when run as root.

#3

Updated by Nikola M. over 4 years ago

Confirming issue.
"Sound Juicer could not use the CD-ROM device '/dev/rdsk/c4t0d0s2' HAL daemon may not be running. "

If run as 'sudo sound-juicer', it can Not play audio , but it can grab it and record it to .ogg.

So sound-juicer works, just it can not load AudioCD as user.

$ ls -l /dev/rdsk/c4t0d0s2
lrwxrwxrwx 1 root root 53 Mar 24  2015 /dev/rdsk/c4t0d0s2 -> ../../devices/pci@0,0/pci-ide@1f,2/ide@1/sd@0,0:c,raw
$ ls -l /devices/pci@0,0/pci-ide@1f,2/ide@1/sd@0,0:c,raw
cr-------- 1 user staff 212, 130 Mar 24  2015 /devices/pci@0,0/pci-ide@1f,2/ide@1/sd@0,0:c,raw


So user can read device but sound-juicer can't find CD as user.
#4

Updated by Alexander Pyhalov over 4 years ago

open64("/dev/rdsk/c2t0d0s2", O_RDONLY|O_NONBLOCK) = 11
ioctl(11, USCSICMD, 0x08047400) Err#1 EPERM [sys_devices]

#5

Updated by Alexander Pyhalov over 4 years ago

soundjuicer delivers Desktop Removable Media User profile, but when you use pfexec with sound-juicer, you get

GConf Error: Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See http://projects.gnome.org/gconf/ for information. (Details -  1: Failed to get connection to session: Error auto-launching: Cannot spawn a message bus when setuid)

#6

Updated by Alexander Pyhalov over 4 years ago

soundjuicer doesn't deliver profile itself, only exec_attr. One more issue.

#7

Updated by Alexander Pyhalov over 4 years ago

Should be partially fixed by https://github.com/OpenIndiana/oi-userland/pull/1747 - this commit ressurects "Desktop Removable Media User" profile. We still can't switch to pfexec by default as this leads to glib warnings

#8

Updated by Alexander Pyhalov over 4 years ago

  • Subject changed from Hipster - soundjuicer and hal to Sound Juicer could not use the CD-ROM device
#9

Updated by Alexander Pyhalov over 4 years ago

  • Status changed from New to Resolved
  • Assignee set to Alexander Pyhalov

Also available in: Atom PDF