| Summary: | Warning messages in rkhunter since grep has been upgraded to 3.8 | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | GG HH <boulshet> |
| Component: | RPM Packages | Assignee: | All Packagers <pkg-bugs> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | boulshet, dvgevers, marja11 |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | https://sourceforge.net/p/rkhunter/bugs/176/ | ||
| See Also: | https://bugs.mageia.org/show_bug.cgi?id=31327 | ||
| Whiteboard: | |||
| Source RPM: | rkhunter-1.4.6-4.mga9.src.rpm | CVE: | |
| Status comment: | |||
| Attachments: |
fix regressions from the new grep release
Patch |
||
|
Description
GG HH
2022-09-12 20:23:58 CEST
Created attachment 13370 [details]
fix regressions from the new grep release
replace egrep by grep -e
remove rkhunter internal requirement of egrep
remove unusefull \ in grep regexp
Please have a look to the discussion on rkunter bug in the reportCC:
(none) =>
boulshet
Marja Van Waes
2022-09-12 23:43:23 CEST
Attachment 13370 is patch:
0 =>
1
Marja Van Waes
2022-09-12 23:45:59 CEST
Attachment 13370 is patch:
1 =>
0 (In reply to GG HH from comment #1) > Created attachment 13370 [details] > fix regressions from the new grep release > > replace egrep by grep -e > remove rkhunter internal requirement of egrep > remove unusefull \ in grep regexp Assigning to all packagers collectively, since there is no registered maintainer for rkhunter > > Please have a look to the discussion on rkunter bug in the report So here: https://sourceforge.net/p/rkhunter/bugs/176/ Summary:
Warning messages since grep has been upgraded to 3.8 =>
Warning messages in rkhunter since grep has been upgraded to 3.8 IMHO the attachment does more than fix the grep obsolescences.... So I would want to see the rkhunter bug#176 accepted as is by the rkhunter authors before incorporating all the changes made by this "patch" (replacement really). CC:
(none) =>
dvgevers > IMHO the attachment does more than fix the grep obsolescences.... Anything you would like to be explained beside what is described in comment 1 ? > So I would want to see the rkhunter bug#176 accepted as is by the rkhunter authors before incorporating all the changes made by this "patch" (replacement really). Fair enough. Hopefully we will have a feedback but rkhunter did not look so active lately. Please provide patches against pkg sources instead of full script replacements so we can really see what's changed. Created attachment 13371 [details]
Patch
$ rpm -V rkhunter
S.5....T. c /etc/rkhunter.conf
.......T. /usr/sbin/rkhunter
.M?....T. /var/lib/rkhunter/db/mirrors.dat
$ diff /usr/sbin/rkhunter /usr/sbin/rkhunter-egrep-fix-+-backslash-escape > /tmp/rkhunter-egrep-fix-+-backslash-escape.diff
Lewis Smith
2022-12-26 20:36:44 CET
See Also:
(none) =>
https://bugs.mageia.org/show_bug.cgi?id=31327 In the light of comment 3, upping the importance. We are liable to see this egrep error msg in other places. Severity:
minor =>
normal The issue has to be fixed separately in each package which make uses of the deprecated syntax. https://www.phoronix.com/news/GNU-Grep-3.8-Stop-egrep-fgrep The good news is that the fixes are of course trivial, for rkhunter at least. Unfortunately it still is not. Neither upstream nor in mageia. Regards It looks like a patch has been applied $ rpm -q --changelog rkhunter * dim. avril 30 2023 kekepower <kekepower> 1.4.6-5.mga9 + Revision: 1955467 - Add patch to switch from egrep to grep -E It is far better but still misses some issues : grep: warning: stray \ before - grep: warning: stray \ before + The command '-E' must be present on the system in order to run rkhunter. Regards |