summaryrefslogtreecommitdiff
path: root/src/opt
AgeCommit message (Collapse)Author
2026-09-03image: T5475: derive the persistence path from the overlay upperdirChristian Breunig
The union boot branch matched /proc/mounts against the literal string upperdir=/live/persistence/, which is the layout produced by the VyOS fork of live-boot. Debian's live-boot mounts persistence below /run/live/persistence instead, so on an image built against it the match failed, the script reported an old style boot, and every caller silently did nothing. In practice that meant /boot was never bind mounted, so GRUB updates and image management found no configuration directory, and an encrypted config volume was never unlocked. The old code also only worked by accident. It rebuilt the path as /lib/live/mount/persistence/$boot_device, where the device component came from cutting the fourth slash separated field, and that field was empty solely because the fork appended a trailing slash and produced a doubled separator. Rather than match one fixed layout, take the overlay's own upperdir and walk up three levels to strip the rw, image and boot components, then collapse any duplicate separators. The result is checked for a boot directory, falling back to the legacy mount points that live-boot's compatibility bind mount still provides on bookworm. This handles Debian's path, upstream's optional per device sub-directory and the fork's original layout alike, so it stays correct whichever live-boot the image was assembled with.
2026-06-29ci: T8490: fix typos in comments, strings, and local identifiersYuriy Andamasov
Reaches a clean typos baseline for the T8490 ruleset pilot. Categories: - Comments/docs: recursivly, taret, passsed, characted, arhive, AtrributeError; "ned" -> "new" (migration comments). - Messages/strings: writeable -> writable (x5); OCaml log "Commandis" -> "Command is". - Local variables (all refs in-function): commited, formating, presistent; inpt_range -> input_range; tz_datas -> tz_data_raw (avoids the tz_data collision). - Self-contained renames (definition + all references in-file): formated_stats, _get_formatted_output_conections -> ..._connections, expension_failure -> expansion_failure (ping + traceroute), snmpd_restart_reqired -> ..._required. False positives are allowlisted centrally (vyos/.github, separate PR), NOT changed here: mke2fs, Maya-calendar "Mak", RFC 4122 "IDentifier" (hostapd), and VPP's "U-Forwrd" bridge-domain column header (op_mode/vpp.py + the VPP smoketest assert the real upstream `vppctl` output). Verified: typos clean, py_compile of every edited .py, zero remaining old-identifier references. 🤖 Generated by [robots](https://vyos.io)
2026-03-27T8410: Fix typos and mistakes for comments and messagesViacheslav Hletenko
Fix typos and mistakes No functional changes
2026-03-24T8410: Fix typos and mistakes for operational and configuration commandsViacheslav Hletenko
Fix typos and mistakes in the commands and comments No functional changes
2026-03-03tech-support: T8215: Extend tech-support archive and report generationOleksandr Kuchmystyi
- Exclude .iso files from `/config` and `/home/*` to avoid large images - Exclude previous debug-archived from new archives - Include `/run` directory contents - Add kernel modules information (`lsmod`) - Add PCI details (`lspci -knnv`) - Include full `/config` directory - Add FRR memory usage (`vtysh "show memory"`) - Add VPP info (`vppctl`) - Add NUMA details (`numactl --hardware`, `numastat -cm`) Full list of commands here: https://vyos.dev/T8215
2025-12-15T8103: add root to those allowed to call op-run commands directlyJohn Estabrook
2025-08-26op-mode: T7745: expose missing top-level op mode words to operator-level usersDaniil Baturin
2025-08-26op-mode: T7745: add a CLI for operator user command permissionsDaniil Baturin
2025-05-16op-mode: T7459: eliminate direct use of sudo in op mode commandsDaniil Baturin
2024-08-14op_mode: T6651: Add a top level op mode word "execute"Nataliia Solomko
2024-06-30T6527: add legacy Vyatta interpreter files still in useChristian Breunig