Project

General

Profile

Actions

Bug #27947

closed

Error on augeas check method to compare numeric

Bug #27947: Error on augeas check method to compare numeric

Added by Lucas FRANCOIS 8 months ago. Updated 7 months ago.

Status:
Released
Priority:
To review
Assignee:
Category:
Module - augeas
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No

Description

My value in /etc/login.defs is at 365
Happening in 9.0 so probably also in 8.3
Augeas method returns :

raugtool> check /files/etc/login.defs/PASS_MAX_DAYS <= 365
error: numeric comparison: 365 <= 365 is invalid
raugtool> check /files/etc/login.defs/PASS_MAX_DAYS <= 366
numeric comparison: 365 <= 366 is valid
raugtool> check /files/etc/login.defs/PASS_MAX_DAYS < 365
numeric comparison: 365 < 365 is valid
raugtool> check /files/etc/login.defs/PASS_MAX_DAYS < 364
error: numeric comparison: 365 < 364 is invalid
raugtool> check /files/etc/login.defs/PASS_MAX_DAYS <= 364
error: numeric comparison: 365 <= 364 is invalid
raugtool> check /files/etc/login.defs/PASS_MAX_DAYS < 366
numeric comparison: 365 < 366 is valid

Updated by Nicolas CHARLES 8 months ago Actions #2

I confirm it happens also on 8.3

Updated by Martin HART 8 months ago Actions #3

  • Status changed from New to In progress
  • Assignee set to Martin HART

Updated by Martin HART 8 months ago Actions #4

  • Status changed from In progress to Pending technical review
  • Pull Request set to https://github.com/Normation/rudder/pull/6748

Updated by Anonymous 8 months ago Actions #5

  • Status changed from Pending technical review to Pending release

Updated by Martin HART 8 months ago Actions #6

  • Fix check changed from To do to Checked

Updated by Vincent MEMBRÉ 7 months ago Actions #7

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 8.3.7 and 9.0.2 which were released today.

Actions

Also available in: PDF Atom