Actions
Bug #12344
closedRudderUniqueId is not replaced when using OUTPATH in metadata, causing no report in File Permissions
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:
Description
I created a Directive based on File Permissions technique v2.2, with Rudder 4.3, and when trying to set permissions to a non existing file, even if i setted "Ignore absent" option
It probably happens in 4.1 also
Updated by Nicolas CHARLES over 6 years ago
- Subject changed from No reports in Technique "File permissions" is file doesn't exist to No reports in Technique "File permissions"
- Target version changed from 4.1.11 to 4.3.0~rc3
/var/rudder/cfengine-community/inputs/filesPermissions# tree . ├── 2.2_04f409ae_fa6e_4495_85d4_594cc5eb1533 │ └── filesPermissions.cf └── RudderUniqueID └── permlist 2 directories, 2 files
rudder info: CfReadFile: Could not examine file '/var/rudder/cfengine-community/inputs/filesPermissions/2.2_04f409ae_fa6e_4495_85d4_594cc5eb1533/../04f409ae_fa6e_4495_85d4_594cc5eb1533/permlist' (stat: No such file or directory)
So RudderUniqueId has not the same replacement in path and template, and it is not replaced at all in outpath (see #11862)
Updated by Nicolas CHARLES over 6 years ago
- Translation missing: en.field_tag_list set to Blocking 4.3
- Subject changed from No reports in Technique "File permissions" to RudderUniqueId is not replaced when using OUTPATH in metadata, causing no report in File Permissions
Updated by Nicolas CHARLES over 6 years ago
- Related to Bug #11862: RudderUniqueID is not replaced when used in OUTPATH added
Updated by Nicolas CHARLES over 6 years ago
i mmetadata.xml, i have
<TMLS> <TML name="filesPermissions"/> <TML name="permlist"> <INCLUDED>false</INCLUDED> <OUTPATH>filesPermissions/RudderUniqueID/permlist</OUTPATH> </TML> </TMLS>
Updated by François ARMAND over 6 years ago
- Status changed from New to In progress
- Assignee set to François ARMAND
Updated by François ARMAND over 6 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/rudder/pull/1887
Updated by François ARMAND over 6 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|c68f393442ca3e95dbfad5d87cca223048a76393.
Updated by François ARMAND over 6 years ago
Applied in changeset rudder|24c63acac9fbf443b8582cd60355e5f7bc502557.
Updated by Vincent MEMBRÉ over 6 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 4.3.0~rc3 which was released today.
- 4.3.0~rc3: Announce Changelog
- Download: https://www.rudder-project.org/site/get-rudder/downloads/
Actions