[PATCH rhel6-branch] Support bonding in %pre section (#971961)

Radek Vykydal rvykydal at redhat.com
Tue Oct 8 13:08:21 UTC 2013


On 10/04/2013 06:53 PM, Brian C. Lane wrote:
> On Tue, Oct 01, 2013 at 12:12:46PM +0200, Radek Vykydal wrote:
>> +
>> +                        slavedev.set(("NM_CONTROLLED", "yes"))
>> +                time.sleep(2)
> Is this sleep really needed?

The reason for sleep is here:
https://bugzilla.redhat.com/show_bug.cgi?id=971961#c2

I don't like using sleep but I considered it safer, given the sleep
ocsurs only in case of activation of bond defined in %pre case.
Nevertheless, I am sending v2 of the patch replacing sleep with
polling state of devices.


More information about the anaconda-patches mailing list