| Summary: | RpmDrake fails to start for a sudo-able user.` | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Krzysztof Setlak <bigfoot19> |
| Component: | RPM Packages | Assignee: | Thierry Vignaud <thierry.vignaud> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | Normal | CC: | davidwhodgins, lovaren, marja11, nic |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | drakxtools-17.19-1.mga6.x86_64 | CVE: | |
| Status comment: | |||
| Attachments: | Last 100 lines of log (journalctl) immediately after trying to start drakrpm. | ||
|
Description
Krzysztof Setlak
2016-02-28 20:09:53 CET
I am trying to understand your report. rpmdrake and drakxtools are different packages. your issue erasing drakxtools can be easily explained. The erase option with rpm doesn't take a filename input but rather a package name input. rpm is trying to erase the package named drakxtools-17.19-1.mga6.x86_64.rpm and can't find it as the package name is drakxtools-17.19-1.mga6.x86_64 I am running mga6 in a vm upgraded from mga5. Both mcc and drakrpm work whether through console or via gnome menu item. However to find the launcher you need to search for drakrpm CC:
(none) =>
nic Please supply a few more details so I can exactly reproduce your report Component:
Installer =>
RPM Packages OK, I managed to find out that this problem is related to Gnome on this particular config. Maybe it will show that it's not even a bug in the OS, just a flaw of this particular instance. 1) The problem does not occur in Cinnamon, only Gnome. 2) The problem only occurs on this machine - I tested it on an old x86 laptop and MCC runs fine on Gnome there. Could you please point me to a log file that could give more info on the issue? I can't seem to find the proper log anywhere... Perhaps you could describe the issue in more depth. Are you having the problem with mcc or drakrpm? How are you trying to the start the program? What do you mean by a Gnome3 launcher? OK, I'll start with the launcher. What I mean is the icon on the side panel that is in the system by default: http://s10.postimg.org/8zgu7jnnt/panel.png 4th icon from the top. When I click it, nothing happens. Regarding the package, there is some confusion, I mean drakrpm (I thought it's mcc, but when I investigated the launcher using Alacarte, it showed that it points to drakrpm executable): http://s27.postimg.org/eydsyusbn/alacarte.png Thanks it is now clearer. Please click on the launcher and then open a terminal window and run 'sudo journalctl -n 100 > journal.log' . Then upload the log as an attachment. OK, did it, seems like the problem is described by these lines: Mar 02 06:38:09 localhost polkitd[1106]: Operator of unix-session:c45 successfully authenticated as unix-user:amarok to gain TEMPORARY authorization for action org.mageia.drakconf.pkexec.run for unix-process:4687:12454 [/usr/bin/perl /usr/bin/drakconf] (owned by unix-user:amarok) Mar 02 06:38:09 localhost pkexec[4692]: pam_systemd(polkit-1:session): Cannot create session: Already running in a session Mar 02 06:38:09 localhost pkexec[4692]: pam_tcb(polkit-1:session): Session opened for root by (uid=1000) Mar 02 06:38:09 localhost pkexec[4692]: amarok: Executing command [USER=root] [TTY=unknown] [CWD=/home/amarok] [COMMAND=/usr/libexec/drakconf] Mar 02 06:38:09 localhost drakconf[4692]: ### Program is starting ### Mar 02 06:38:09 localhost mageia-drakconf.desktop[4687]: No protocol specified Mar 02 06:38:11 localhost sudo[4700]: pam_tcb(sudo:auth): Authentication passed for amarok from (uid=1000) Full log in attachment. Created attachment 7507 [details]
Last 100 lines of log (journalctl) immediately after trying to start drakrpm.
(In reply to Krzysztof Setlak from comment #7) > OK, did it, seems like the problem is described by these lines: > > Mar 02 06:38:09 localhost polkitd[1106]: Operator of unix-session:c45 > successfully authenticated as unix-user:amarok to gain TEMPORARY > authorization for action org.mageia.drakconf.pkexec.run for > unix-process:4687:12454 [/usr/bin/perl /usr/bin/drakconf] (owned by > unix-user:amarok) > Mar 02 06:38:09 localhost pkexec[4692]: pam_systemd(polkit-1:session): > Cannot create session: Already running in a session > Mar 02 06:38:09 localhost pkexec[4692]: pam_tcb(polkit-1:session): Session > opened for root by (uid=1000) > Mar 02 06:38:09 localhost pkexec[4692]: amarok: Executing command > [USER=root] [TTY=unknown] [CWD=/home/amarok] [COMMAND=/usr/libexec/drakconf] > Mar 02 06:38:09 localhost drakconf[4692]: ### Program is starting ### > Mar 02 06:38:09 localhost mageia-drakconf.desktop[4687]: No protocol > specified > Mar 02 06:38:11 localhost sudo[4700]: pam_tcb(sudo:auth): Authentication > passed for amarok from (uid=1000) > > > Full log in attachment. @ Thierry What can cause (assuming that's the problem) "mageia-drakconf.desktop[4687]: No protocol specified"? Assigning to all packagers collectively, since Assignee:
bugsquad =>
thierry.vignaud Should this be closed? This problem and its bugreport is way old and we've released a couple of Mageia versions since 2016. Reporter, do you still experience this issue in the stable version of Mageia 8? CC:
(none) =>
lovaren I don't use Mageia since a long time. This bug is over 5 years old - I think the only reasonable thing to do is to close it as expired... Thanks. Closing as fixed since it's been working in Mageia for quite a few releases. Resolution:
(none) =>
FIXED |