Back to bug 2181974

Who When What Removed Added
Red Hat Bugzilla 2023-03-27 06:46:19 UTC Pool ID sst_cs_system_management_rhel_9
Red Hat One Jira (issues.redhat.com) 2023-03-27 06:49:04 UTC Link ID Red Hat Issue Tracker RHELPLAN-153132
Red Hat One Jira (issues.redhat.com) 2023-03-27 06:49:07 UTC Link ID Red Hat Issue Tracker RHELPLAN-153133
Pradeep Jagtap 2023-03-27 06:54:32 UTC CC than
Than Ngo 2023-03-27 11:49:23 UTC Target Release --- 9.3
Status NEW ASSIGNED
RHEL Program Management 2023-03-27 11:49:31 UTC Keywords Triaged
Than Ngo 2023-03-27 11:51:40 UTC QA Contact rhel-cs-system-management-subsystem-qe efedin
Than Ngo 2023-03-27 11:53:12 UTC Doc Type If docs needed, set a value Bug Fix
Doc Text Cause:
the bug is triggered when user executes the 'which' command
in directory with verry long path

Consequence:
'which' aborts with error "Can't get current working directory"

Fix:
use PATH_MAX instead hardcoded 256

Result:
which' should not abort with the error "Can't get current working directory"
Than Ngo 2023-03-27 15:11:49 UTC Fixed In Version which-2.21-29.el9
Status ASSIGNED MODIFIED
errata-xmlrpc 2023-04-03 14:44:15 UTC Status MODIFIED ON_QA
Iveta Wiedermann 2023-04-19 06:25:17 UTC CC isenfeld
QA Contact efedin isenfeld
Than Ngo 2023-05-10 11:21:36 UTC Doc Type Bug Fix Release Note
Doc Text Cause:
the bug is triggered when user executes the 'which' command
in directory with verry long path

Consequence:
'which' aborts with error "Can't get current working directory"

Fix:
use PATH_MAX instead hardcoded 256

Result:
which' should not abort with the error "Can't get current working directory"
the bug is triggered when user executes the 'which' command
in directory with very long path and the consequence is that
'which' aborts with error "Can't get current working directory"

To fix this issue it is use PATH_MAX instead hardcoded 256
errata-xmlrpc 2023-05-17 10:15:44 UTC Status ON_QA VERIFIED
Lucie Vařáková 2023-07-12 09:47:42 UTC Doc Type Release Note Bug Fix
Docs Contact sjanderk
Red Hat Bugzilla 2023-07-31 22:28:23 UTC CC isenfeld
QA Contact isenfeld rhel-cs-system-management-subsystem-qe

Back to bug 2181974