[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-virtualization
Subject:    Re: adding boot_id to procfs for linux support
From:       Sami Halabi <sodynet1 () gmail ! com>
Date:       2022-03-05 22:25:54
Message-ID: CAEW+ogaU=fzH-GoJzomVpr+poi2FCQ=MGSA1krfQDEbPh_sSYw () mail ! gmail ! com
[Download RAW message or body]

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 #3 (text/html)]

<div dir="ltr">btw: as stated in:  <a \
href="https://www.kernel.org/doc/html/latest/admin-guide/sysctl/kernel.html#random">ht \
tps://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>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic