[OpenWrt-Devel] Recently added feature in UCI - mandatory anonymous sections

Antonio Paunovic antonio.paunovic at sartura.hr
Tue Nov 8 11:13:56 EST 2016

Hello everyone,

recently there was a change in default UCI behaviour which you can see here:


While change in implementation is minor, this means that there won't be
anonymous sections anymore. Need may arise to update UCI configurations remotely
and anonymous sections are inconvenient for this use case. Being anonymous they
can't be addressed in straightforward manner.

By default, sections would be named automatically and currently there is no way
to change it. Some concerns were raised regarding how UCI is used and why this
feature needs to be discussed. There is a tendency to open configuration files
and manually copy-paste sections with similar purposes. Those sections are
usually anonymous because name would be superfluous. And sometimes there is even
an option 'name' (or similar) in anonymous sections.

Those are current benefits and concerns but there may be others in the wild.
We'd like to hear about experience from the community and suggestions in order
to resolve challenges above. Anybody has any thoughts on the subject?

Kind regards,
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list