Bug 58311 - RunWM has infinite loop if all fallbacks fail
Summary: RunWM has infinite loop if all fallbacks fail
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: xinitrc
Version: 7.2
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mike A. Harris
QA Contact: Aaron Brown
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-01-14 03:48 UTC by Morey Hubin
Modified: 2007-04-18 16:39 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-12-15 09:52:38 UTC
Embargoed:


Attachments (Terms of Use)

Description Morey Hubin 2002-01-14 03:48:38 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.73 [en] (X11; U; Linux 2.4.0-XFS i686)

Description of problem:
  I have a RedHat 7.2 system with both the RH7.1 2.4.2 and RH7.2 2.4.7 kernels.
Boot into 2.4.2 and gdm works for everyone. Reboot into 2.4.7 and only UID=0
accounts can get passed gdm.  Harddrive swaps hard for 60 seconds before Xserver
dies and gdm recovers with a login dialog again.  All this is AFTER the pam
module patch was installed.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Install Redhat 7.2 with NIS configured.
2. Update nsswitch.conf with "files nis" for passwd, shadow and group.
3. Apply latest pam_unix patches to fix major login problem.
4. Reboot and login with UID!=0 account and X stalls w/ mad swapping
      Until gdm kills xserver and starts with login dialog again.

Actual Results:  While the Xserver is swapping ctrl-alt-backspace the xserver,
login
at the text console as root and you will see dozens of RunWM -help calls and one
RunWM -FVWM95 (Fvwm95, where did that come from???).
If /usr/bin is not in your path, then exec gnome-session and exec startkde fail,
leaving 

Expected Results:  Users with UID!=0 should be able to login. :)

Additional info:

/etc/X11/xinit/Xclients needs PATH=/usr/bin:$PATH or gnome-session is not found
for non-root users.  If you don't have Fvwm95 (the last ditch WM) then RunWM
goes into an infinate loop fork()'ing RunWM -help calls.  Because of the dual
kernel boot setup it is clear that the kernel is the start of the problem. 
`login` is not setting PATH or something is killing /bin and /usr/bin from the
PATH.  Regardless of
the cause PATH=/bin:/usr/bin:$PATH should be there.

Comment 1 Havoc Pennington 2002-01-18 23:07:53 UTC
PATH is supposed to come from /etc/profile I believe. I don't have any initial
idea on where it is getting lost; no one else has reported this issue.

Maybe there are issues with not finding user home dirs or user shells due to the
info in NIS... I'm just guessing though.

Comment 2 Havoc Pennington 2002-02-11 23:47:38 UTC
I'm not going get get anywhere on this without a way to reproduce it.

Infinite loop in RunWM should be fixed though, so moving to xinitrc (Probably
fvwm95 should be cleaned out of there, and RunWM should just bail to twm.)

Comment 3 Mike A. Harris 2002-08-12 11:16:13 UTC
Does this problem occur with RHL 7.3 and/or the current Limbo beta, or
is it resolved now?  Please update.

Comment 4 Mike A. Harris 2002-12-15 09:52:38 UTC
Assuming the problem is resolved now due to lack of response. If problem
continues, reopen bug report and provide the details and answers requested
above.

Thanks.


Note You need to log in before you can comment on or make changes to this bug.