Bug 31701 - NFS mounting in post-install hangs
NFS mounting in post-install hangs
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: anaconda (Show other bugs)
7.1
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Michael Fulbright
Brock Organ
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-03-13 12:34 EST by Michael E Brown
Modified: 2007-04-18 12:32 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-03-13 14:27:07 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Michael E Brown 2001-03-13 12:34:03 EST
The following script in the %post install of a kickstart file will hang...

%post

mkdir /mnt/hb
mount hb.us.dell.com:/home /mnt/hb
cd /mnt/hb/share/setup
./setup

This bug verified in RC2 and QA0309. 

The rest of the kickstart file follows:
# L A N G U A G E   S P E C I F I C A T I O N (Required for upgrade)
lang en_US

# N E T W O R K   C O N F I G U R A T I O N
network --bootproto dhcp

# I N S T A L L A T I O N   M E T H O D (Required for upgrade)
nfs --server 10.180.92.254 --dir
/home/ftp/pub/Distros/RedHat/florence/rc2/install

# D E V I C E   S P E C I F I C A T I O N  (Required for upgrade)
device scsi aic7xxx
#device eth eepro100

# R E B O O T   S P E C I F I C A T I O N
reboot 

# K E Y M A P   S P E C I F I C A T I O N (Required for upgrade)
keyboard us

# M O U S E   S P E C I F I C A T I O N
mouse generic3ps/2 --emulthree 

# P A R T I T I O N   S P E C I F I C A T I O N
zerombr yes
clearpart --all
part /boot     --size 20	--ondisk sda 
part /         --size 512	--ondisk sda
part swap      --size 512	--ondisk sda
part /tmp      --size 768	--ondisk sda
part /usr      --size 3072	--ondisk sda --grow
part /var      --size 1024	--ondisk sda 
part /home     --size 2048	--ondisk sda 


# I N S T A L L / U P G R A D E   S P E C I F I C A T I O N 
install

# T I M E Z O N E   S P E C I F I C A T I O N
timezone CST6CDT --utc

# X   W I N D O W   S Y S T E M   S P E C I F I C A T I O N
#xconfig
skipx

# R O O T   P A S S W O R D
rootpw 111111
auth --useshadow --enablemd5

# L I L O   C O N F I G U R A T I O N (Required for upgrade)
lilo --location mbr --linear

# P A C K A G E   S P E C I F I C A T I O N
%packages
@ Server
Comment 1 Michael E Brown 2001-03-13 12:35:13 EST
The same _exact_ kickstart file (except for the install path), works just fine
with RH7.0
Comment 2 Michael E Brown 2001-03-13 12:37:00 EST
On vc2, in the bash prompt, a 'ps ax' shows the 'mount' command stuck.
Eventually (>5 mins) the machine will reboot itself. 

There are no messages in /tmp/syslog or on VC3 or VC4.
Comment 3 Michael E Brown 2001-03-13 14:27:07 EST
Actually, I didn't wait long enough for the messages. Before rebooting the
following mesages appear on VC4:

from memory: (will update bugzilla after reproducing and copying error msg)

portmap: connection to localhost timed out
portmap: connection to localhost timed out
portmap: connection to localhost timed out
lock_fh:  ...
portmap: connection to localhost timed out
Comment 4 Michael E Brown 2001-03-13 15:21:45 EST
Add "-o nolock" to the mount command line fixes this issue.


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