Description of problem: After run the command "$ sudo journalctl _COMM=df", the error "Failed to get journal fields: Cannot assign requested address" is returned. On other Fedoras, for example Fedora 22, the "-- No entries --" string is returned. Version-Release number of selected component (if applicable): systemd-222-2.fc23.x86_64 How reproducible: always Steps to Reproduce: 1. run "$ sudo journalctl _COMM=df" Actual results: $ sudo journalctl _COMM=df Failed to get journal fields: Cannot assign requested address -- Logs begin at Mon 2015-08-17 13:42:28 CEST, end at Fri 2015-08-21 09:59:25 CEST. -- Expected results: $ sudo journalctl _COMM=df -- No entries --
It doesn't have to be selection by filters. This message comes for any search that doesn't return any messages. E.g. mimmi$ env LANG=en_US.utf8 journalctl --dmesg --since=21:40 Failed to get journal fields: Cannot assign requested address -- Logs begin at Mon 2015-09-28 15:00:02 CEST, end at Wed 2015-10-28 21:42:46 CET. --
Works upstream. I just have to dig out the patch.
The upstream commit fixing this is https://github.com/systemd/systemd/commit/02ab86c732576a71179ce12e97d44c289833236d. However, there were several journal fixes around that time and it would be probably useful to commit some of them. The complete patch set I suggest is the following: https://github.com/systemd/systemd/commit/45c047b227d96e98e7076c15ae774ff6390dc403 https://github.com/systemd/systemd/commit/dade37d403f1b8c1d7bb2efbe2361f2a3e999613 https://github.com/systemd/systemd/commit/8dc37a85255f68d62f7af66696cbf6a66401fb2a https://github.com/systemd/systemd/commit/bca9e39dfadaefc4b02c0dd378adc3d6221071de https://github.com/systemd/systemd/commit/02ab86c732576a71179ce12e97d44c289833236d https://github.com/systemd/systemd/commit/e80acc51aeaf2d74cb4d6cecbcb6e18f74c22c05
systemd-222-9.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-76fc543765
systemd-222-10.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-76fc543765
systemd-222-10.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update systemd' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-76fc543765
systemd-222-10.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.