-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
grep -L return value breaks network start #300
Comments
I would suggest replacing this with something like |
jamacku
added a commit
to jamacku/initscripts
that referenced
this issue
Jan 24, 2020
related to fedora-sysv#300 sugested by @lnykryn
jamacku
added a commit
to jamacku/initscripts
that referenced
this issue
Jan 24, 2020
related to fedora-sysv#300 sugested by @lnykryn
jamacku
added a commit
to jamacku/initscripts
that referenced
this issue
Jan 24, 2020
Sugested by @lnykryn Related to issue fedora-sysv#300
jamacku
added a commit
to jamacku/initscripts
that referenced
this issue
Jan 24, 2020
Sugested by @lnykryn Related to issue fedora-sysv#300
Hi, |
jamacku
added a commit
to jamacku/initscripts
that referenced
this issue
Jan 27, 2020
Sugested by @lnykryn Related to issue fedora-sysv#300
jamacku
added a commit
to jamacku/initscripts
that referenced
this issue
Mar 10, 2020
Sugested by @lnykryn Related to issue fedora-sysv#300
jamacku
added a commit
to jamacku/initscripts
that referenced
this issue
Apr 16, 2020
Sugested by @lnykryn Related to issue fedora-sysv#300 (cherry picked from commit 55ee446)
jamacku
added a commit
to jamacku/initscripts
that referenced
this issue
Apr 16, 2020
Sugested by @lnykryn Related to issue fedora-sysv#300 (cherry picked from commit 04bb81e)
jamacku
added a commit
to jamacku/initscripts
that referenced
this issue
Apr 16, 2020
Option -L is not supported in grep 3.2+ Related to #rhbz1824324 ----------- Sugested by @lnykryn Related to issue fedora-sysv#300 (cherry picked from commit 04bb81e)
Fixed in initscripts 10.03 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Spotted by M. W. on Mageia:
** Changes in behavior
The --files-without-match (-L) option now causes grep to succeed
when a file is listed, instead of when a line is selected. This
resembles what git-grep does.
This breaks the init.d/network scripts there:
if LANG=C grep -EL "^ONBOOT=['\"]?[Nn][Oo]['\"]?" ifcfg-$i > /dev/null ;
then
# this loads the module, to preserve ordering
is_available $i
continue
fi
and just after for the
# Bring up xDSL and VPN interfaces
.The fix is to either use a negation, or the negated option
-l
Cheers,
Chris.
The text was updated successfully, but these errors were encountered: