[OpenWrt-Devel] [PATCH] procd: service gets deleted when its last instance is freed

2017-02-27 Thread Alin Nastac
This fixes the following regression introduced in commit 961dc692aff7457f874bce61f8e766514edcf794: 1) reboot using the following configuration root@OpenWrt:~# uci show system.ntp system.ntp=timeserver system.ntp.enable_server='0' system.ntp.use_dhcp='1' system.ntp.dhcp_interface='wan'

Re: [OpenWrt-Devel] [PATCH] procd: service gets deleted when its last instance is freed

2017-02-26 Thread John Crispin
On 24/02/2017 11:21, Alin Năstac wrote: > Hi John, > > On Fri, Feb 24, 2017 at 10:53 AM, John Crispin wrote: >> can you write a little more info as to why this is needed and what >> scenario this fixes/changes ? > > 1) root@OpenWrt:~# uci show system.ntp >

Re: [OpenWrt-Devel] [PATCH] procd: service gets deleted when its last instance is freed

2017-02-24 Thread Alin Năstac
Hi John, On Fri, Feb 24, 2017 at 10:53 AM, John Crispin wrote: > can you write a little more info as to why this is needed and what > scenario this fixes/changes ? 1) root@OpenWrt:~# uci show system.ntp system.ntp=timeserver system.ntp.enable_server='0' system.ntp.use_dhcp='1'

Re: [OpenWrt-Devel] [PATCH] procd: service gets deleted when its last instance is freed

2017-02-24 Thread John Crispin
On 24/02/2017 10:26, Alin Nastac wrote: > Signed-off-by: Alin Nastac Hi, can you write a little more info as to why this is needed and what scenario this fixes/changes ? John > --- > service/service.c | 5 - > service/service.h | 1 + > 2 files changed, 5

[OpenWrt-Devel] [PATCH] procd: service gets deleted when its last instance is freed

2017-02-24 Thread Alin Nastac
Signed-off-by: Alin Nastac --- service/service.c | 5 - service/service.h | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/service/service.c b/service/service.c index 0584ee0..9675ba2 100644 --- a/service/service.c +++ b/service/service.c @@ -140,6