Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 877699 - sys-fs/cryptsetup-2.4.3-r1: dmcrypt runscript uses obsolescent 'egrep', emits warnings with >=sys-apps/grep-3.8
Summary: sys-fs/cryptsetup-2.4.3-r1: dmcrypt runscript uses obsolescent 'egrep', emits...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-20 03:01 UTC by Matt Whitlock
Modified: 2022-10-20 18:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Whitlock 2022-10-20 03:01:58 UTC
The /etc/init.d/dmcrypt runscript from sys-fs/cryptsetup is still using the long-deprecated 'egrep' command that now emits warnings as of sys-apps/grep-3.8:

egrep: warning: egrep is obsolescent; using /bin/grep -E

Please correct the runscript so that it calls 'grep -E' instead of 'egrep'.

Note that there is no incorrect behavior (yet!), merely nuisance warnings.
Comment 1 Larry the Git Cow gentoo-dev 2022-10-20 18:00:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b11c3a8a55ffb81ec3194545639513011c7ec54

commit 7b11c3a8a55ffb81ec3194545639513011c7ec54
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2022-10-20 17:59:25 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2022-10-20 17:59:25 +0000

    sys-fs/cryptsetup: replace egrep in init script
    
    Closes: https://bugs.gentoo.org/877699
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 .../{cryptsetup-2.4.3-r1.ebuild => cryptsetup-2.4.3-r2.ebuild}        | 0
 sys-fs/cryptsetup/files/2.4.3-dmcrypt.rc                              | 4 ++--
 2 files changed, 2 insertions(+), 2 deletions(-)