Bug 52304 - [journalctl] unable to read external journal files
Summary: [journalctl] unable to read external journal files
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-20 11:02 UTC by Ildar Muyukov
Modified: 2012-07-20 12:19 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Ildar Muyukov 2012-07-20 11:02:30 UTC
I have files from another machine in an arbitrary dir (e.g. /tmp/incoming/journal/...). But I can't read them without superuser rights.

With SU I can read them by copying /tmp/incoming/journal/* to /run/log/journal/ (even symlinking doesn't work)

This is an absurd restriction. Is it possible to add an option to journalctl to make mere reading possible?
Comment 1 Kay Sievers 2012-07-20 11:15:53 UTC
Try:
  --directory=
  http://www.freedesktop.org/software/systemd/man/journalctl.html

and close the bug if it works. :)
Comment 2 Lennart Poettering 2012-07-20 12:19:55 UTC
Yupp -D should do what is requested here. Closing.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.