Mailinglist Archive: opensuse-factory (242 mails)
| < Previous | Next > |
Re: [opensuse-factory] /usr/bin/hostid?
- From: Ludwig Nussel <ludwig.nussel@xxxxxxx>
- Date: Mon, 1 Mar 2010 16:13:48 +0100
- Message-id: <201003011613.49134.ludwig.nussel@xxxxxxx>
Thorsten Kukuk wrote:
Ah, ok.
If LSB uses hostid and relies on that specific output something must
be broken one way or another. But then do other distros actually
care about LSB?
cu
Ludwig
--
(o_ Ludwig Nussel
//\
V_/_ http://www.suse.de/
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
On Tue, Feb 23, Ludwig Nussel wrote:
Does anyone know any users of /usr/bin/hostid? We have a custom one
in the util-linux package but upstream coreutils contains a
different implementation. Ours prints '0xnumber' while upstream only
prints 'number'. Also ours allows to set the hostid and the man page
refers to /etc/hostid. However, hostid doesn't actually read that
file and there also doesn't seem to be an init script for it either.
Of course does /usr/bin/hostid read /etc/hostid, only look at strace.
Ok, it's not hostid directly, but via gethostid() from glibc.
Ah, ok.
So I wonder whether we could safely switch to the coreutils version.
Somebody need to check LSB, if the test suite uses this command.
The spec doesn't refer to it, but this means nothing.
If LSB uses hostid and relies on that specific output something must
be broken one way or another. But then do other distros actually
care about LSB?
cu
Ludwig
--
(o_ Ludwig Nussel
//\
V_/_ http://www.suse.de/
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
| < Previous | Next > |