Hi Gonéri,

Resolved the bug and committed into my branch.

Cheers,
Amir

------------------------------------------------------------------------
*From:* Gonéri Le Bouder <[email protected]>
*Sent:* Thu, 8 Jul 2010 15:59:53 +0430
*To:* Pakdel Amir <[email protected]>
*CC:* fusioninventory-devel <[email protected]>
*Subject:* Re: [fusioninventory-agent - Bug #188] (New) HP-UX errors when
listing drives



On 07/08/2010 03:59 PM, Gonéri Le Bouder wrote:
Hi Amir,

This bug report may interest you.

Best regards,

2010/7/8 <[email protected] <mailto:[email protected]>>

    Issue #188 has been reported by Sébastien Prud'homme.

    ----------------------------------------
    Bug #188: HP-UX errors when listing drives
    http://forge.fusioninventory.org/issues/188

    Author: Sébastien Prud'homme
    Status: New
    Priority: Low
    Assigned to:
    Category:
    Target version:


    On a HP-UX server, got some non-blocking errors on the stderr :

    <pre>
    bdf: option requires an argument -- t
    usage: bdf [ -b ] [ -i ] [ -l ] [ -s ] [-t type | file... ]
    </pre>

    Found the problem: HPUX/Drives.pm uses "fstyp -l" to list the
    filesystems" but a got empty lines on my server:

    <pre>
    hfs
    nfs
    cdfs



    ffs
    lofs
    procfs
    vxfs
    nfs3
    nfs4
    autofs
    cachefs
    nfs4deleg
    cfsm
    cifs
    pipefs
    dnlc_neg_fs
    </pre>

    The loop that is using the result of "fstyp -l" should ignore
    empty lines (that is test whether $filesystem is an empty string
    or not)


    --
    You have received this notification because you have either
    subscribed to it, or are involved in it.
    To change your notification preferences, please click here:
    http://forge.fusioninventory.org/my/account




--
    Gonéri Le Bouder
_______________________________________________
Fusioninventory-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/fusioninventory-devel

Répondre à