Page MenuHomeVyOS Platform

`show pppoe-server sessions` uptime format is ambiguous (`1.06:16:20` vs `15:42:11`)
Closed, WontfixPublicBUG

Description

Version: VyOS 2026.09.16-0028-rolling (amd64).

Summary: The uptime column of show pppoe-server sessions renders sessions older than one day as D.HH:MM:SS (e.g. 1.10:32:56) and sessions under one day as HH:MM:SS (e.g. 21:37:09). The dot separator is undocumented and easy to misparse.

Evidence:

ifname |  username   |     ip       | ... |   uptime
ppp6   | 18054251887 | 10.254.1.207 | ... | 1.10:32:56     <- 1 day 10h 32m
ppp4   | 13570358624 | 10.254.9.202 | ... | 21:37:09       <- 21h 37m (same field, different format)

Impact: a downstream management tool parsing this column treated every session older than 24h as "0 seconds online" -- 18 of 28 live sessions were displayed with a bogus uptime, which severely misled operations.

Expected: unambiguous rendering (e.g. 1d10:32:56) or explicit documentation of the format.

Suggested fix: format the column in the op-mode script, or document it in the CLI reference.

Details

Version
2026.09.16-0028-rolling
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

Viacheslav claimed this task.
Viacheslav subscribed.

This behavior has always been in the upstream, and many users are familiar with this format. So it is not a question of the op-mode scripts that we use.
For parsers, the uptime-raw format probably should be used. https://github.com/accel-ppp/accel-ppp-ng/blob/1210a0b84b7c22837676571cae42522d6f265873/accel-pppd/cli/show_sessions.c#L513
I do not see any bugs here, and I am closing the task.