Bug 32241 - draksound crash if launched as user
Summary: draksound crash if launched as user
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-05 07:37 CEST by david Cossé
Modified: 2023-09-05 18:37 CEST (History)
2 users (show)

See Also:
Source RPM: drakxtools-curses-18.65-1.mga9
CVE:
Status comment:


Attachments
It append when I launch it throw thelauncher (56.14 KB, image/png)
2023-09-05 11:29 CEST, david Cossé
Details

Description david Cossé 2023-09-05 07:37:23 CEST
The "draksound" program crashed. Drakbug-18.65 caught it.

Exception au lancement

you must be root to run this program at /usr/lib/libDrakX/common.pm line 596.
Perl's trace:
drakbug::bug_handler() called from /usr/lib/libDrakX/common.pm:596
common::require_root_capability() called from /usr/lib/libDrakX/interactive.pm:103
interactive::vnew() called from /usr/sbin/draksound:30

Theme name: Breeze
Kernel version = 6.4.9-desktop-4.mga9
Distribution=Mageia release 9 (Official) for x86_64
CPU=AMD Ryzen 7 5700U with Radeon Graphics
Comment 1 Morgan Leijström 2023-09-05 11:02:10 CEST
Thank you for the report.

You mean that if you launch draksound as normal user, it crash?
Does it crash immediately, or when?

Does it work OK if you launch it as root?

CC: (none) => fri

Comment 2 david Cossé 2023-09-05 11:29:39 CEST
Created attachment 13971 [details]
It append when I launch it throw thelauncher

It append when I launch it throw thelauncher
Comment 3 Morgan Leijström 2023-09-05 14:57:19 CEST
Thank you for this report!

I can reproduce it the same here also on Plasma, Swedish.
It also crash if launched as user from Konsole.

Assigning to tools maintainers.


The workaround is to use Mageia Control Center, section "Hardware", item "Sound Configuration", which launches draksound.

Or switch to root or use sudo to launch draksound.

I think it this is high prio.
Is it enough for errata?
I think we do write more than one place to use draksound i.e for PipeWire.

Summary: draksound crashed => draksound crash if launched as user
Assignee: bugsquad => mageiatools
Priority: Normal => High

Comment 4 Martin Whitaker 2023-09-05 16:51:45 CEST
draksound does not have - and, as far as I can tell, never has had - a wrapper to allow it to be run by a normal user. As the executable is in /usr/sbin, and as it is the same in Mageia 8, I don't think this is an errata item.

Seems like an enhancement request to me.

CC: (none) => mageia

Comment 5 Morgan Leijström 2023-09-05 18:37:51 CEST
Right.
I could not find a place in wiki where we mention draksound without mentioning MCC.

Priority: High => Normal
Version: 9 => Cauldron
Severity: normal => enhancement


Note You need to log in before you can comment on or make changes to this bug.