From nobody Sun Feb 09 09:19:40 2025 X-Original-To: ports-bugs@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 4YrMbw73Djz5Sm2L for ; Sun, 09 Feb 2025 09:19:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YrMbw6LGyz3HYh for ; Sun, 09 Feb 2025 09:19:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739092780; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Go78DP6aWd08u55WsmmUwE0nR69TWAwoFhg5y8WyUSc=; b=fjfThKDn0qy4beoNzntnd4cZKcYhjWfJmYHo1fM8vm+HqWM58TUbQwb6aHwf06dJqVlXmA epoUHtCrB/FFiSORJbcpjPMy8A6WOvk5gbtWLzelrkf0JtOQ8UC2/tSJ5CRGqYxjaL6OwW GRizkAXSLEvuBnU+FR+Ur67lxkoQ971YKUot4/hjKrPPuN35JO3MZp7hsUApJVnT+AcDUE 3zbIBU6kZtWaaLZZnmzgV8mRC6Uuze+CBpmIoocsg496oSCOn8VfgOZ8eWQ27lTZ5tBsFi Z6HybiLSHRwBxFqRH7uiA5HcmHHv2J70H50GCgpHvyzWDzBUB0ETvLV0HdgROQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739092780; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Go78DP6aWd08u55WsmmUwE0nR69TWAwoFhg5y8WyUSc=; b=I7GljcY4sZ1MY93f3lkqdohFP3AHAq8qN8LoKXO3QfKuaSsfEQAAaN9ntqG6VdYlsNb4Q8 Df2Cy3LQiXu8l+kvsUshEkg8B5EO2PbbdhimW3zOIoJcfQPpGvSbIpHF62RqUgCmC+8ubv oxZwPMS+NBWzEPJU4qn8mp4RDYhZ3XvOskS/MCqtoVuWOs/O2wfRBsqaB0RXF2Gj+eVaiC Ea28A8F5fc5iJUwnE/iwXqNK79GYogtZlTE5O1VE4u2NoxMFNATu5mqQ7Htlok/j+l5jFI cRompmUXzpDguXhsij4YTX3dEpMfpMPiclEH8aAxjEo/OOZFUjpHW6fDB6sYfQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739092780; a=rsa-sha256; cv=none; b=ZGXtPL1eM+asqWCrg7ZVUxF+QSadXR+bVzXOTl45BGKD5r/64msKScfF8kSkpjd+Xc9YeF zIsHaJHZvBE+6wQZB2D/mq+/JI4Xu4DSz1VnFhHxsgwmAXt8vFW90dGEaNlaJaNhGvkqbu 0QPiv0VM6gM69CvgYJlI+F1txTLSPSAJZYbIC9p6fOvTBGuE3aBFtxzfLTAhG2SgzDotum MBnyLUcTFH9qiqHppDpwATxyUkoH9ZK/29eAMB9rQf/kbf6WScSLqkUH6ojQVC4e27X1/6 9f+CasbaGgJpohn3OsDuGm2JzKMhG8xt5PsNBl1QR8exeIEH1iLzOZyHjEdtjg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YrMbw4xThzqxm for ; Sun, 09 Feb 2025 09:19:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5199JekZ022755 for ; Sun, 9 Feb 2025 09:19:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5199Je8R022754 for ports-bugs@FreeBSD.org; Sun, 9 Feb 2025 09:19:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 284677] sysutils/s6: rc fails on boot Date: Sun, 09 Feb 2025 09:19:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sg@redu.cx X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284677 Bug ID: 284677 Summary: sysutils/s6: rc fails on boot Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: sg@redu.cx CC: crest@rlwinm.de Flags: maintainer-feedback?(crest@rlwinm.de) CC: crest@rlwinm.de s6-2.13.1.0 does not come up automatically on boot. I think this is the re= sult of two separate problems. #283100 relocated the static libraries for all ska ports. https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D255605&action=3Ddiff before: lib/skalibs/libskarnet.a after: lib/libskarnet.a Linkage in the FreeBSD ports changed as a side-effect. I expect this was unintentional. execline-2.9.5.1: -- 8< -- $ ldd usr/local/bin/execlineb usr/local/bin/execlineb: libc.so.7 =3D> /lib/libc.so.7 (0xbbdf6d45000) [vdso] (0xbbdf6164000) -- >8 -- execline-2.9.6.1: -- 8< -- $ ldd usr/local/bin/execlineb usr/local/bin/execlineb: libskarnet.so.2.14 =3D> /usr/local/lib/libskarnet.so.2.14 (0x20a9b0510000) libc.so.7 =3D> /lib/libc.so.7 (0x20a9af470000) librt.so.1 =3D> /lib/librt.so.1 (0x20a9b07bd000) libthr.so.3 =3D> /lib/libthr.so.3 (0x20a9b0a38000) [vdso] (0x20a9aef71000) -- >8 -- Combined with what I suspect is a vestigial bug in the s6 rc script... -- 8< -- # PROVIDE: /service # BEFORE: SERVERS # KEYWORD: shutdown -- >8 -- s6-2.13.1.0 is now liable to fail on boot because rc attempts to execute be= fore the dynamic linker is configured. -- 8< -- /etc/rc: DEBUG: checkyesno: s6_enable is set to YES. /etc/rc: DEBUG: run_rc_command: doit: s6_start=20 ld-elf.so.1: Shared object "libskarnet.so.2.14" not found, required by "execlineb" /etc/rc: DEBUG: checkyesno: ugidfw_enable is set to NO. /etc/rc: DEBUG: checkyesno: rctl_enable is set to YES. /etc/rc: DEBUG: run_rc_command: doit: rctl_start=20 /etc/rc: DEBUG: run_rc_command: doit: ldconfig_start=20 /etc/rc: DEBUG: checkyesno: ldconfig_insecure is set to NO. /etc/rc: DEBUG: checkyesno: rc_startmsgs is set to YES. ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/lib/compat/pkg /usr/local/lib/compat/pkg /usr/local/lib/perl5/5.36/mach/CORE /usr/local/lib/samba4 /etc/rc: DEBUG: checkyesno: rc_startmsgs is set to YES. 32-bit compatibility ldconfig path: /usr/lib32 /usr/lib32 -- >8 -- Suggested changes: 1. Add 'REQUIRE: LOGIN' to the s6 rc script. (Remove 'BEFORE: SERVERS'.) 2. Revert the linkage changes from #283100. crest, please refer to mail from ~2024-Dec-15. I looped upstream in, who suggested a smattering of --libdir and --with-lib if you would like to reve= rt the change to linkage in the FreeBSD port. --=20 You are receiving this mail because: You are the assignee for the bug.=