Project

General

Profile

Actions

Bug #8026

closed

Architecture #8015: Preliminary support for Slackware

Slackware support for FusionInventory-Agent

Added by Jérémy HOCDÉ about 8 years ago. Updated over 7 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Nodes & inventories
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Something is wrong into inventory for slackware nodes

report of fusioninventory :
...
<SOFTWARES>
<NAME>pygtk-2.24.</NAME>
<VERSION>0-x86_64-1</VERSION>
</SOFTWARES>
...

to fix it : patch regex in fusioninventory-agent-2.3.6/lib/FusionInventory/Agent/Task/Inventory/Generic/Softwares/Slackware.pm
- next unless $file =~ /^(.+)([^-]+-[^-]+-[^-]+)$/;
+ next unless $file =~ /^(.+)-(.+)-(i[0-9]86|noarch|x86_64|x86|fw|npmjs)-(.*)$/;

$1 -> name
$2 -> version
$3 -> architecture
$4 -> build

patch in attachments

After patching :
<NAME>xrandr</NAME>
<VERSION>1.4.1</VERSION>

tested on slackware64-14.1 et slackware-14.1


Files

0014-fix-slack-inventory.patch (575 Bytes) 0014-fix-slack-inventory.patch Jérémy HOCDÉ, 2016-03-03 13:01
0014-fix-slack-inventory.patch (571 Bytes) 0014-fix-slack-inventory.patch Jérémy HOCDÉ, 2016-03-03 13:29
Actions #1

Updated by Jérémy HOCDÉ about 8 years ago

petite coquille dans le .patch :þ

Actions #2

Updated by Benoît PECCATTE about 8 years ago

  • Target version set to 4.0.0~rc2
Actions #3

Updated by Benoît PECCATTE about 8 years ago

  • Status changed from New to In progress
  • Assignee set to Benoît PECCATTE
Actions #4

Updated by Benoît PECCATTE about 8 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Benoît PECCATTE to Jonathan CLARKE
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/902
Actions #5

Updated by Benoît PECCATTE about 8 years ago

  • Assignee changed from Jonathan CLARKE to Alexis Mousset
Actions #6

Updated by Benoît PECCATTE about 8 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #7

Updated by Benoît PECCATTE over 7 years ago

  • Target version changed from 4.0.0~rc2 to 318
Actions #8

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 318 to 4.0.0~rc2
Actions #9

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 4.0.0~rc2 to 4.0.0~rc1
Actions #10

Updated by Vincent MEMBRÉ over 7 years ago

  • Parent task set to #8015
Actions #11

Updated by Alexis Mousset over 7 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.0.0 which was released the 10th November 2016.

Actions

Also available in: Atom PDF