Project

General

Profile

Actions

Bug #500

closed

duplicate values in host-os-policy not detected

Added by Victor Julien about 13 years ago. Updated 11 days 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.

Actions #1

Updated by Victor Julien about 13 years ago

  • Target version changed from 1.4beta1 to 1.4beta2
Actions #2

Updated by Victor Julien almost 13 years ago

  • Target version changed from 1.4beta2 to 1.4beta3
Actions #3

Updated by Victor Julien almost 13 years ago

  • Target version changed from 1.4beta3 to 1.4rc1
Actions #4

Updated by Victor Julien almost 13 years ago

  • Priority changed from Normal to Low
Actions #5

Updated by Victor Julien almost 13 years ago

  • Target version changed from 1.4rc1 to 2.0rc2
Actions #6

Updated by Victor Julien over 11 years ago

  • Target version changed from 2.0rc2 to 3.0RC2
Actions #7

Updated by Victor Julien over 10 years ago

  • Target version changed from 3.0RC2 to 70
Actions #8

Updated by Victor Julien over 9 years ago

  • Assignee changed from Anoop Saldanha to OISF Dev
Actions #9

Updated by Victor Julien about 7 years ago

  • 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
Actions #10

Updated by Victor Julien about 7 years ago

  • Target version changed from 70 to TBD
Actions #11

Updated by Andreas Herz over 6 years ago

  • Assignee set to Community Ticket
Actions #12

Updated by Andreas Herz about 6 years ago

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

Actions #13

Updated by Philippe Antoine about 2 years ago

  • Tracker changed from Bug to Optimization
Actions #14

Updated by Victor Julien about 2 years ago

  • Tracker changed from Optimization to Bug

Leaving as bug.

Actions #15

Updated by Philippe Antoine 11 days ago

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

Actions #16

Updated by Philippe Antoine 11 days ago

  • 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: Atom PDF