Package: swift / 2.26.0-10+deb11u1
Metadata
Package | Version | Patches format |
---|---|---|
swift | 2.26.0-10+deb11u1 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
syslog_log_name.patch | (download) |
etc/account-server.conf-sample |
10 5 + 5 - 0 ! |
set log_name for swift services in default configs |
disable_sphinxcontrib_rsvgconverter.patch | (download) |
doc/source/conf.py |
3 1 + 2 - 0 ! |
disable sphinxcontrib.rsvgconverter extension |
Get_unit_tests_passing_on_py39.patch | (download) |
swift/common/ring/ring.py |
2 1 + 1 - 0 ! |
[patch] get unit tests passing on py39 They finally got rid of Thread.isAlive, having added Thread.is_alive as an alias back in 2.6. . array.tostring is also gone, though I'm not sure why we didn't use tofile to begin with. |
set default workers value.patch | (download) |
etc/proxy-server.conf-sample |
8 7 + 1 - 0 ! |
set default workers value Since the package switched to uwsgi and now reads this value, it can't be left as "auto" an commented out. |
fix eventlet monkey patching with py3.7.patch | (download) |
swift/common/utils.py |
3 3 + 0 - 0 ! |
fix eventlet monkey patching with python >= 3.7 |
Fix__exit__calls.patch | (download) |
test/unit/__init__.py |
4 2 + 2 - 0 ! |
fix __exit__ calls The context manager protocol requires that __exit__ be called with three args: type, value, and traceback. In some places, we didn't include any args at all, leading to test failures during clean-up. |
Turn_off_logging.logThreads_when_monkey patched.patch | (download) |
swift/common/utils.py |
4 4 + 0 - 0 ! |
turn off logging.logthreads when monkey-patched We've seen proxy-servers lock up while trying to log client disconnects. The trouble is that we happen to do this while we're *already* trying to log *something else*. If the timing works out particularly badly, we end up with a double-call to (an eventlet-patched) threading.current_thread(), which needs to enumerate all pthreads, which uses a non-re-entrant lock in CPython. . The most expedient solution seems to be disabling logThreads so we never call threading.current_thread(). |
CVE 2022 47950 stable victoria.patch | (download) |
swift/common/middleware/s3api/etree.py |
2 1 + 1 - 0 ! |
cve-2022-47950: s3api: prevent xxe injections Previously, clients could use XML external entities (XXEs) to read arbitrary files from proxy-servers and inject the content into the request. Since many S3 APIs reflect request content back to the user, this could be used to extract any secrets that the swift user could read, such as tempauth credentials, keymaster secrets, etc. . Now, disable entity resolution -- any unknown entities will be replaced with an empty string. Without resolving the entities, the request is still processed. Bug: #1998625 |