Bug 985072 - file fails to recognize systemd journal files (no entry in /etc/magic)
Summary: file fails to recognize systemd journal files (no entry in /etc/magic)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: file
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Kaluža
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-16 17:41 UTC by Przemek Klosowski
Modified: 2013-08-25 22:55 UTC (History)
3 users (show)

Fixed In Version: file-5.11-11.fc19
Clone Of:
Environment:
Last Closed: 2013-08-25 22:55:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Przemek Klosowski 2013-07-16 17:41:42 UTC
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):
all versions

How reproducible:
every time

Steps to Reproduce:
1. file   /var/log/journal/*/*journal

Actual results:
all files are reported as 'data'

Expected results:
they should be reported as 'systemd journal files'

Comment 1 Przemek Klosowski 2013-07-16 17:49:07 UTC
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

Comment 2 Jan Kaluža 2013-07-17 06:58:57 UTC
Sent upstream: http://bugs.gw.com/view.php?id=266

Comment 3 Zbigniew Jędrzejewski-Szmek 2013-07-17 15:32:56 UTC
Already done in http://bugs.gw.com/view.php?id=258.

Comment 4 Fedora Update System 2013-08-22 07:57:02 UTC
file-5.11-11.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/file-5.11-11.fc19

Comment 5 Fedora Update System 2013-08-23 00:38:19 UTC
Package file-5.11-11.fc19:
* 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:
https://admin.fedoraproject.org/updates/FEDORA-2013-15175/file-5.11-11.fc19
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-08-25 22:55:21 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.