GNOME Bugzilla – Bug 60014
gnome-terminal fails when $SHELL not set
Last modified: 2004-12-22 21:47:04 UTC
Package: gnome-core Severity: normal Version: 1.4.0.4 Synopsis: gnome-terminal fails when $SHELL not set Bugzilla-Product: gnome-core Bugzilla-Component: gnome-terminal Description: version: Gnome Terminal 1.4.0.4 if run without $SHELL being set then it fails in one of two ways. it either displays a window very briefly before exitting with no error, or it outputs "Error: unable to fork: Success" and pops up a window refering to unix98 ptys. this can be reproduced thus: SHELL="" gnome-terminal this problem came to like because we do not set a shell in /etc/password for our users (allowing it to default to /bin/sh). i fixed it by setting $SHELL in /etc/profile but, at the very least, gnome-terminal should give a more accurate error message. thanks. ------- Bug moved to this database by unknown@bugzilla.gnome.org 2001-09-04 11:57 ------- The original reporter (james@cs.york.ac.uk) of this bug does not have an account here. Reassigning to the exporter, unknown@bugzilla.gnome.org. Reassigning to the default owner of the component, gnome-core-maint@bugzilla.gnome.org.
I agree this could pop up a slightly more informative error message.
Created attachment 5601 [details] [review] Throws a dialog when this error occurs!
Created attachment 5607 [details] [review] Patches gnome-util.c in gnome-libs/libgnome to check for a zero length shell var
*** Bug 36185 has been marked as a duplicate of this bug. ***
Do we need both patches or just the gnome-libs one?
Hi. Please respond to the above.
Commited.