<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luci/modules/luci-base/root/etc/config, branch master</title>
<subtitle>Lua Configuration Interface (mirror)</subtitle>
<id>https://git.openwrt.org/project/luci/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/luci/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/'/>
<updated>2024-04-11T13:49:44Z</updated>
<entry>
<title>luci-base: use json for ucitrack instead of uci</title>
<updated>2024-04-11T13:49:44Z</updated>
<author>
<name>Florian Eckert</name>
</author>
<published>2024-04-10T15:23:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=a55b601f3747392947cdd9894c2e63f609d0bb4f'/>
<id>urn:sha1:a55b601f3747392947cdd9894c2e63f609d0bb4f</id>
<content type='text'>
The 'ucitrack' configuration under '/etc/config' defines which service must
be restarted on a LuCI change. This uci file defines how all this works
together. Additionally there are 'uci-defaults' scripts in the various
applications that add additional configurations parameters to this ucitrack
file if a service must be reloaded/restarted on a LuCI change.

There are some problems with the current implementation:

* The uci should be used to configure the system and not for this kind of
  reload/restart dependency handling on LuCI changes.
* On a system update with configuration restore of the 'ucitrack' file
  the new behavior on LuCI reload/restart could not take into account
  because the new file is *not* used.

This commit converts the handling from uci to json.

Signed-off-by: Florian Eckert &lt;fe@dev.tdt.de&gt;
</content>
</entry>
<entry>
<title>luci-base: remove deprecated radvd from ucitrack</title>
<updated>2021-02-13T10:20:57Z</updated>
<author>
<name>Hannu Nyman</name>
</author>
<published>2021-02-13T10:20:57Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=ccdca27a7211255160a13c194afce4fb70fd0a9c'/>
<id>urn:sha1:ccdca27a7211255160a13c194afce4fb70fd0a9c</id>
<content type='text'>
Cleanup /etc/config/ucitrack by removing 'radvd' affect item
from network, as the radvd package has deprecated by odhcpd
and odhcp6c in 2014.

Signed-off-by: Hannu Nyman &lt;hannu.nyman@iki.fi&gt;
</content>
</entry>
<entry>
<title>luci-base: ensure that ubus path uses trailing slash</title>
<updated>2020-03-13T22:57:19Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2020-03-13T22:57:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=38289bc97512e758e5a20f348dc13d5018f98188'/>
<id>urn:sha1:38289bc97512e758e5a20f348dc13d5018f98188</id>
<content type='text'>
Without the trailing slash, probing endpoint availability will fail.

Fixes: 529bde440 ("luci-base: make rpc webserver path configurable")
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>luci-base: extend rollback timeout to 90 seconds</title>
<updated>2020-02-13T18:26:33Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2020-02-13T18:25:56Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=81cf99a50706a75a2259296e4aab3f7b3bf5d54e'/>
<id>urn:sha1:81cf99a50706a75a2259296e4aab3f7b3bf5d54e</id>
<content type='text'>
Ref: #3628
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>luci-base: make rpc webserver path configurable</title>
<updated>2020-01-16T14:16:09Z</updated>
<author>
<name>Ansuel Smith</name>
</author>
<published>2020-01-16T14:16:09Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=529bde44081d0bc07a064e9dfb1f0b3f35e61061'/>
<id>urn:sha1:529bde44081d0bc07a064e9dfb1f0b3f35e61061</id>
<content type='text'>
Currently the ubus path that provide the webserver is hardcoded to be /ubus.
Change this to make it configurable from the luci config file.

Signed-off-by: Ansuel Smith &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge pull request #952 from cshore-history/pull-request-fstab-avoid-block-umount-on-apply</title>
<updated>2018-07-16T20:12:38Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2018-07-16T20:12:38Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=f4dd2e6dfbc97769ff6eb4cc648f91e28e6b5603'/>
<id>urn:sha1:f4dd2e6dfbc97769ff6eb4cc648f91e28e6b5603</id>
<content type='text'>
luci-base: Avoid block umount on fstab apply</content>
</entry>
<entry>
<title>Merge pull request #1769 from jow-/master</title>
<updated>2018-05-18T14:44:33Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2018-05-18T14:44:33Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=828202ef5237f48e6f53d15ca198e2c6815b7cd7'/>
<id>urn:sha1:828202ef5237f48e6f53d15ca198e2c6815b7cd7</id>
<content type='text'>
UCI apply/rollback workflow</content>
</entry>
<entry>
<title>luci-base: reload log on uci system change</title>
<updated>2018-05-07T06:37:35Z</updated>
<author>
<name>Florian Eckert</name>
</author>
<published>2017-11-22T11:09:45Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=6f3007980b6ca507f1b5508768cdd99cc55bb110'/>
<id>urn:sha1:6f3007980b6ca507f1b5508768cdd99cc55bb110</id>
<content type='text'>
If log configuration get changed in uci system no new values are applied
until reboot. Add /etc/init.d/log reload to exec option will solve this
issue.

Signed-off-by: Florian Eckert &lt;fe@dev.tdt.de&gt;
</content>
</entry>
<entry>
<title>treewide: rework uci apply workflow</title>
<updated>2018-05-05T21:11:23Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2018-04-26T06:52:55Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=8deb9495515b97898514e8ffb8f002c8afe3bfa7'/>
<id>urn:sha1:8deb9495515b97898514e8ffb8f002c8afe3bfa7</id>
<content type='text'>
Switch to rpcd based uci apply/rollback workflow which helps to avoid soft-
bricking devices by requiring an explicit confirmation call after config
apply.

When a user now clicks "Save &amp; Apply", LuCI first issues a call to uci apply
which commits and reloads configuration, then goes into a polling countdown
mode where it repeatedly attempts to call uci confirm.

If the committed configuration is sane, the confirm call will go through and
cancel rpcd's pending rollback timer.

If the configuration change leads to a loss of connectivity (e.g. due to bad
firewall rules or similar), the rollback mechanism will kick in after the
timeout and revert configuration files and pending changes to the pre-apply
state.

In order to cover such rare cases where a lost of connectivity is expected
and desired, the user is offered an "unchecked" apply option after timing
out, which allows committing and applying the changes anyway, without the
extra safety checks.

As a consequence of this change, the luci-reload mechanism is now completely
unsused since rpcd uses ubus config reload signals to reload affected
services, which means that only procd-enabled services will receive proper
reload treatment with the new workflow.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>luci-base: add dhcp to system ucitrack</title>
<updated>2017-02-21T09:18:53Z</updated>
<author>
<name>Florian Eckert</name>
</author>
<published>2017-02-21T09:18:53Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=a72d90faac7ffe815a904d6816159549548e6fab'/>
<id>urn:sha1:a72d90faac7ffe815a904d6816159549548e6fab</id>
<content type='text'>
If hostname get changed in "/etc/config/system" dnsmasq should reloaded
his config to be reached again under the URL [HOSTNAME].lan

Signed-off-by: Florian Eckert &lt;Eckert.Florian@googlemail.com&gt;
</content>
</entry>
</feed>
