Skip to content

ENT-14732: Fixed copy_from inform tests failing on HP-UX (3.24.x) - #6406

Closed
larsewi wants to merge 1 commit into
cfengine:3.24.xfrom
larsewi:copy-from-tests-hpux-gid
Closed

larsewi wants to merge 1 commit into
cfengine:3.24.xfrom
larsewi:copy-from-tests-hpux-gid

Conversation

@larsewi

@larsewi larsewi commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

The setup in copy_from01.cf and copy_from03.cf set the source group to sys.user_data[gid], which is the passwd gid. On the HP-UX build host the agent runs with a different effective gid (20 vs. 3). So preserve logged an unexpected group change. Setup now leaves the group as created, so it matches the agent's effective gid.

Supersedes #6404.

Generated with Claude Code

The setup set the source group to sys.user_data[gid], which is the
passwd gid. On the HP-UX build host, the agent runs with a different
effective gid, so copies were created with another group and preserve
logged an unexpected group change:

```
$ grep '^root:' /etc/passwd
root:x:0:3::/root:/sbin/sh
$ sudo id
uid=0(root) gid=20(users) groups=3(sys),0(root),1(other),2(bin),4(adm),5(daemon),6(mail),7(lp)
```

Setup now leaves the group as created, so it matches the agent's
effective gid.

Ticket: ENT-14732
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
@larsewi

larsewi commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor Author

Build Status

@larsewi larsewi closed this Oct 14, 2026
@larsewi

larsewi commented Oct 14, 2026

Copy link
Copy Markdown
Contributor Author

Closed in favor of #6407

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant