[OpenWrt-Devel] [PATCH 1/2] base-files: make USE_PROCD=1 default

Hannu Nyman hannu.nyman at iki.fi
Fri Aug 2 11:00:30 EDT 2019

Hauke Mehrtens kirjoitti 2.8.2019 klo 17.42:
> On 7/23/19 3:37 PM, Petr Štetiar wrote:
>> Transition period for init script migration was long enough, let's
>> make USE_PROCD=1 default now so there's enough time to convert the
>> remaining services/init scripts for the next release.
>> Signed-off-by: Petr Štetiar <ynezz at true.cz>
>> ---
>>   package/base-files/files/etc/rc.common | 113 ++++++++++---------------
>>   1 file changed, 47 insertions(+), 66 deletions(-)
> Do you know how many packages in the package feed and the main
> repository are still not using procd?
> External repositories, not the package feed, will probably be affected
> most, but I think we do not have to care and there were many years to
> convert.
> Acked-by: Hauke Mehrtens <hauke at hauke-m.de>
> Hauke

I do not remember seeing ever a general call for converting the old packages 
to using procd. In that sense this proposed change to switch the default 
comes a bit surpise.

Quick search in the packages feed repo reveals that there are 281 instances 
of "/etc/rc.common" and only 205 instances of USE_PROCD. So, likely about 75 
packages in the packages feed repo only are using the old syntax without procd.

Has a decision been made to declare the old-style init file invalid? Will it 
be possible to still use the syntax? What is the new "override" to indicate 
the usage of the old syntax?

Or will the proposed change disable the packages using the old init file 
syntax totally?

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list