Bug 1090153
| Summary: | consolehelper applications can't be launched from the gnome-shell menu | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Ray Strode [halfline] <rstrode> | ||||
| Component: | gdm | Assignee: | Ray Strode [halfline] <rstrode> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Desktop QE <desktop-qa-list> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 7.0 | CC: | duffy, jsefler, vbenes | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | gdm-3.8.4-27.el7 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-06-13 12:55:31 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Ray Strode [halfline]
2014-04-22 18:14:38 UTC
Fixing this, turns out to be pretty straight forward: 1) revert the patch added in bug 1080153 2) add --with-default-path="/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin" to the ./configure invocation Since we're so far along in the RHEL 7 process and time is of the essence, I've built those changes now (piggy backing off the acks from bug 1080153), so they'll end up in tonight's nightly. I'm holding off on added the build to the errata report until a final call one what our next move is going to be is made. This didn't make last night's compose after all because of a mistake on my part. The fix is built now as gdm-3.8.4-27.el7 though. I'm going to hold off adding it to the errata report and thus hold off on it getting into RC3 (assuming there will be an RC3) until I get sign off from the blocker meeting. How to test: 1) log into gnome from gdm 2) run subscription manager from the menus 3) with gdm-3.8.4-25.el7 it won't start, with gdm-3.8.4-27.el7 it should start 4) run gnome-terminal from the menus 5) echo $PATH 6) PATH should have at least: /usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin in it (in that order with bin before sbin one more note on testing, it looks like packages aren't getting automatically tagged into nightly composes anymore so QE will need to manually pull it down from here: http://qafiler.bos.redhat.com/redhat/brewroot/packages/gdm/3.8.4/27.el7/ we're hoping to get preverification from QE before pulling it into RC3 Can you give this a try jsefler? Created attachment 889893 [details] pre-verification of gdm-3.8.4-27 for subscription-manager-gui With the following RC2 compose installed... http://download.devel.redhat.com/rel-eng/RHEL-7.0-RC-2.0/compose/Server/x86_64/os/ [qe-admin@jsefler-rc7 ~] rpm -q gdm gdm-libs gdm-3.8.4-25.el7.x86_64 gdm-libs-3.8.4-25.el7.x86_64 [qe-admin@jsefler-rc7 ~]$ echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/home/qe-admin/.local/bin:/home/qe-admin/bin [qe-admin@jsefler-rc7 ~]$ ls -l `which subscription-manager-gui` -rwxr-xr-x. 1 root root 6944 Mar 25 13:19 /usr/sbin/subscription-manager-gui [qe-admin@jsefler-rc7 ~]$ subscription-manager-gui Error: must be root to execute ^^ In this scenario, subscription-manager-gui is working properly. HOWEVER, the problem is that we are missing the consolehelper layer which will prompt the user for root credentials, remember it, and then allow the user to run the subscription-manager tools. The major consequence of this bug is the lack of feedback when attempting to launch subscription-manager-gui from the desktop menu path Applications / System Tools / Red Hat Subscription Manager. It appears as a NO-OP. Pre-verifying halfline's fix... [qe-admin@jsefler-rc7 ~]$ rpm -q gdm gdm-libs gdm-3.8.4-27.el7.x86_64 gdm-libs-3.8.4-27.el7.x86_64 [qe-admin@jsefler-rc7 ~]$ echo $PATH /usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/qe-admin/.local/bin:/home/qe-admin/bin [qe-admin@jsefler-rc7 ~]$ ls -l `which subscription-manager-gui` lrwxrwxrwx. 1 root root 22 Apr 25 11:58 /usr/bin/subscription-manager-gui -> /usr/bin/consolehelper [qe-admin@jsefler-rc7 ~]$ subscription-manager-gui At this point, root credentials are interactively prompted for by the consolehelper, remembered, and subscription-manager-gui launches as expected. All the subscription-manager-gui, subscription-manager, and rhsm-icon functions are now accessible. Please include gdm-3.8.4-27 and gdm-libs-3.8.4-27 in the next RHEL70 Release Candidate. (In reply to Ray Strode [halfline] from comment #3) > How to test: > > 1) log into gnome from gdm > 2) run subscription manager from the menus > 3) with gdm-3.8.4-25.el7 it won't start, with gdm-3.8.4-27.el7 it should > start > 4) run gnome-terminal from the menus > 5) echo $PATH > 6) PATH should have at least: > > /usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin > > in it (in that order with bin before sbin all steps work as expected, s-m starts, PATH is set correctly. A workaround for Red Hat Subscription Manager for those who have RHEL-7.0-RC-2.0 installed is to... 1) open a gnome-terminal from the menus 2) sudo subscription-manager-gui or 2) su - root 3) subscription-manager-gui given the root password, this should successfully launch the subscription-manager-gui tool. This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |