Project

General

Profile

Actions

Bug #23623

closed

Agent uses hardcoded /bin/getent

Added by Alexis Mousset 7 months ago. Updated 6 months ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No

Description

In some conditions we saw SLES15 SP4 and Debian 11 fallback to getent for user information and fail with:

CFEngine(agent) rudder Couldn't run '/bin/getent'. (execv: No such file or directory)

And it is indeed not present in /bin/getent but only in /usr/bin/getent (and instead of a global symlink to merge bin and usr/bin like most distros, the few binaries present in /bin are actually symlinks themselves).

Actions #1

Updated by Alexis Mousset 7 months ago

  • Status changed from New to In progress
  • Assignee set to Alexis Mousset
Actions #2

Updated by Alexis Mousset 7 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis Mousset to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/2826
Actions #3

Updated by Alexis Mousset 7 months ago

  • Status changed from Pending technical review to Pending release
Actions #4

Updated by Alexis Mousset 6 months ago

  • Fix check changed from To do to Checked
Actions #5

Updated by Vincent MEMBRÉ 6 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 7.3.8 and 8.0.1 which were released today.

Actions

Also available in: Atom PDF