Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Mar 2022 00:25:54 +0200
From:      Sami Halabi <sodynet1@gmail.com>
To:        eadler@freebsd.org, kostikbel@gmail.com,  FreeBSD virtualization <freebsd-virtualization@freebsd.org>, freebsd-emulation@freebsd.org
Subject:   Re: adding boot_id to procfs for linux support
Message-ID:  <CAEW%2BogaU=fzH-GoJzomVpr%2Bpoi2FCQ=MGSA1krfQDEbPh_sSYw@mail.gmail.com>
In-Reply-To: <CAEW%2BogZNCxFJ7=95e=DrWfacCeY0%2BiU7H3fch3g9=Y8tLfSYUw@mail.gmail.com>
References:  <CAEW%2BogY67T2t6yqb96EvisFHyaKRkiYH871VARsG7Rm2_89k0w@mail.gmail.com> <CAEW%2BogZNCxFJ7=95e=DrWfacCeY0%2BiU7H3fch3g9=Y8tLfSYUw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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

[-- Attachment #2 --]
<div dir="ltr">btw: as stated in: <a href="https://www.kernel.org/doc/html/latest/admin-guide/sysctl/kernel.html#random">https://www.kernel.org/doc/html/latest/admin-guide/sysctl/kernel.html#random</a><div><br></div><div>uuid should be regenerated everytime its read</div><div>and boot_id should be set once</div><div><br></div><div>Sami</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Mar 6, 2022 at 12:22 AM Sami Halabi &lt;<a href="mailto:sodynet1@gmail.com">sodynet1@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">hi,<div>opened a bug report: 

<a href="https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262369" style="color:rgb(153,0,0);font-family:Verdana,sans-serif;font-size:16.25px;font-weight:700" target="_blank"><b>Bug 262369</b></a></div><div>hope someone can pick this and implement quickly.</div><div>sami</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Mar 6, 2022 at 12:13 AM Sami Halabi &lt;<a href="mailto:sodynet1@gmail.com" target="_blank">sodynet1@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div>Linuxulator is great. however it has:</div><div>/proc/sys/kernel/random/uuid</div><div>which basically emulates boot_id for linux, but many programs refe to :</div><div>/proc/sys/kernel/random/boot_id</div><div><br></div><div>i tried to symlink (ln -s 

/proc/sys/kernel/random/uuid 

/proc/sys/kernel/random/boot_id) but it seems a redonly dir</div><div><br></div><div>I think this should be added for linux compatibility or create also boot_id file (with the same value?)</div><div><br></div><div>how can I add this as root if possible ? or maybe ad this for linuxulator (as a bug?)</div><div><br></div><div>Sami<br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr">Sami Halabi<div>Information Systems Engineer</div><div>NMS Projects Expert, <span style="font-size:12.8px">FreeBSD SysAdmin Expert</span></div><div>Asterisk Expert</div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr">Sami Halabi<div>Information Systems Engineer</div><div>NMS Projects Expert, <span style="font-size:12.8px">FreeBSD SysAdmin Expert</span></div><div>Asterisk Expert</div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Sami Halabi<div>Information Systems Engineer</div><div>NMS Projects Expert, <span style="font-size:12.8px">FreeBSD SysAdmin Expert</span></div><div>Asterisk Expert</div></div></div></div></div>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEW%2BogaU=fzH-GoJzomVpr%2Bpoi2FCQ=MGSA1krfQDEbPh_sSYw>