Project

General

Profile

Actions

Bug #23623

closed

Agent uses hardcoded /bin/getent

Added by Alexis Mousset about 1 year ago. Updated about 1 year 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

Also available in: Atom PDF