New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
overwrites /dev/null with pycurl cookie jar #34
Comments
|
I am wondering why this is needed in the first place, because it should be disabled by default: https://curl.se/libcurl/c/CURLOPT_COOKIEJAR.html It looks like there is a bug in pycurl wrapper also, because you cannot "undefine" the value. Using |
|
I checked with the C API and it does allow you to set the cookie jar to (My previous comment here was wrong) For If the aim is to enable cookies in the handle, but without writing to any file, then you should set IOW this change: |
|
@rwmjones hi, can you please open a bz on https://bugzilla.redhat.com/enter_bug.cgi?product=ovirt-engine-sdk-python ? |
|
Apparently you need to press ctrl+shift+A to get it to list the components. The bug is: https://bugzilla.redhat.com/show_bug.cgi?id=1956750 |
|
Thanks @rwmjones closing the ticket here, we'll track progress on the bz at https://bugzilla.redhat.com/show_bug.cgi?id=1956750 |
With recent PyCurl (at least in Fedora 34)
/dev/nullis overwritten if you use the SDK as root.The reason is because of the following code:
ovirt-engine-sdk/sdk/lib/ovirtsdk4/__init__.py
Lines 392 to 394 in 1bb6c5e
You can demonstrate this pretty easily with a tiny test program (NB be aware before running this that it will destroy your
/dev/nulland make your system unusable!)Downstream bug: https://bugzilla.redhat.com/show_bug.cgi?id=1939387#c6
The text was updated successfully, but these errors were encountered: