Bug 156355 - init scripts block when not using graphical boot and /var/gdm/.gdmfifo exists
init scripts block when not using graphical boot and /var/gdm/.gdmfifo exists
Product: Fedora
Classification: Fedora
Component: initscripts (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
: EasyFix, Patch
: 156461 156626 156695 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2005-04-29 06:31 EDT by Nils Philippsen
Modified: 2014-03-16 22:53 EDT (History)
6 users (show)

See Also:
Fixed In Version: 8.10-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-04-29 11:56:58 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Patch as described above. (954 bytes, patch)
2005-04-29 06:33 EDT, Nils Philippsen
no flags Details | Diff

  None (edit)
Description Nils Philippsen 2005-04-29 06:31:42 EDT
Description of problem:

SSIA, the "echo ... > /var/gdm/.gdmfifo" blocks blocks if there is no gdm
running that waits for data on that FIFO.

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


How reproducible:


Steps to Reproduce:
1. Don't have "rhgb" on the kernel command line, have $GRAPHICAL=no in
2. Boot
Actual results:

Hangs when the FIFO is filled up.

Expected results:

Doesn't try to write inito the FIFO in this case.

Additional info:

I'll attach a patch that removes /var/gdm/.gdmfifo like other files beneath /var
when booting the system and checks for $GRAPHICAL==yes before echoing into that
Comment 1 Nils Philippsen 2005-04-29 06:33:08 EDT
Created attachment 113826 [details]
Patch as described above.
Comment 2 Bill Nottingham 2005-04-29 11:56:58 EDT
gdm early-login doesn't key off of GRAPHICAL. Probably best just to background
the echo for now... this will get cleaned up better later.

Will be fixed in 8.10-1.
Comment 3 Valdis Kletnieks 2005-04-30 21:07:09 EDT
It doesn't have anything to do with gdm-early-login keying off anything.  I
tripped over the problem in /etc/rc.d/init.d/network when it hit this code:

# Log that something failed
failure() {
  #if [ -z "${IN_INITLOG:-}" ]; then
  #   initlog $INITLOG_ARGS -n $0 -s "$1" -e 2
  [ "$BOOTUP" != "verbose" -a -z "$LSB" ] && echo_failure
  [ -x /usr/bin/rhgb-client ] && /usr/bin/rhgb-client --details=yes
  [ -w /var/gdm/.gdmfifo ] && echo "BOOTUP_ERRORS" > /var/gdm/.gdmfifo
  return $rc

Nils's patch appears to be the correct fix.
Comment 4 Bill Nottingham 2005-05-02 12:05:00 EDT
*** Bug 156461 has been marked as a duplicate of this bug. ***
Comment 5 Bill Nottingham 2005-05-02 14:19:35 EDT
*** Bug 156626 has been marked as a duplicate of this bug. ***
Comment 6 Bill Nottingham 2005-05-03 13:28:34 EDT
*** Bug 156695 has been marked as a duplicate of this bug. ***

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