Not all configuration is preserved on upgrades
|Reported by:||matthijs||Owned by:|
|Cc:||covert@…, JonTheNiceGuy, <jon@…>||Hardware:||both|
When you use a tarball for a web upgrade, the upgrade script preserves a number of config files through a tarball.
However, the files /etc/config/services and /etc/config/system are not preserved. The first contains the "fwall" setting for each service that opens up ports to the WAN side, the second contains the "pass_good" setting that stores the password strength (and is also needed to get SSH access on the WAN side).
Simply preserving those two config files will probably not work, since they also contain all kinds of configuration that should be replaced on an upgrade (e.g., when new firmware adds more services). A proper solution would probably need to move some settings around.
This bug has been noticed before, but probably got lost in the development. This ticket should keep it in the picture.
I've tested and confirmed this bug with upgrades to 2.3.6.
Change History (18)
comment:2 Changed 7 years ago by matthijs
- Hardware set to both
- Priority changed from normal to major
- Status changed from new to confirmed
- Version set to 188.8.131.52 (Gari)
comment:3 Changed 7 years ago by matthijs
- Reporter changed from Matthijs Kooijman <matthijs@…> to matthijs
comment:16 Changed 7 years ago by matthijs
- Summary changed from Web upgrades break WAN access due to lost configuration to Not all configuration is preserved on upgrades