Bug 11418 - drakdisk "binary" and several others in drakxtools are not polkit wrapped properly (polkit update)
Summary: drakdisk "binary" and several others in drakxtools are not polkit wrapped pro...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Colin Guthrie
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-09 17:07 CEST by nikos papadopoulos
Modified: 2014-01-21 11:16 CET (History)
2 users (show)

See Also:
Source RPM: drakdisk
CVE:
Status comment:


Attachments
Mageia Bug Report Tool (398 bytes, text/plain)
2013-10-09 23:13 CEST, nikos papadopoulos
Details

Description nikos papadopoulos 2013-10-09 17:07:04 CEST
Description of problem:
After running the live DVD, and entering Gnome,
you will need to be root to start drakdisk.

Giving " /sbin/drakdisk " to the terminal, will reply something about not having privileges.

If I remember correctly, I had to give the following command, to run it
   su root -c /sbin/drakdisk

I guess that this is not done on purpose.

Version-Release number of selected component (if applicable):
- Mageia 4, Alpha 3, LiveDVD, Gnome, 32bit, 1.4GB iso
- Install from a memory card to a Lenovo netbook


How reproducible:
- Every time

Steps to Reproduce:

Reproducible: 

Steps to Reproduce:
nikos papadopoulos 2013-10-09 17:07:29 CEST

Summary: drakdisk runs only as root in Gnome Live Mgeia 4 => drakdisk runs only as root in Gnome Live Mageia 4

Comment 1 nikos papadopoulos 2013-10-09 17:18:57 CEST
Sorry... correction:
Not...
   - Install from a memory card to a Lenovo netbook
but...
   - Run as Live from a memory card on a Lenovo netbook
Comment 2 Manuel Hiebel 2013-10-09 18:56:53 CEST
same as mga3.

what was the exact message ? no popup was coming ?
Comment 3 nikos papadopoulos 2013-10-09 23:13:37 CEST
Created attachment 4424 [details]
Mageia Bug Report Tool

When running the command " /sbin/drakdisk "
drakdisk tried to start and then it immediately crashed.
This is the report from Mageia Bug Report Tool.
Comment 4 Manuel Hiebel 2013-10-10 21:35:13 CEST
ok "you must be root to run this program at /usr/lib/libDrakX/common.pm line 387."

(no need to make an attachment for so little text ;) )

CC: (none) => mageia, thierry.vignaud
Summary: drakdisk runs only as root in Gnome Live Mageia 4 => drakdisk runs only as root in Gnome Live Mageia 4 (polkit update)
Source RPM: (none) => drakdisk

Comment 5 Thierry Vignaud 2013-10-11 07:18:43 CEST
side-effect/regression of polkit conversion

Assignee: bugsquad => mageia

Comment 6 Colin Guthrie 2013-10-11 10:25:45 CEST
So it seems that several binaries in drakxtools are not wrapped up properly. Seems an oversight from me when converting it. Seems only some tools had direct consolehelper integration before (i.e. the ones I converted) and the other tools worked differently to get root and this is the fallout.

I'll convert the remainder over to polkit so everything works the same way.

Summary: drakdisk runs only as root in Gnome Live Mageia 4 (polkit update) => drakdisk "binary" and several others in drakxtools are not polkit wrapped properly (polkit update)

Comment 7 Colin Guthrie 2013-10-11 12:16:15 CEST
I think this is now fixed in git, but it's kinda hard to keep track of all the binaries used../
Comment 8 Colin Guthrie 2014-01-21 11:16:57 CET
Closing as per above. It seems to work fine now.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


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