Page MenuHomeVyOS Platform

Migrate user home directories on image update
Open, WishlistPublicBUG

Description

Right now people lose all their command history and custom configs when VyOS is updated. That data is not actually lost, but you need to know some secrets of the internals to recover it—the path is anything but obvious.

Ideally we should use a separate /home, but for now, we can migrate that data to the new image at least.

Details

Difficulty level
Easy (less than an hour)
Version
1.2.2
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Feature (new functionality)

Event Timeline

From a post-exploitation perspective, this would permit attackers who've compromised an older vulnerable version to persist their payloads in the shell elements (~/.bashrc and friends) across upgrades.

erkin set Is it a breaking change? to Unspecified (possibly destroys the router).Aug 31 2021, 6:56 PM
erkin set Issue type to Feature (new functionality).
dmbaturin triaged this task as Wishlist priority.Jan 9 2024, 3:44 PM
dmbaturin edited projects, added VyOS 1.5 Circinus; removed VyOS 1.4 Sagitta.