From nobody Sat Mar 05 22:13:57 2022 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id CFB7B19F1386; Sat, 5 Mar 2022 22:14:10 +0000 (UTC) (envelope-from sodynet1@gmail.com) Received: from mail-qv1-xf35.google.com (mail-qv1-xf35.google.com [IPv6:2607:f8b0:4864:20::f35]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K9zXL1Vdpz4hM2; Sat, 5 Mar 2022 22:14:10 +0000 (UTC) (envelope-from sodynet1@gmail.com) Received: by mail-qv1-xf35.google.com with SMTP id kd28so888938qvb.2; Sat, 05 Mar 2022 14:14:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=WnV9iLW4ZeSXKHq/wRLNRXy0FKZDCnwx71Tw4lj4qS0=; b=cbDWNThCMYBlkXNatojyGNxtSlm9hHEyFjIl/LW+QPdZspSzk7F3perwtssnTSvGJl DlJIHNo1/Yp8QDo/sDwSuYyTuMHKpeIQUC2K7IvJuKKCHD4422ETesVtBWTJef7rsjTT /bb6AtZ3yD9/xcLmV4BPkf97+UHAO6IM1UXJYBSb6/LtEvR3wfRNHkIBFDyoAJVNfQHZ UmBe2TXpJ0iFTnFsKv/v0frdPYrWO12dcGxRX8NjGvFGzYFPnm7SOY4RVBB4fFM9H1m7 47lVhOXXxoaogLyqfGiQylxD0aVTMkGtumjccTTIjSEqfHlxu6c9mdHyHSzrcO9SWYnM GHow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=WnV9iLW4ZeSXKHq/wRLNRXy0FKZDCnwx71Tw4lj4qS0=; b=xJ2OVFBQZO9tU0ijKj5TB+lchMRvEeulXxUTpTtmiMcJ5M1AmWbQp/u4pp0tD8dyzi 5wv09MhzI1tGp64y8xTtpVGoyNwTtMLhJD0mtZaaQqeu26AusvZZJwpog2VXzkPaxnfa n+JkDfr1IVflX0eiPhVRanqZyuAFw2/zEWUR17zkAvECl9k8B3AtXaS/WqMDa20K5AxV TIx5YqdTVVZUMMoZ3QUHbAcoaFJJ30O0JXNn4ik7ASdzybsaJnVtBC+UyDdOdq9wCOwz vAh+GDr/jqehURAoaWaauOuOS3jIZ6v1siCbmiKNd86gEDcvAo8IY17bIYB5blkCMxez r09w== X-Gm-Message-State: AOAM5311lYYtV6qP4FmLUwLaV2r0ftiivPsQl7DyWUZWk4WXx01QPtgJ 2hVVD47THO+QiS0txME5cWYWOJJOkn631tybHE/9lCD+ajk= X-Google-Smtp-Source: ABdhPJxDilZbnF/mxu7hAbyZIAPBrpPSBREXCIcjFdNS810vmXNqY3Nm2esdU0B3hpAI4BT4Pjor0hbfbmkNQ/vETHg= X-Received: by 2002:ad4:5347:0:b0:42c:4711:5eb5 with SMTP id v7-20020ad45347000000b0042c47115eb5mr3654073qvs.101.1646518448396; Sat, 05 Mar 2022 14:14:08 -0800 (PST) List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 From: Sami Halabi Date: Sun, 6 Mar 2022 00:13:57 +0200 Message-ID: Subject: adding boot_id to procfs for linux support To: eadler@freebsd.org, kostikbel@gmail.com, FreeBSD virtualization , freebsd-emulation@freebsd.org Content-Type: multipart/alternative; boundary="0000000000003b9dee05d97ff395" X-Rspamd-Queue-Id: 4K9zXL1Vdpz4hM2 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=cbDWNThC; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of sodynet1@gmail.com designates 2607:f8b0:4864:20::f35 as permitted sender) smtp.mailfrom=sodynet1@gmail.com X-Spamd-Result: default: False [-3.99 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; NEURAL_HAM_LONG(-1.00)[-0.997]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::f35:from]; NEURAL_HAM_SHORT(-1.00)[-0.996]; MLMMJ_DEST(0.00)[freebsd-virtualization,freebsd-emulation]; FREEMAIL_TO(0.00)[freebsd.org,gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N --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
Hi,
Linuxulator is great. however it has:
/p= roc/sys/kernel/random/uuid
which basically=C2=A0emulates boot_id = for linux, but many programs refe to :
/proc/sys/kernel/random/bo= ot_id

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
=
I think this should be added for linux compatibility or crea= te also boot_id file (with the same value?)

how ca= n I add this as root if possible ? or maybe ad this for linuxulator (as a b= ug?)

Sami

--
<= div dir=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gmail_signature= ">
Sami Halabi
Information System= s Engineer
NMS Projects Expert,=C2=A0FreeBSD SysAdmin Expert
Asterisk Expert
--0000000000003b9dee05d97ff395--