Bug 251944

Summary: Traceback possibly when running %pre script
Product: [Fedora] Fedora Reporter: Orion Poplawski <orion>
Component: anacondaAssignee: Chris Lumens <clumens>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-08-14 15:47:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
kickstart script none

Description Orion Poplawski 2007-08-13 16:09:46 UTC
Description of problem:

Get the following traceback doing a PXE/kickstart install (rest has scrolled off
the screen):

File "/usr/lib/python2.5/subprocess.py", line 593, in __init__
  errread, errwrite)
File "/usr/lib/python2.5/subprocess.py", line 1079, in _execute_child
  raise child_exception
TypeError: coercing to Unicode: need string or buffer, NoneType found

Last vt3 message:

INFO: Running kickstart %%pre script(s)

%pre script:
#!/usr/bin/sh
#Debugging
set -x

Comment 1 Chris Lumens 2007-08-13 17:06:11 UTC
Please attach the entire traceback message.  It should still be on tty3 in its
entirety, unless it's a really long traceback.

Comment 2 Orion Poplawski 2007-08-13 17:52:24 UTC
It's definitely from executing the %pre script - removing the %pre section
allows it to proceed.

There is no traceback logged on tty3, just the normal anaconda messages, last of
which is the info message I mentioned above.

Comment 3 Chris Lumens 2007-08-14 15:11:29 UTC
Can you attach your complete kickstart script?

Comment 4 Orion Poplawski 2007-08-14 15:14:18 UTC
Created attachment 161273 [details]
kickstart script

Comment 5 Orion Poplawski 2007-08-14 15:47:44 UTC
Works in today's (20070814) rawhide.

Comment 6 Chris Lumens 2007-08-14 15:52:39 UTC
Glad it works, because that was a truly bizarre bug and I wasn't getting much
closer to figuring out what was going on.