Package: fusioninventory-agent
Version: 2.2.3-2~bpo60+2
Severity: serious
Justification: Policy 10.7


Whene running fusioninventory-agent it calls /sbin/blkid if installed, which
cause an update of /etc/blkid.tab
(maybe this bug should filed against package containing blkid ?)

As part of fusioninventory-agent blkid could be called with a specific cache
file.

Besides writing file in /etc which should have configuration files, it triggers
false-positives for /etc watching tools (we are using metche)

triomph:/tmp# ls -al /etc/blkid.tab
-rw-r--r-- 1 root root 357 Jul 31 13:44 /etc/blkid.tab

triomph:/tmp# date
Thu Jul 31 13:58:01 CEST 2014

triomph:/tmp# fusioninventory-agent 
[info] task WakeOnLan is not enabled
triomph:/tmp# 

triomph:/tmp# ls -al /etc/blkid.tab
-rw-r--r-- 1 root root 357 Jul 31 13:58 /etc/blkid.tab


Excerpt from 
/usr/share/fusioninventory/lib/FusionInventory/Agent/Task/Inventory/Input/Linux/Drives.pm

    if (canRun('blkid')) {
        # use blkid if available, as it is filesystem-independant
        foreach my $filesystem (@filesystems) {
            $filesystem->{SERIAL} = getFirstMatch(
                logger  => $logger,
                command => "blkid $filesystem->{VOLUMN}",
                pattern => qr/\sUUID="(\S*)"\s/
            );
        }




-- System Information:
Debian Release: 6.0.10
  APT prefers oldstable
  APT policy: (990, 'oldstable'), (500, 'squeeze-lts'), (500, 
'oldstable-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-0.bpo.1-amd64 (SMP w/24 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages fusioninventory-agent depends on:
ii  hdparm                 9.32-1            tune hard disk parameters for high
ii  libfile-which-perl     1.08-1            Perl module for searching paths fo
ii  libjson-perl           2.21-1            Perl module to parse and convert t
ii  libnet-ip-perl         1.25-2            Perl extension for manipulating IP
ii  libnet-ssleay-perl     1.36-1            Perl module for Secure Sockets Lay
ii  libproc-daemon-perl    0.03-2            Run Perl program as a daemon proce
ii  libproc-pid-file-perl  1.27-1            Perl module for managing process i
ii  libtext-template-perl  1.45-1            Text::Template perl module
ii  libuniversal-require-p 0.13-1            Load modules from a variable
ii  libwww-perl            5.836-1           Perl HTTP/WWW client/server librar
ii  libxml-treepp-perl     0.39-1            XML::TreePP -- Pure Perl implement
ii  libyaml-perl           0.71-1            YAML Ain't Markup Language
ii  pciutils               1:3.1.7-6         Linux PCI Utilities
ii  perl                   5.10.1-17squeeze6 Larry Wall's Practical Extraction 
ii  ucf                    3.0025+nmu1       Update Configuration File: preserv

fusioninventory-agent recommends no packages.

Versions of packages fusioninventory-agent suggests:
pn  read-edid                     <none>     (no description available)
pn  smartmontools                 <none>     (no description available)

-- Configuration Files:
/etc/fusioninventory/agent.cfg changed [not included]

-- debconf-show failed


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to