Draktools does not start for user, but for root it does

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

Draktools does not start for user, but for root it does

Postby petos » Sep 11th, '11, 00:43

Hello,
I have this problem: after some update (really don't know what) I can not run any drak-tool under user. If I run sudo or switch to root, everything is working fine. I can not find why, because it does not provide any error message in console... Strange is, that even utilities avaible for common user, like drakuser or update windows doesn't appear.
Have anyone met this already? I was looking for the solution in bugs.mageia, here but I was not able to find anything.

Thanks Petos
petos
 
Posts: 5
Joined: Mar 29th, '11, 22:05
Location: Brno, Czech Rep.

Re: Draktools does not start for user, but for root it does

Postby doktor5000 » Sep 11th, '11, 10:36

Well, none of those tools are executable by a user in a default install. F.ex. when you run drakuser as normal user,
a popup will appear asking you for the root password (the popup is from consolehelper-gtk).
Did you change the default authentification settings for the draktools?

BTW: what draktool would "update windows" be? One that replaces a windows install with Mageia? :)
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18055
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Draktools does not start for user, but for root it does

Postby Akien » Sep 11th, '11, 11:54

doktor5000 wrote:BTW: what draktool would "update windows" be? One that replaces a windows install with Mageia? :)

I guess that's mgaupdate :)

Still, I think is problem is not user right but that no windows are displayed.
Last edited by Akien on Sep 11th, '11, 15:22, edited 1 time in total.
Image
Co-leader of Mageia's packaging and development team (dev).
List of packages I maintain.
User avatar
Akien
 
Posts: 171
Joined: Jun 5th, '11, 22:54
Location: Brunswick, Germany

Re: Draktools does not start for user, but for root it does

Postby petos » Sep 11th, '11, 12:03

draktool = /usr/bin/drak* ;)

I mean ANY draktool, neither draknetcenter or drakrpm-update, that should be runable under user account. Now I can see, that /usr/bin/consolehelper had wrong permissions: rwsr-sr-s, but it should have rwxr-xr-x. As I said before, I don't know, what program changed the permissions. :/ When I fixed permissions, everything was ok.
petos
 
Posts: 5
Joined: Mar 29th, '11, 22:05
Location: Brno, Czech Rep.

Re: Draktools does not start for user, but for root it does

Postby doktor5000 » Sep 11th, '11, 14:39

Could you please show the output of
Code: Select all
rpm -V usermode-consoleonly usermode
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18055
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Draktools does not start for user, but for root it does

Postby petos » Sep 12th, '11, 07:43

Yes, but it gives me no output.
petos
 
Posts: 5
Joined: Mar 29th, '11, 22:05
Location: Brno, Czech Rep.

Re: Draktools does not start for user, but for root it does

Postby doktor5000 » Sep 12th, '11, 09:39

OK, that's good, it means nothing has changed since you installed both packages. -V means --verify
Neither size nor permissions, nor content (checked by md5sum of each file) nothing has changed.

So you changed the permissions back to the defaults. Would be a good question what broke them in the first place ...
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18055
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Draktools does not start for user, but for root it does

Postby petos » Sep 14th, '11, 11:05

doktor5000 wrote:Would be a good question what broke them in the first place ...

Yes, it would be. At least if some one would have the same issue, he/she now knows, how to fix it. Thanks Doc. ;)
petos
 
Posts: 5
Joined: Mar 29th, '11, 22:05
Location: Brno, Czech Rep.


Return to Advanced support

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron