|
Bugzilla – Full Text Bug Listing |
| Summary: | YaST2 module list from command line invocation | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.3 | Reporter: | Andrea Turrini <andrea.turrini> |
| Component: | YaST2 | Assignee: | Jiri Srain <jsrain> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Critical | ||
| Priority: | P5 - None | CC: | andrea, aschnell, dvaleev, jdelvare, msvec |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | openSUSE 11.3 | ||
| Whiteboard: | maint:released:11.3:38094 | ||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Bug Depends on: | |||
| Bug Blocks: | 540627 | ||
| Deadline: | 2011-01-24 | ||
| Attachments: | suggested patch for fix the bug | ||
|
Description
Andrea Turrini
2010-07-13 10:36:27 UTC
all .desktop files should have xdg-su -c because of bug#540627 i don't really know how the tab completition works, but that need to be fixed not the .desktop files (actually we have to identify witch ones miss xdg-su and add it) giving a look to the script this is the function that need to be fixed:
listmodules()
{
list=`/bin/ls -1 $YAST_PREFIX/share/applications/YaST2/*.desktop 2>/dev/null`
if [ -z "$list" ] ; then
echo "No modules installed"
else
echo "Available modules:"
echo
grep -h "Exec=/sbin/yast2 " $list | \
sed 's|Exec=/sbin/yast2 \([^ ]\+\)\( .*\)\?|\1|' | \
sort -u
fi
}
sorry for spamming, i had to write everything in one txt, i really believe that instead to check "Exec" we should check X-SuSE-YaST-Call= now the "broken" script can be used to find .desktop files that miss xdg-su call and fix them Created attachment 375586 [details]
suggested patch for fix the bug
attached suggested patch to fix the issue, as you can see use "X-SuSE-YaST-Call="
instead of the exec. this is imho a most intelligent way to work, because it is not effected by changes in exec command (that in the future may be different) and instead use a line that is always supposed to be there.
the add-on module for example have the line:
X-SuSE-YaST-Call=add-on
sw_single has
X-SuSE-YaST-Call=sw_single
and so on
*** Bug 622855 has been marked as a duplicate of this bug. *** re comment#4: no, it wasn't me. But I can commit suggested patch (seems it works fine on my machine) patch applied into factory thanks to Andrea Florio any possibility to have it into the 11.3 as an update? reopen for maintenance update submitted in request id 43371 *** Bug 636622 has been marked as a duplicate of this bug. *** the fix never arrived to 11.3 because it didn't followed maintenance process... beginning it now. Jiri, could you please submit a fixed yast2 package to openSUSE:11.3:Update:Test? The SWAMPID for this issue is 37957. This issue was rated as low. Please submit fixed packages until 2011-01-24. Also create a patchinfo file using this link: https://swamp.suse.de/webswamp/wf/37957 Created submit request id 57284 Update released for: yast2, yast2-devel-doc Products: openSUSE 11.3 (i586, x86_64) This is an autogenerated message for OBS integration: This bug (621848) was mentioned in https://build.opensuse.org/request/show/43324 Factory / yast2 https://build.opensuse.org/request/show/57284 11.3:Test / yast2 |