Bug 306041
Summary: | wlassistant gives unknown error when opening in GNOME. | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jeff Makus <jeff.makus> | ||||
Component: | wlassistant | Assignee: | Tom "spot" Callaway <tcallawa> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 7 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i686 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 0.5.7-5.fc7 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-01-07 01:12:56 UTC | Type: | --- | ||||
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
Jeff Makus
2007-09-25 20:07:34 UTC
Created attachment 206001 [details]
My pam.d file for wlassist
This bug remains unresolved in the newest version, wlassistant-0.5.7-4.fc8, but I think some clarifications to the original bug report are due. Executing, without root privilages, /usr/sbin/wlassistant on the shell command line results in a pop-up window with the error message: "Unknown error". Exactly the same happens when clicking, without root privilages, on System -> Preferences -> Wireless Assistant since the latter also executes /usr/sbin/wlassistant On the other hand, executing `wlassistant' on the command line opens up first the Wireless Assistant window, and a moment later a window saying: "You might have insufficient permissions for Wireless Assistant to function properly. Did you run it using 'sudo'?" Just hit `OK', or press `Enter', at this point. Note that the full path to `wlassistant' is /usr/bin/wlassistant, while /usr/sbin/wlassistant is a symbolic link to /usr/bin/consolehelper Executing /usr/sbin/wlassistant as a root seems to have the same effect as executing /usr/bin/wlassistant Thus, a probable cause of the bug is a typo in the file /usr/share/applications/fedora-wlassistant.desktop Proposed solution: change '/usr/sbin/wlassistant' to '/usr/bin/wlassistant' in that file. A temporary workaround that does not require root privilages: 1) go to System -> Preferences -> Look and Feel -> Main Menu 2) in the `Menus' pane click on System -> Preferences 3) in the `Items' pane right click on `Wireless Assistant' 4) select `Properties' 5) change '/usr/sbin/wlassistant' to '/usr/bin/wlassistant' Caveat: There was an earlier bug report https://bugzilla.redhat.com/show_bug.cgi?id=243271 about "wlassistant with sudo changing .ICE authority". I don't know how serious that can be. Neither do I know whether this still affects the newest version of Wireless Assistant. If in doubt, execute `wlassistant' or `/usr/sbin/wlassistant' as root from the command line. No, this is not correct. The /usr/sbin/wlassistant symlink is designed so that it can hook into pam, and have the user prompted for the root password, and then run with root permissions. It used to leverage pam_console for this, but that no longer works, and I apparently broke things when I made that change. I'm working on fixing this properly now, should knock all of the (filed) wlassistant bugs out. wlassistant-0.5.7-5.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update wlassistant' wlassistant-0.5.7-5.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update wlassistant' wlassistant-0.5.7-5.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report. wlassistant-0.5.7-5.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report. |