Project

General

Profile

Actions

Bug #27350

open

Script 6_2_4_UIDs_consistency.sh, 6_2_5_GIDs_consistency.sh, 6_2_6_username_consistency.sh, 6_2_7_groupname_consistency.sh exit 0 even when it should node

Added by Nicolas CHARLES 7 days ago. Updated 7 days ago.

Status:
Pending release
Priority:
N/A
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

I don't understand why, but the CODE=1 doesn't appear in the bash -x of the scripts

+ CODE=0
+ cut -f3 -d: /etc/passwd
+ sort -n
+ uniq -c
+ read x
+ '[' -z 1 ']'
+ set - 1
Duplicate UID (48): apache itruc
+ exit 0
Actions #1

Updated by Nicolas CHARLES 7 days ago

  • Subject changed from Script 6_2_4_UIDs_consistency.sh exit 0 if there are multiple uid to Script 6_2_4_UIDs_consistency.sh and 6_2_5_GIDs_consistency.sh exit 0 if there are multiple uid
  • Description updated (diff)
Actions #2

Updated by Nicolas CHARLES 7 days ago

  • Subject changed from Script 6_2_4_UIDs_consistency.sh and 6_2_5_GIDs_consistency.sh exit 0 if there are multiple uid to Script 6_2_4_UIDs_consistency.sh, 6_2_5_GIDs_consistency.sh, 6_2_6_username_consistency.sh, 6_2_7_groupname_consistency.sh exit 0 even when it should node
Actions #3

Updated by Nicolas CHARLES 7 days ago

  • Status changed from New to In progress
  • Assignee set to Nicolas CHARLES
Actions #4

Updated by Nicolas CHARLES 7 days ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-plugins-private/pull/1097
Actions #5

Updated by Nicolas CHARLES 7 days ago

  • Status changed from Pending technical review to Pending release

Applied in changeset rudder-plugins-private:commit:rudder-plugins-private|4e3a54d90f7bbf060e69ec5f615e1227fd84ee25.

Actions

Also available in: Atom PDF