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
--000000000000fc8f1905d9801d9f
Content-Type: text/plain; charset="UTF-8"

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

--000000000000fc8f1905d9801d9f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

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

<a href=3D"https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262369" styl=
e=3D"color:rgb(153,0,0);font-family:Verdana,sans-serif;font-size:16.25px;fo=
nt-weight:700" target=3D"_blank"><b>Bug=C2=A0262369</b></a></div><div>hope =
someone=C2=A0can pick this and implement quickly.</div><div>sami</div></div=
><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Su=
n, Mar 6, 2022 at 12:13 AM Sami Halabi &lt;<a href=3D"mailto:sodynet1@gmail=
.com" target=3D"_blank">sodynet1@gmail.com</a>&gt; wrote:<br></div><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px=
 solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">Hi,<div>Linuxula=
tor is great. however it has:</div><div>/proc/sys/kernel/random/uuid</div><=
div>which basically=C2=A0emulates 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=C2=A0

/proc/sys/kernel/random/uuid=C2=A0

/proc/sys/kernel/random/boot_id) but it seems a redonly=C2=A0dir</div><div>=
<br></div><div>I think this should be added for linux compatibility or crea=
te also boot_id file (with the same value?)</div><div><br></div><div>how ca=
n I add this as root if possible ? or maybe ad this for linuxulator (as a b=
ug?)</div><div><br></div><div>Sami<br clear=3D"all"><div><br></div>-- <br><=
div dir=3D"ltr"><div dir=3D"ltr"><div><div dir=3D"ltr">Sami Halabi<div>Info=
rmation Systems Engineer</div><div>NMS Projects Expert,=C2=A0<span style=3D=
"font-size:12.8px">FreeBSD SysAdmin Expert</span></div><div>Asterisk Expert=
</div></div></div></div></div></div></div>
</blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"=
><div dir=3D"ltr"><div><div dir=3D"ltr">Sami Halabi<div>Information Systems=
 Engineer</div><div>NMS Projects Expert,=C2=A0<span style=3D"font-size:12.8=
px">FreeBSD SysAdmin Expert</span></div><div>Asterisk Expert</div></div></d=
iv></div></div>
</blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"=
 class=3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr">Sami Hala=
bi<div>Information Systems Engineer</div><div>NMS Projects Expert,=C2=A0<sp=
an style=3D"font-size:12.8px">FreeBSD SysAdmin Expert</span></div><div>Aste=
risk Expert</div></div></div></div></div>

--000000000000fc8f1905d9801d9f--



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