Re: adding boot_id to procfs for linux support

From: Sami Halabi <sodynet1_at_gmail.com>
Date: Sat, 05 Mar 2022 22:25:54 UTC
btw: as stated in:
https://www.kernel.org/doc/html/latest/admin-guide/sysctl/kernel.html#random

uuid should be regenerated everytime its read
and boot_id should be set once

Sami

On Sun, Mar 6, 2022 at 12:22 AM Sami Halabi <sodynet1@gmail.com> wrote:

> hi,
> opened a bug report:  *Bug 262369*
> <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262369>
> hope someone can pick this and implement quickly.
> sami
>
> On Sun, Mar 6, 2022 at 12:13 AM Sami Halabi <sodynet1@gmail.com> wrote:
>
>> Hi,
>> Linuxulator is great. however it has:
>> /proc/sys/kernel/random/uuid
>> which basically emulates boot_id for linux, but many programs refe to :
>> /proc/sys/kernel/random/boot_id
>>
>> i tried to symlink (ln -s  /proc/sys/kernel/random/uuid
>> /proc/sys/kernel/random/boot_id) but it seems a redonly dir
>>
>> I think this should be added for linux compatibility or create also
>> boot_id file (with the same value?)
>>
>> how can I add this as root if possible ? or maybe ad this for linuxulator
>> (as a bug?)
>>
>> Sami
>>
>> --
>> Sami Halabi
>> Information Systems Engineer
>> NMS Projects Expert, FreeBSD SysAdmin Expert
>> Asterisk Expert
>>
>
>
> --
> Sami Halabi
> Information Systems Engineer
> NMS Projects Expert, FreeBSD SysAdmin Expert
> Asterisk Expert
>


-- 
Sami Halabi
Information Systems Engineer
NMS Projects Expert, FreeBSD SysAdmin Expert
Asterisk Expert