Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
PUP 6.14.0
-
None
-
Puppet masterless, agent 6.14.0 running as root on CentOS 8.
-
Coremunity
-
Platform Core KANBAN
-
Needs Assessment
-
Bug Fix
-
Puppet no longer generates an error when using a log file destination.
-
Needs Assessment
Description
As described in the attached issue, a puppet agent run raises the following error: "Puppet (err): Unable to set ownership to puppet:puppet for log file".
Caused by trying to change the owner to puppet:puppet which doesn't exist and shouldn't happen when run as root.
This happens if the file doesn't exist but also when it does, since it writes to a temporary file and tries to set owner on this one too.
Also the command line parameter "--no-manage_internal_file_permissions" dosen't help.
Although this should have been fixed, it's not.
Attachments
Issue Links
- is duplicated by
-
PUP-7331 "Unable to set ownership" error with logdest on agents
-
- Closed
-