Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 2249615 - pgrep complains wrongly about long match over 15 characters
Summary: pgrep complains wrongly about long match over 15 characters
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: procps-ng
Version: 39
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Jan Rybar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-11-14 10:54 UTC by Arjen Heidinga
Modified: 2023-11-17 01:38 UTC (History)
1 user (show)

Fixed In Version: procps-ng-4.0.3-5.fc39
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-17 01:38:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Arjen Heidinga 2023-11-14 10:54:15 UTC
Description of problem:

I have somewhat long pgrep regex. pgrep started compleining (since the upgrade to Fedora39) about a long match. 
pgrep seems to complain I an searching for a process longer than 15 characters, which is false. I just have a long regex.

Version-Release number of selected component (if applicable):
procps-ng-4.0.3-4.fc39.x86_64

How reproducible:
always

Steps to Reproduce:
1. run: pgrep -s 0 '(git|rsync|sshuttle|scp|mc|sshfs|fuse)'
2.
3.

Actual results:
pgrep: pattern that searches for process name longer than 15 characters will result in zero matches
Try `pgrep -f' option to match against the complete command line.

Expected results:
nothing, or a some result. Not that erronious error.

Additional info:

Comment 2 Fedora Update System 2023-11-14 17:02:19 UTC
FEDORA-2023-d3f2f3d6a7 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-d3f2f3d6a7

Comment 3 Fedora Update System 2023-11-15 04:07:12 UTC
FEDORA-2023-d3f2f3d6a7 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-d3f2f3d6a7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-d3f2f3d6a7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2023-11-17 01:38:44 UTC
FEDORA-2023-d3f2f3d6a7 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.