Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#52174 - hostid gives 00000000 when wifi is on

Attached to Project: Arch Linux
Opened by lainme (lainme) - Friday, 16 December 2016, 12:05 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 18 December 2016, 22:49 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

When wifi if off, the hostid command can give correct values. But when wifi is enabled, hostid gives 00000000. This starts to happen after recent system upgrades. I tried to downgrade the coreutils package but it didn't fix the problem. I suppose some other packages are responsible for the problem.

Additional info:

* coreutils 8.26-1

Steps to reproduce:

1. upgrade all packages to the newest version.

2. connect to wifi

3. enter 'hostid' in command line, the output is "00000000"
This task depends upon

Closed by  Doug Newgard (Scimmia)
Sunday, 18 December 2016, 22:49 GMT
Reason for closing:  Not a bug
Comment by Doug Newgard (Scimmia) - Sunday, 18 December 2016, 14:06 GMT
This program doesn't do much useful, what are you trying to use if for here?

Anyway, this is likely because you don't have an entry in /etc/hosts for the hostname you're on.
Comment by lainme (lainme) - Sunday, 18 December 2016, 15:20 GMT
The license manager from a commercial software uses it for verification. Thank you for your help, adding hostname to /etc/hosts fixes the problem. I think this bug report may be closed.
Comment by Doug Newgard (Scimmia) - Sunday, 18 December 2016, 22:48 GMT
LOL, using hostid for licensing is a really horrible idea, it's not even close to unique and can change easily. Not your issue, though.

Loading...