[FS#693] /etc/config/ucitrack will contains empty repeating sections that multiply on each sysupgrade

LEDE Bugs lede-bugs at lists.infradead.org
Sun Apr 9 01:59:58 PDT 2017


A new Flyspray task has been opened.  Details are below. 

User who did this - Adi (Aditza2015) 

Attached to Project - LEDE Project
Summary - /etc/config/ucitrack will contains empty repeating sections that multiply on each sysupgrade
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - Supply the following if possible:
 - Device problem occurs on
TL-WR1043ND v2


 - Software versions of LEDE release, packages, etc.
custom builds from source, multiple versions - the issues started around summer 2016 i think.
i am currently running a build from april 6th
Firmware Version	SWRT Reboot SNAPSHOT r3923-8b8ce566d9 / LuCI Master (git-17.096.72108-3fc0465cf)
Kernel Version	4.4.59

miniupnpd is installed but disabled and prevented from starting up at boot.
rc.local has these lines for it to ensure it does not re-start after a sysupgrade that preserves data:
/etc/init.d/miniupnpd stop
/etc/init.d/miniupnpd disable




 - Steps to reproduce
a) install a snapshot complete with luci
(all the following steps are done via luci web interface)

b) make sure miniupnpd is installed but disabled & not configured to start

c) save settings, reboot router

d) make a copy of /etc/config/ucitrack (backup the entire config)

e) apply a sysupgrade image, make sure to preserve existing config

f) make another copy of /etc/config/ucitrack (another config backup)

g) apply another sysupgrade image making sure to preserve existing config (can even be a re-install of the current one)

h) make another copy of /etc/config/ucitrack (and yet another config backup)

i) diff the copies of /etc/config/ucitrack
 - i use a recursive sha-256 checksum (github:/gurnec/HashCheck/releases) between each config backup tree to look for changed files and i noticed that this file will change betweeen each and every sysupgrade so far

j) you'll notice that with each subsequent sysupgrade the file will acquire an additional "config miniupnpd" empty section

*headscratch*
   

 

One or more files have been attached.

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=693



More information about the lede-bugs mailing list