[Bug 686831] New: /sbin/conf.d/SuSEconfig.glib2 fails when .desktop files contain () in their filenames
https://bugzilla.novell.com/show_bug.cgi?id=686831 https://bugzilla.novell.com/show_bug.cgi?id=686831#c0 Summary: /sbin/conf.d/SuSEconfig.glib2 fails when .desktop files contain () in their filenames Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: All OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: holger.lehmann@catworkx.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.16) Gecko/20110319 SUSE/3.6.16-0.2.1 Firefox/3.6.16 ZarafaCheck/1.1.1.20080624.110 When SuSEconfig -module glib2 is called an one has the ianywhere (Sybase) installed it fails to register the following files correctly: /usr/share/applications/ianywhere-11-Network Server (32-bit)-GNOME.desktop /usr/share/applications/ianywhere-11-Network Server (32-bit)-KDE.desktop /usr/share/applications/ianywhere-11-Network Server (64-bit)-GNOME.desktop /usr/share/applications/ianywhere-11-Network Server (64-bit)-KDE.desktop /usr/share/applications/ianywhere-11-Personal Server (32-bit)-GNOME.desktop /usr/share/applications/ianywhere-11-Personal Server (32-bit)-KDE.desktop /usr/share/applications/ianywhere-11-Personal Server (64-bit)-GNOME.desktop /usr/share/applications/ianywhere-11-Personal Server (64-bit)-KDE.desktop Giving these errors: /sbin/conf.d/SuSEconfig.glib2: eval: line 81: syntax error near unexpected token `(' /sbin/conf.d/SuSEconfig.glib2: eval: line 81: ` DEFTYPE=$DEFDESKTOP_ianywhere_M11_MNetwork_SServer_S(32_Mbit)_MGNOME_Ddesktop' /sbin/conf.d/SuSEconfig.glib2: eval: line 81: syntax error near unexpected token `(' /sbin/conf.d/SuSEconfig.glib2: eval: line 81: ` DEFTYPE=$DEFDESKTOP_ianywhere_M11_MNetwork_SServer_S(32_Mbit)_MKDE_Ddesktop' /sbin/conf.d/SuSEconfig.glib2: eval: line 81: syntax error near unexpected token `(' /sbin/conf.d/SuSEconfig.glib2: eval: line 81: ` DEFTYPE=$DEFDESKTOP_ianywhere_M11_MNetwork_SServer_S(64_Mbit)_MGNOME_Ddesktop' /sbin/conf.d/SuSEconfig.glib2: eval: line 81: syntax error near unexpected token `(' /sbin/conf.d/SuSEconfig.glib2: eval: line 81: ` DEFTYPE=$DEFDESKTOP_ianywhere_M11_MNetwork_SServer_S(64_Mbit)_MKDE_Ddesktop' /sbin/conf.d/SuSEconfig.glib2: eval: line 81: syntax error near unexpected token `(' /sbin/conf.d/SuSEconfig.glib2: eval: line 81: ` DEFTYPE=$DEFDESKTOP_ianywhere_M11_MPersonal_SServer_S(32_Mbit)_MGNOME_Ddesktop' /sbin/conf.d/SuSEconfig.glib2: eval: line 81: syntax error near unexpected token `(' /sbin/conf.d/SuSEconfig.glib2: eval: line 81: ` DEFTYPE=$DEFDESKTOP_ianywhere_M11_MPersonal_SServer_S(32_Mbit)_MKDE_Ddesktop' /sbin/conf.d/SuSEconfig.glib2: eval: line 81: syntax error near unexpected token `(' /sbin/conf.d/SuSEconfig.glib2: eval: line 81: ` DEFTYPE=$DEFDESKTOP_ianywhere_M11_MPersonal_SServer_S(64_Mbit)_MGNOME_Ddesktop' /sbin/conf.d/SuSEconfig.glib2: eval: line 81: syntax error near unexpected token `(' /sbin/conf.d/SuSEconfig.glib2: eval: line 81: ` DEFTYPE=$DEFDESKTOP_ianywhere_M11_MPersonal_SServer_S(64_Mbit)_MKDE_Ddesktop' I would suggest changing the lines: eval "if test \"\$DEFDESKTOP_$DESKTOPS\" ; then IS_DEFAULT_DESKTOP=true DEFTYPE=\$DEFDESKTOP_$DESKTOPS fi" into some code that looks a bit like this: cat > /tmp/eval-file.$$ <<EOF if test '$DEFDESKTOP_$DESKTOPS# ; then IS_DEFAULT_DESKTOP=true DEFTYPE='\$DEFDESKTOP_$DESKTOPS' fi EOF /tmp/eval-file.$$ rm /tmp/eval-file.$$ this should do the trick (code is untestet :-) ) Regards, Holger Reproducible: Always Steps to Reproduce: 1. Install Sybase SQL Anywhere Client, any other application that creates () in the desktop links will do 2. run SuSEconfig -module glib2 Actual Results: /sbin/conf.d/SuSEconfig.glib2: eval: line 81: syntax error near unexpected token `(' /sbin/conf.d/SuSEconfig.glib2: eval: line 81: ` DEFTYPE=$DEFDESKTOP_ianywhere_M11_MNetwork_SServer_S(32_Mbit)_MGNOME_Ddesktop' /sbin/conf.d/SuSEconfig.glib2: eval: line 81: syntax error near unexpected token `(' /sbin/conf.d/SuSEconfig.glib2: eval: line 81: ` DEFTYPE=$DEFDESKTOP_ianywhere_M11_MNetwork_SServer_S(32_Mbit)_MKDE_Ddesktop' /sbin/conf.d/SuSEconfig.glib2: eval: line 81: syntax error near unexpected token `(' /sbin/conf.d/SuSEconfig.glib2: eval: line 81: ` DEFTYPE=$DEFDESKTOP_ianywhere_M11_MNetwork_SServer_S(64_Mbit)_MGNOME_Ddesktop' /sbin/conf.d/SuSEconfig.glib2: eval: line 81: syntax error near unexpected token `(' /sbin/conf.d/SuSEconfig.glib2: eval: line 81: ` DEFTYPE=$DEFDESKTOP_ianywhere_M11_MNetwork_SServer_S(64_Mbit)_MKDE_Ddesktop' /sbin/conf.d/SuSEconfig.glib2: eval: line 81: syntax error near unexpected token `(' /sbin/conf.d/SuSEconfig.glib2: eval: line 81: ` DEFTYPE=$DEFDESKTOP_ianywhere_M11_MPersonal_SServer_S(32_Mbit)_MGNOME_Ddesktop' /sbin/conf.d/SuSEconfig.glib2: eval: line 81: syntax error near unexpected token `(' /sbin/conf.d/SuSEconfig.glib2: eval: line 81: ` DEFTYPE=$DEFDESKTOP_ianywhere_M11_MPersonal_SServer_S(32_Mbit)_MKDE_Ddesktop' /sbin/conf.d/SuSEconfig.glib2: eval: line 81: syntax error near unexpected token `(' /sbin/conf.d/SuSEconfig.glib2: eval: line 81: ` DEFTYPE=$DEFDESKTOP_ianywhere_M11_MPersonal_SServer_S(64_Mbit)_MGNOME_Ddesktop' /sbin/conf.d/SuSEconfig.glib2: eval: line 81: syntax error near unexpected token `(' /sbin/conf.d/SuSEconfig.glib2: eval: line 81: ` DEFTYPE=$DEFDESKTOP_ianywhere_M11_MPersonal_SServer_S(64_Mbit)_MKDE_Ddesktop' Expected Results: No error messages -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=686831 https://bugzilla.novell.com/show_bug.cgi?id=686831#c1 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #1 from Dominique Leuenberger <dimstar@opensuse.org> 2013-09-29 17:10:25 UTC --- Dear Reporter, Thank you for taking the time to report this bug and helping to make openSUSE better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in openSUSE since the time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a current, supported openSUSE version. When you test it and it is still an issue, kindly reopen this bug and move it to the tested version of openSUSE. Truly yours. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=686831 https://bugzilla.novell.com/show_bug.cgi?id=686831#c2 Holger Lehmann <holger.lehmann@catworkx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Found By|--- |Third Party | |Developer/Partner Resolution|WONTFIX | --- Comment #2 from Holger Lehmann <holger.lehmann@catworkx.de> 2013-09-30 06:28:44 UTC --- Hi Dominique, *did* you notice that I provided you the bugfix already? You answer is actually quite hilarious since the guys back at development can simply look at the code and add the fix to the original code ... Quote: ------------- I would suggest changing the lines: eval "if test \"\$DEFDESKTOP_$DESKTOPS\" ; then IS_DEFAULT_DESKTOP=true DEFTYPE=\$DEFDESKTOP_$DESKTOPS fi" into some code that looks a bit like this: cat > /tmp/eval-file.$$ <<EOF if test '$DEFDESKTOP_$DESKTOPS# ; then IS_DEFAULT_DESKTOP=true DEFTYPE='\$DEFDESKTOP_$DESKTOPS' fi EOF /tmp/eval-file.$$ rm /tmp/eval-file.$$ this should do the trick (code is untestet :-) ) ------------- Anyway: Regards, Holger -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=686831 https://bugzilla.novell.com/show_bug.cgi?id=686831#c3 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED CC| |dimstar@opensuse.org Resolution| |WONTFIX --- Comment #3 from Dominique Leuenberger <dimstar@opensuse.org> 2013-09-30 07:34:12 UTC --- openSUE 11.3 is EOL. current versions of openSUSE no longer ship SuSEconfig stuff; hence, the ticket is obsolete in any case. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com