Bug 157093

Summary: SuSEconfig.gnomevfs2 gives error messages
Product: [openSUSE] SUSE Linux 10.1 Reporter: Juergen Orschiedt <jorschiedt>
Component: BasesystemAssignee: Stanislav Brabec <sbrabec>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Beta 7   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: SuSEconfig.gnome-vfs2
SuSEconfig.gnome-vfs2
shell log
SuSEconfig.gnome-vfs2

Description Juergen Orschiedt 2006-03-10 15:31:06 UTC
When running SuSEconfig --module gnome-vfs2 I get the warning
/sbin/conf.d/SuSEconfig.gnome-vfs2: line 69: $DESKTOP: ambiguous redirect
/sbin/conf.d/SuSEconfig.gnome-vfs2: line 72: read: read error: 0: Bad file descriptor
Comment 1 Stanislav Brabec 2006-03-13 13:56:18 UTC
Created attachment 72551 [details]
SuSEconfig.gnome-vfs2

Could you try attached script?

Simply copy it ot /sbin/conf.d/

It fixes quoting of file names with spaces. I guess it will fix your problem.
Comment 2 Stanislav Brabec 2006-03-13 14:03:30 UTC
Created attachment 72556 [details]
SuSEconfig.gnome-vfs2

Fixed script.
Comment 3 Juergen Orschiedt 2006-03-13 15:41:03 UTC
Hmm, the error message looks different now...

jorschiedt@TuX-JO01:~> sudo /sbin/SuSEconfig --module gnome-vfs2
Starting SuSEconfig, the SuSE Configuration Tool...
Running module gnome-vfs2 only
Reading /etc/sysconfig and updating the system...
Executing /sbin/conf.d/SuSEconfig.gnome-vfs2...
/sbin/conf.d/SuSEconfig.gnome-vfs2: line 114: APP_: command not found
/sbin/conf.d/SuSEconfig.gnome-vfs2: line 114: APP_: command not found
Finished.
Comment 4 Stanislav Brabec 2006-03-13 16:13:18 UTC
Could you provide a shell trace:

sh 2>shell.log -x /sbin/conf.d/SuSEconfig.gnome-vfs2
Comment 5 Juergen Orschiedt 2006-03-13 16:25:42 UTC
Created attachment 72597 [details]
shell log

as requested...
Comment 6 Stanislav Brabec 2006-03-13 16:47:42 UTC
Created attachment 72604 [details]
SuSEconfig.gnome-vfs2

Crossover Office creates names with colon in the name. This scripts should accept colons in desktop file names.
Comment 7 Juergen Orschiedt 2006-03-13 16:57:09 UTC
works fine now - thanks!
Comment 8 Stanislav Brabec 2006-03-13 17:22:52 UTC
Suppose it's fixed now.

It still does not handle other exotic characters, but +-.: and space seems to be enough for now.