After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 60014 - gnome-terminal fails when $SHELL not set
gnome-terminal fails when $SHELL not set
Status: RESOLVED FIXED
Product: gnome-core
Classification: Deprecated
Component: gnome-terminal
1.4.x
Other Linux
: Normal normal
: 1.4.1
Assigned To: gnome-core Maintainers
gnome-core Maintainers
: 36185 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2001-09-04 15:56 UTC by James Carter
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Throws a dialog when this error occurs! (1.48 KB, patch)
2001-09-14 00:04 UTC, Cory Watson
none Details | Review
Patches gnome-util.c in gnome-libs/libgnome to check for a zero length shell var (307 bytes, patch)
2001-09-15 16:48 UTC, Cory Watson
none Details | Review

Description James Carter 2001-09-04 15:57:58 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.

Comment 1 Kjartan Maraas 2001-09-04 17:26:49 UTC
I agree this could pop up a slightly more informative error message.
Comment 2 Cory Watson 2001-09-14 00:04:09 UTC
Created attachment 5601 [details] [review]
Throws a dialog when this error occurs!
Comment 3 Cory Watson 2001-09-15 16:48:40 UTC
Created attachment 5607 [details] [review]
Patches gnome-util.c in gnome-libs/libgnome to check for a zero length shell var
Comment 4 Kjartan Maraas 2001-09-19 00:18:12 UTC
*** Bug 36185 has been marked as a duplicate of this bug. ***
Comment 5 Kjartan Maraas 2002-01-09 21:22:22 UTC
Do we need both patches or just the gnome-libs one?
Comment 6 Kjartan Maraas 2002-01-14 20:39:23 UTC
Hi. Please respond to the above.
Comment 7 Kjartan Maraas 2002-01-22 01:42:37 UTC
Commited.