From owner-freebsd-current@freebsd.org Fri Dec 6 01:21:34 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2E9A41B25E1 for ; Fri, 6 Dec 2019 01:21:34 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-55.consmr.mail.gq1.yahoo.com (sonic315-55.consmr.mail.gq1.yahoo.com [98.137.65.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47TZYT10Pdz3Lyl for ; Fri, 6 Dec 2019 01:21:32 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: AhJR9YYVM1kXhvAxaRVnpPU7_mNyqv7ZaXnB76qQSlCistRazX7y.hDKR.S5tzC J2K_OkEzs8OTaUdCjr0oJdbWjEjWzU3xBmgi_oYQ4ZfGpM.L8K1snx_83e2tK9qOENh5HLiCJJZ6 4JwMOC3blH5YHvD6Nsk42F_qjVwIexoTXyQ9IUWXrdF88sMjChK8lV45p3UOMeR.FxEcdSlMCLdL MLeavhv1mPT2Wp8pAiqXf43fZ0yMZ4UCKZWtSHOY2gn2ctHQuetWTj9sohCgDALEeEXLCgJkhFct 57VeKkBwVyeJ5QGCOLHGowcnPZ_KVzL9DZ8bcB5.5EszxaqyIGbsjL4cFX679uzZBsiKSXQbOJV6 gdOpBLiHkKD9fyyQbI48WzKQZFkbwv8c8yCEVivrhyGq1v29o1x3JBdi9sRXQsqD27TQTzqT7lVx m4raLLDKK6_NuvzlNLqpREO3VGdWdBl0GPzpuhWeloW8MhdGgdfkPjrtlKCq1LFkPNO962K5Us6T iHO3NMubnVGDaMep9GD3dHHZM5LP32BV6u.DUFNdH5s0m25KRlxLmPJCq9L6CIxrP9FiUQzm.MwE RrH.KYMvRnCkQnBe2sNvsCUKyuuIk7lmZkhYA3i6d4VTits_3KKGkc4Nkpz.ehrkVFNcFsg8kUoI RKb610Eqskg9BwHTamNy0LyNpvBMoP3_sG3j9cr9RTW5duuUtSZ_aJ3eYOgPPoRdQ0keyNmeMDI8 holXYZegc6bmrmx60il7bA1oxKbSnfMpuKeobYE5YGJPsgvf00bNnRi6T919h60fnv6TPwPACUVd ZKjLViANNeZIcyDrrbLf6J7lVOZYVwop6TTEp5nCmgT8.lBO7cJpbozb_AYpC7.47fKchN9uwR29 q769WelvZ.LJAODyPpyRkreWaf_iL1L1h1.Ebt2Kww90g_uBtyiFvzLViCh4uOMSQ9oDsU7HJB_1 bLaHJdGWY391iKKBUcReqE9M59NjcPD.r2Zj1Jg2p7A7r8cpdn.YWJ13CfCKwS.KXc04par.9PjH J5wPf_t30Byl1l3r2RjImVmcv7PdbX8XqxFZE5dPduHnJ8vspPg8FLJVD0uRNeKob1JhgO29yXbF ef6AUDt39ds5L4D2R5T3W5xstihdEocuVOQyvFQS4ypRWdUfhdONX62uUDjR64h04bMNKoK6azMb 0ZKr5AQrbNNpKJT6vz1Vfxsf2ZJP2QWRw7Qe0K2DrUTH4onlWSaycjSe82rkbJ8umhmsE7ChKLi1 NFAdjRbOpMfikmJBgT4AAZxpen1qpS8ETJwrUARIMM8odiIg9YsHdqi_5gU8dZXXUvpV_zddoakW hZ6Dbta4zJAjmh7M5X8mNP5bbMz6SQIu9ijYI5rR0duQMWASo4sA3K9VkqrRp9uSM465AoR.90KA D_qPjuuKHP9Uy0Cc.sA-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.gq1.yahoo.com with HTTP; Fri, 6 Dec 2019 01:21:30 +0000 Received: by smtp419.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 5d05d7eeb8750dff10505aa2f9e5879d; Fri, 06 Dec 2019 01:21:29 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3601.0.10\)) Subject: In a poudriere jail, during a bulk run, what is the status of /etc/os-release supposed to be? Message-Id: <6B1BDF22-110B-405F-8234-EC0ED4683224@yahoo.com> Date: Thu, 5 Dec 2019 17:21:27 -0800 To: FreeBSD Current X-Mailer: Apple Mail (2.3601.0.10) References: <6B1BDF22-110B-405F-8234-EC0ED4683224.ref@yahoo.com> X-Rspamd-Queue-Id: 47TZYT10Pdz3Lyl X-Spamd-Bar: ++ X-Spamd-Result: default: False [2.21 / 15.00]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; SUBJECT_ENDS_QUESTION(1.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (5.77), ipnet: 98.137.64.0/21(0.88), asn: 36647(0.70), country: US(-0.05)]; NEURAL_SPAM_MEDIUM(0.79)[0.794,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE_FREEMAIL(0.00)[]; NEURAL_SPAM_LONG(0.91)[0.913,0]; RCVD_IN_DNSWL_NONE(0.00)[31.65.137.98.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[31.65.137.98.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Dec 2019 01:21:34 -0000 I tried to look via bulk with -i and what I saw via interactive commands was: # ls -ldT /etc/os-release=20 lrwxr-xr-x 1 root wheel 21 Dec 6 00:48:55 2019 /etc/os-release -> = ../var/run/os-release # ls -laT /var/run/ total 28 drwxr-xr-x 5 root wheel 512 Dec 6 00:50:02 2019 . drwxr-xr-x 24 root wheel 512 Mar 9 07:41:50 2019 .. drwxr-xr-x 2 root wheel 512 Mar 9 07:41:50 2019 dhclient -r--r--r-- 1 root wheel 173 Dec 6 00:50:01 2019 ld-elf.so.hints drwxrwx--- 2 root network 512 Mar 9 07:41:50 2019 ppp -rw-r--r-- 1 root wheel 197 Dec 6 00:50:02 2019 utx.active drwxr-xr-x 2 root wheel 512 Mar 9 07:41:50 2019 wpa_supplicant So no /var/run/os-release to find: # more /etc/os-release=20 /etc/os-release: No such file or directory This was based on (from outside that bulk session): # poudriere version 3.3.99.20190828 # poudriere jail -l JAILNAME VERSION ARCH METHOD TIMESTAMP = PATH FBSDcortexA53jail 13.0-CURRENT arm64.aarch64 null 2018-11-18 15:32:34 = /usr/obj/DESTDIRs/clang-cortexA53-installworld-poud where what is at the PATH was based on: installworld distrib-dirs distribution DB_FROM_SRC=3D1 = DESTDIR=3D/usr/obj/DESTDIRs/clang-cortexA53-installworld-poud (for a head -r355027 based context). This would appear to mean that port builds should not be trying to use /etc/os-release because /var/run/os-release is not established in poudriere-devel bulk build contexts? I will note that clang-cortexA53-installworld-poud was built via an amd64->aarch64 cross build, in case that matters for some reason. ( clang-cortexA53-installworld-poud/ was copied to the aarch64 system it was intended for. Both contexts use the /usr/obj/DESTDIRs/ style path prefix. ) I'm not trying to use /etc/os-release directly. I was just curious what it would appear to contain in such a context. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)