<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luci/modules/luci-base/root/etc/init.d, branch master</title>
<subtitle>Lua Configuration Interface (mirror)</subtitle>
<id>https://git-03.infra.openwrt.org/project/luci/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/project/luci/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/luci/'/>
<updated>2024-04-29T06:57:30Z</updated>
<entry>
<title>luci-base: always add ucitrack independently of uci config</title>
<updated>2024-04-29T06:57:30Z</updated>
<author>
<name>Florian Eckert</name>
</author>
<published>2024-04-29T06:57:19Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/luci/commit/?id=8f2dfa7058e184a064a2f3d49291ad9e446b3228'/>
<id>urn:sha1:8f2dfa7058e184a064a2f3d49291ad9e446b3228</id>
<content type='text'>
It is possible that the uci configuration file will be added to the system
later. Therefore, ucitrack json definitions are always added to ucitrack
triggers and it is not checked whether the uci configuration file exists.

Reported-by: Chen Minqiang &lt;ptpt52@gmail.com&gt;
Signed-off-by: Florian Eckert &lt;fe@dev.tdt.de&gt;
</content>
</entry>
<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-03.infra.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: ucitrack: fix broken affects logic</title>
<updated>2022-03-30T12:12:38Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2022-03-30T12:09:10Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/luci/commit/?id=71106351344ea390e0f510e3f9ad34685bacc1ee'/>
<id>urn:sha1:71106351344ea390e0f510e3f9ad34685bacc1ee</id>
<content type='text'>
Changes on a given configuration should trigger change events on affected
configurations, not the other way around.

Fixes: #5745
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>ucitrack: fix bug for exec with params</title>
<updated>2020-03-22T17:05:31Z</updated>
<author>
<name>jjm2473</name>
</author>
<published>2020-03-22T16:58:46Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/luci/commit/?id=97780a9ce158097e17ed7842ae01e765d5da4955'/>
<id>urn:sha1:97780a9ce158097e17ed7842ae01e765d5da4955</id>
<content type='text'>
In file `/etc/config/ucitrack`
```
config fstab
        option exec '/sbin/block mount'
```
`/sbin/block mount` never be called after fstab changed.

Signed-off-by: jjm2473 &lt;1129525450@qq.com&gt;
</content>
</entry>
<entry>
<title>luci-base: add transitional /etc/init.d/ucitrack</title>
<updated>2018-05-05T21:11:23Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2018-05-02T08:37:02Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/luci/commit/?id=9f796fad3a0cc89df57d4e27ef6d7223a093071c'/>
<id>urn:sha1:9f796fad3a0cc89df57d4e27ef6d7223a093071c</id>
<content type='text'>
Ship an /etc/init.d/ucitrack for spawning a virtual service with the sole
purpose to track the configurations and dependencies formerly handled by
luci-reload.

Once all LuCI supported services ship with procd compatible init scripts,
the uci track support can be dropped.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
</feed>
