07.08.2018, 12:05, "Jan Kratochvil" <jan.kratoch...@redhat.com>:
> Hello,
>
> On Tue, 07 Aug 2018 10:21:05 +0200, Andrey Ponomarenko wrote:
>>  sudo dnf config-manager --add-repo 
>> https://download.opensuse.org/repositories/home:/linuxbuild/Fedora_Rawhide/home:linuxbuild.repo
>>  sudo dnf config-manager --set-enabled home_linuxbuild
>>  sudo dnf install hw-probe
>
> that looks better, thanks. Still it is from non-Fedora build but then it
> contains only a text script anyway.
>
>>  It's better to use lightweight all-in-one AppImage (F15 and higher) or Snap
>>  (F26 and higher):
>>
>>  https://github.com/linuxhw/hw-probe#appimage
>>  https://github.com/linuxhw/hw-probe#snap
>
> I do not like recommending such insecure behavior - to run untrusted binaries
> with root permissions - without even warning it is insecure.
>
>>  Usually people don't create more than two probes per computer, so receiving
>>  updates is not necessary.
>
> It is insecure to keep non-updated software installed/available on your
> computer.
>
> Anyway it somehow does not work for me, in the past I registered
>         https://linux-hardware.org/?probe=bf0a7f04b4
>
> But now I cannot update the info trying to prevent a duplicate:
>         # hw-probe -get-inventory-id
>         Group ID: 8557d9ad
>         # hw-probe -inventory-id bf0a7f04b4
>         # hw-probe -get-inventory-id
>         Group ID: 4d2703f5
>         # hw-probe -inventory-id bf0a7f04b4
>         # hw-probe -get-inventory-id
>         Group ID: 07746fb5
>         # hw-probe -get-inventory-id
>         Group ID: 077ce20e
>         # hw-probe -inventory-id 0xbf0a7f04b4
>         # hw-probe -get-inventory-id
>         Group ID: 7b448de5
>         # hw-probe -get-inventory-id
>         Error request
>         # hw-probe -get-inventory-id
>         Error request

1) Yep, it's safer to have a package in the official Fedora repositories. Spec 
is available in the OBS project: 
https://build.opensuse.org/package/view_file/home:linuxbuild/hw-probe/hw-probe.spec?expand=1

2) The -get-inventory-id option creates a new inventory id (or 'group') to mark 
new probes by this id. You've created too many inventory ids per day and 
received an error when trying to create more. Usually it's enough to have only 
one inventory id.

bf0a7f04b4 is a probe id (10-digit), not the inventory id. Your inventory id is 
8557d9ad (8-digit). Just use it to mark all your future probes with the help of 
-inventory-id option:

    sudo hw-probe -all -upload -inventory-id G

It's enough to mark each unique computer once.

The command:

    hw-probe -inventory-id G

does nothing without -all and -upload options.

The command:

    hw-probe -get-inventory-id

creates a new group/inventory id (G) each time.

Thank you.
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/LMGAVYSMRFHW6HYT3WXL4NSAOSOAXUOU/

Reply via email to