On Mon, Jan 9, 2023 at 6:40 AM Matteo Riondato <[email protected]> wrote: > > On 2022-12-24 at 03:39 EST, Tobias C. Berner <[email protected]> wrote: > > >Moin moin > > > >I think it tries to solve the same problem of giving the machine a unique id. > > > >From the linux man page [1] > > > > The machine ID does not change based on local or network > > configuration or when hardware is replaced. Due to this and its > > greater length, it is a more useful replacement for the > > gethostid(3) call that POSIX specifies. > > > > Does this make or should it make hostid obsolete? I hope not, since the NFSv4 client uses /etc/hostid.
> If yes, then changes are needed to deorbit hostid. If not, why not? If this is somehow a better algorithm than the one used by uuidgen(1) then I would prefer seeing that utility improved instead of a new one being added. If software needs to acquire the host uuid, the code can simply get the sysctl kern.hostuuid. Unless there is a really good reason to have this one in the system as well as uuidgen(1), I'd suggest you revert this commit. rick > > Thanks, > Matteo > > CAUTION: This email originated from outside of the University of Guelph. Do > not click links or open attachments unless you recognize the sender and know > the content is safe. If in doubt, forward suspicious emails to > [email protected] >
