Project

General

Profile

Actions

Bug #500

closed
VJ CT

duplicate values in host-os-policy not detected

Bug #500: duplicate values in host-os-policy not detected

Added by Victor Julien almost 14 years ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Target version:
Affected Versions:
Effort:
low
Difficulty:
low
Label:

Description

Duplicate values like below are not handled properly.

host-os-policy:
  # Make the default policy windows.
  windows: ["1.2.3.4"]
  bsd: ["1.2.3.4"]
  bsd-right: []
  old-linux: []
  linux: ["1.2.3.4"]
  old-solaris: []
  solaris: ["1.2.3.4"]
  hpux10: ["1.2.3.4"]
  hpux11: ["1.2.3.4"]
  irix: ["1.2.3.4"]
  macos: ["1.2.3.4"]
  vista: ["1.2.3.4"]
  windows2k3: ["1.2.3.4"]

Please make sure we error out on this condition.

Please also add unittests.

VJ Updated by Victor Julien over 13 years ago Actions #1

  • Target version changed from 1.4beta1 to 1.4beta2

VJ Updated by Victor Julien over 13 years ago Actions #2

  • Target version changed from 1.4beta2 to 1.4beta3

VJ Updated by Victor Julien over 13 years ago Actions #3

  • Target version changed from 1.4beta3 to 1.4rc1

VJ Updated by Victor Julien over 13 years ago Actions #4

  • Priority changed from Normal to Low

VJ Updated by Victor Julien over 13 years ago Actions #5

  • Target version changed from 1.4rc1 to 2.0rc2

VJ Updated by Victor Julien about 12 years ago Actions #6

  • Target version changed from 2.0rc2 to 3.0RC2

VJ Updated by Victor Julien almost 11 years ago Actions #7

  • Target version changed from 3.0RC2 to 70

VJ Updated by Victor Julien almost 10 years ago Actions #8

  • Assignee changed from Anoop Saldanha to OISF Dev

VJ Updated by Victor Julien over 7 years ago Actions #9

  • Status changed from Assigned to New
  • Assignee changed from OISF Dev to Anonymous
  • Priority changed from Low to Normal
  • Effort set to low
  • Difficulty set to low

VJ Updated by Victor Julien over 7 years ago Actions #10

  • Target version changed from 70 to TBD

AH Updated by Andreas Herz about 7 years ago Actions #11

  • Assignee set to Community Ticket

AH Updated by Andreas Herz over 6 years ago Actions #12

How much is the host-os policy feature used?
Since we also didn't update the map for the OS to reflect new additions.

PA Updated by Philippe Antoine over 2 years ago Actions #13

  • Tracker changed from Bug to Optimization

VJ Updated by Victor Julien over 2 years ago Actions #14

  • Tracker changed from Optimization to Bug

Leaving as bug.

PA Updated by Philippe Antoine 8 months ago Actions #15

No longer a bug in 8: Error: host-os-info: duplicate ipv4 address '1.2.3.4' [SCHInfoAddHostOSInfo:util-host-os-info.c:165]

PA Updated by Philippe Antoine 8 months ago Actions #16

  • Status changed from New to Closed
  • Target version changed from TBD to 8.0.0

Fixed by commit 8536dd51b5f7cf67227dc8f059208165c6ab2f9d

leaving as still a problem in 7...

Actions

Also available in: PDF Atom