OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Eric Schoeller - 01.01.2019

FS#2038 - [18.06.1] Installing package grep breaks /etc/preinit

I receive this error during start-up:

/etc/preinit: line 1: grep: not found

After I have installed the ‘grep - 2.26-1’ package.

BusyBox has it’s grep applet installed in /bin/grep, and the grep package removes this and installs the full version in /usr/bin/grep. For whatever reason /etc/preinit cannot find /usr/bin/grep despite the path being set and including /usr/bin.

Removing the ‘grep - 2.26-1’ package allows the system to revert back to BusyBox grep and /etc/preinit no longer reports an error.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing