Bug 52304

Summary: [journalctl] unable to read external journal files
Product: systemd Reporter: Ildar Muyukov <ildar>
Component: generalAssignee: systemd-bugs
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: enhancement    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

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.