From nobody Sat Mar 5 22:22:37 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 A57D819F3B6B; Sat, 5 Mar 2022 22:22:49 +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 4K9zkJ6w6cz4kF2; Sat, 5 Mar 2022 22:22:48 +0000 (UTC) (envelope-from sodynet1@gmail.com) Received: by mail-qv1-xf35.google.com with SMTP id b12so9375938qvk.1; Sat, 05 Mar 2022 14:22:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=C0KBAoRKkQPSShrKpyFxCE0v/Lvgl6xiA9ojbSaj1Aw=; b=UQC7VEueqZsAR8dUhVO2VOVDv1/kGvO5GyvbZBvwQRyZgnkx7PbCOMZEaoDqkM9yrK w8qMrpRqAtvgqI5l8ivlrJGgIQBw2kjMhVj3xgVgMnoFSoXkRKimvt5maP2H+ZAMW0DZ SPAx7Ya5BezEVSGMbeiRRxJ1+Fj4qTbVx9p7pjG0aemjzVNwm1Zyf4TFaCVbtVnX3Ck2 O2SB+IFo4LsfGyZIedLUTsZt+u1BaHMXxMClalPl+4a1ZXelPYqLXSG+AKy6AGDZaqB/ 92e6clVqZSkXO0/srI40MBWlcMeYPseYHT7yDodQlW58c6rUy/XxgBSDYKM52uPgQsec SI7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=C0KBAoRKkQPSShrKpyFxCE0v/Lvgl6xiA9ojbSaj1Aw=; b=H8G3vIfwXsBty8Apnq9vQO55VormAgDuVw5slRxjvxE+e7oPVJ9XXU2QuRuYRxQMsk TxGEHlVP7j+1CKEo/7tDo7O0AZina+ZNbls8IuP4e6VLMHDv+6nFHFIokONoXC5UX/i8 L1x+bL8SFe58EGKReLIaJk0QUQ5UEkl99PMFXgni5GI+ls7srDM/XZVBbPfBUJOC9ytB 1VMx4b50D7VrjGZ3/BkVVFQPH3WZx2HEFmEl6prc76vGt3reHchP9or2X526Sn8b4wzk sKKMNILU9blFe2BkZApQlKIbvSHtWumbN/dBFNbPN4q/IujF+YSl8sFQUIqe2lKccno8 y1zA== X-Gm-Message-State: AOAM531s71M41HTWk0jVbmpT2fhpxbaWo9xgciD4W/4pNoxiIkkqUlhi r9Lwar5g0e587HnJ09Kn+5/ykRHTgoa5TM0LHQswM5ZPT+8= X-Google-Smtp-Source: ABdhPJz42Bqq/9xdgFF4s/xifb6HLkN9MW9boVEIH/I1Bpcu97xHTkCNr9Nfc/QuHtC7ENJhVATVQIeFgV66xr3AWEg= X-Received: by 2002:a05:6214:1cc3:b0:435:2414:206 with SMTP id g3-20020a0562141cc300b0043524140206mr3932312qvd.114.1646518968318; Sat, 05 Mar 2022 14:22:48 -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 References: In-Reply-To: From: Sami Halabi Date: Sun, 6 Mar 2022 00:22:37 +0200 Message-ID: Subject: Re: 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="00000000000038fda305d980121f" X-Rspamd-Queue-Id: 4K9zkJ6w6cz4kF2 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=UQC7VEue; 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.96 / 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(-0.96)[-0.964]; 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.997]; 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 --00000000000038fda305d980121f Content-Type: text/plain; charset="UTF-8" hi, opened a bug report: *Bug 262369* hope someone can pick this and implement quickly. sami On Sun, Mar 6, 2022 at 12:13 AM Sami Halabi 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 --00000000000038fda305d980121f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
hi,
opened a bug report:=C2=A0 Bug=C2=A0262369
hope someone=C2=A0can p= ick this and implement quickly.
sami

On Sun, Mar 6, 2022 at = 12:13 AM Sami Halabi <sodynet1@gma= il.com> wrote:
Hi,
Linuxulator is great. however it has:
<= div>/proc/sys/kernel/random/uuid
which basically=C2=A0emulates bo= ot_id for linux, but many programs refe to :
/proc/sys/kernel/ran= dom/boot_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">
Sami Halabi
Info= rmation Systems Engineer
NMS Projects Expert,=C2=A0FreeBSD SysAdmin Expert
Asterisk Expert=


--
Sami Hala= bi
Information Systems Engineer
NMS Projects Expert,=C2=A0FreeBSD SysAdmin Expert
Aste= risk Expert
--00000000000038fda305d980121f--