summaryrefslogtreecommitdiff
path: root/src/etc/default
AgeCommit message (Collapse)Author
8 daysvyos-router: T9447: stop copying a directory when restoring the bootup hooksChristian Breunig
A boot whose configuration directory carries no pre/post-config hook scripts copies them out of the running image. That copy named the image root twice, because the image's squashfs is mounted at two paths and the variable holding it kept both. One extra operand reached cp as a bare directory: cp: -r not specified; omitting directory '/run/live/rootfs/<image>.squashfs' The hook itself still landed, so nothing broke, but the copy reported failure and was one word-split away from restoring the wrong file. It shows up where the encrypted configuration volume stays shut, leaving the directory beneath it empty. The image root is now a single path, the two identical restore paths share one implementation, and a copy that fails is logged rather than passing silently. A missing hook is not escalated - on a first boot that would hand the system to the upgrade-failure rollback.
2025-06-09T7374: add environment variable vyconf_bin_dirJohn Estabrook
2024-06-30T6527: add legacy Vyatta interpreter files still in useChristian Breunig