Description of problem: Remote/distributed journaling is a pretty important feature for many systemd users. > At some point, systemd-journal-upload stopped working with libmicrohttpd. systemd-journal-upload doesn't send a Content-Length: header, and therefore libmicrohttpd rejects the upload with a 411 HTTP error. Here's an example session: > > POST /upload HTTP/1.1 > Host: myhost.example > Transfer-Encoding: chunked > Content-Type: application/vnd.fdo.journal > > HTTP/1.1 411 Length Required > Connection: close > Content-Length: 35 > Content-Type: text/plain > Date: Thu, 24 Jan 2019 01:21:41 GMT > > The libmicrohttpd maintainers recognize this as a bug (according to the HTTP/1.1 spec, it's okay to omit "Content-Length" if you specify "Transfer-Encoding: chunked"), but they say they won't have time to fix it in the near future. So... either somebody else is going to have to send them a patch, or systemd-journal-remote is going to have to invoke some other method of receiving remote logs. Version-Release number of selected component (if applicable): 241 How reproducible: 100% always Steps to Reproduce: 1. Try to use systemd-journal-upload 2. Keep trying 3. Give up Actual results: 411 error Expected results: It communicates with systemd-journal-remote Additional info:
Sorry for the delay. Please set POST on bugzillas which are about applying a patch from upstream. This makes them easy to spot in the sea of bugs. Patch applied to v241-stable branch.
FEDORA-2020-f8e267d6d0 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2020-f8e267d6d0
systemd-241-14.git18dd3fb.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-f8e267d6d0
systemd-241-14.git18dd3fb.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.