OpenWrt/LEDE Project

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Very Low
  • Priority Very Low
  • Reported Version openwrt-21.02
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Rodney Hester - 12.05.2021
Last edited by Jo-Philipp Wich - 12.05.2021

FS#3801 - service function in shinit fails if service name contains a dash

On OpenWRT 21.02, a change was made recently to use uniq to handle multi-process services.

While reviewing it, I discovered that service names containing a dash throw the following error from jsonfilter (visible if you remove the -q argument in the function):

Syntax error: Invalid escape sequence
In expression @.dnscrypt-proxy.instances[*].running
Near here --------------^

which results in the service being indicated as not running.

Closed by  Jo-Philipp Wich
12.05.2021 10:46
Reason for closing:  Fixed
Admin
Jo-Philipp Wich commented on 12.05.2021 10:46

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing