Page MenuHomeVyOS Platform

Op-mode show/monitor log pppoe interface does not show any logs
Closed, ResolvedPublicBUG

Description

Executing the command show log pppoe interface <interface> does not yield any logs even when the given interface is a PPPoE interface and contains logging data. Manually executing journalctl -eu ppp@<interface>.service confirms the presence of logging data. The same issue is present with the monitor log op-mode command.

There seems to be an off-by-one issue in the journalctl command call template that causes the passed interface name to be missed and not passed to journalctl when running.

Details

Difficulty level
Easy (less than an hour)
Version
1.4
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

Relevant PR:

https://github.com/vyos/vyos-1x/pull/1651

Tested on vyos-1.4-rolling-202211060813-amd64.iso.

Viacheslav changed the task status from Open to Needs testing.Nov 11 2022, 8:17 AM
Viacheslav assigned this task to initramfs.
n.fort added a subscriber: n.fort.

I'm marking this task as resolved, since it's been in 'Needs Testing' status for more than 6 months.