Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Mar 2022 00:13:57 +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:   adding boot_id to procfs for linux support
Message-ID:  <CAEW%2BogY67T2t6yqb96EvisFHyaKRkiYH871VARsG7Rm2_89k0w@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--0000000000003b9dee05d97ff395
Content-Type: text/plain; charset="UTF-8"

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

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

<div dir=3D"ltr">Hi,<div>Linuxulator is great. however it has:</div><div>/p=
roc/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/bo=
ot_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" class=3D"gmail_signature" data-smartmail=3D"gmail_signature=
"><div dir=3D"ltr"><div><div dir=3D"ltr">Sami Halabi<div>Information System=
s 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>

--0000000000003b9dee05d97ff395--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEW%2BogY67T2t6yqb96EvisFHyaKRkiYH871VARsG7Rm2_89k0w>