Red Hat Bugzilla – Bug 985072
file fails to recognize systemd journal files (no entry in /etc/magic)
Last modified: 2013-08-25 18:55:21 EDT
Description of problem:
'file' does not recognize systemd *.journal files because there is no definition for them in /etc/magic
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. file /var/log/journal/*/*journal
all files are reported as 'data'
they should be reported as 'systemd journal files'
The simple fix is to add the following definition to /etc/magic or cause it to appear in /usr/share/misc/magic.mgc
0 string LPKSHHRH systemd journal file
Sent upstream: http://bugs.gw.com/view.php?id=266
Already done in http://bugs.gw.com/view.php?id=258.
file-5.11-11.fc19 has been submitted as an update for Fedora 19.
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing file-5.11-11.fc19'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
file-5.11-11.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.