Ticket #633 (closed bug: fixed)
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.