[LEDE-DEV] config restore/backup problem
e9hack
e9hack at gmail.com
Tue Feb 21 13:02:41 PST 2017
Hi,
the issue is introduced by the commit 'opkg: switch to own fork to improve memory usage' and makes current builds more
or less unusable.
If I revert this commit and go back the old opkg package, sysupgrade does restore the previous configuration completely
and manually generated backups contain all modified configuration files.
Regards,
Hartmut
Am 21.02.2017 um 17:00 schrieb e9hack:
> Hi,
>
> I've some trouble with the configuration restoring after a sys upgrade or generating a config backup with luci. Some
> files are not longer part of the config backup. For example /etc/sysupgrade.conf and /etc/firewall.user. If I compare a
> working build and a non working build, I see a difference in /usr/lib/opkg/status. On a working build, it contains for
> some packages a conffiles section:
>
> Package: firewall
> Version: 2017-01-13-37cb4cb4-1
> Depends: libc, libubox, libubus, libuci, libip4tc, libip6tc, libxtables, kmod-ipt-core, kmod-ipt-conntrack, kmod-ipt-nat
> Status: install user installed
> Architecture: mips_74kc
> Conffiles:
> /etc/config/firewall 390db1708e76edac2345cb598fd222a855b14557c4c31fe79df387c0ca6b4690
> /etc/firewall.user bd68324966481011f5e36570258ad97dd422655c16f3119d48325ed8459de510
> Installed-Time: 1487338933
>
> A non working build doesn't contain such sections for all packages:
>
> Package: firewall
> Version: 2017-02-07-1949e0cc-1
> Depends: libc, libubox, libubus, libuci, libip4tc, libip6tc, libxtables, kmod-ipt-core, kmod-ipt-conntrack, kmod-ipt-nat
> Status: install user installed
> Architecture: mips_74kc
> Installed-Time: 1487678600
>
> My last working build is from 17th February:
> LEDE Reboot SNAPSHOT r3521-7df998b / LuCI Master (git-17.046.32957-dea880e)
>
> Regards,
> Hartmut
>
More information about the Lede-dev
mailing list