Changeset 528


Ignore:
Timestamp:
May 15, 2008, 6:45:15 PM (17 years ago)
Author:
ecprice
Message:

Work around bug in Python subprocess for remctl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-guest-installer/files/usr/sbin/sipb-xen-lvcopy

    r449 r528  
    77import time
    88from subprocess import call, check_call, Popen, PIPE
     9
     10# Make sure to use up fd 0 to avoid a bug in subprocess in Python <= 2.5.1
     11# NB we need to do this on every Python remctl script.
     12# See r53624 in Python svn.
     13sys.stdin = open('/dev/null')
    914
    1015def losetup(source, offset=0):
Note: See TracChangeset for help on using the changeset viewer.