Bug#763654: /bin/journalctl: journalctl --boot option doesn't work: "Cannot assign requested address"

Michael Biebl biebl at debian.org
Wed Oct 1 17:23:51 BST 2014


Am 01.10.2014 um 17:36 schrieb Nikolaus Rath:
> Package: systemd
> Version: 208-8
> Severity: normal
> File: /bin/journalctl
> 
> Hello,
> 
> I'm trying to retrieve the logs from the last book. journalctl(1) says:
> 
>        -b [ID][±offset], --boot=[ID][±offset]
>            Show messages from a specific boot. This will add a match for
> "_BOOT_ID=".
> 
>            The argument may be empty, in which case logs for the current
> boot will be
>            shown.
> 
>            If the boot ID is omitted, a positive offset will look up the
> boots starting
>            from the beginning of the journal, and a equal-or-less-than
> zero offset will
>            look up boots starting from the end of the journal. Thus, 1
> means the first
>            boot found in the journal in the chronological order, 2 the
> second and so
>            on; while -0 is the last boot, -1 the boot before that, and
> so on. An empty
>            offset is equivalent to specifying -0, except when the
> current boot is not
>            the last boot (e.g. because --directory was specified to look
> at logs from a
>            different machine).
> 
> 
> However,
> 
> [0] nelarikon:~# journalctl -b -1
> Failed to look up boot -1: Cannot assign requested address
> 
> [1] nelarikon:~# journalctl --boot=-1
> Failed to look up boot -1: Cannot assign requested address
> 
> 

I do assume that you have created a /var/log/journal directory?

Also, please test with v215 from unstable to see if you can reproduce
the problem with an up-to-date version.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20141001/aa29a59e/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list