From nobody Tue Mar 28 19:17:33 2023 X-Original-To: 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 4PmKFV50SKz42JVj for ; Tue, 28 Mar 2023 19:17:34 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PmKFV3rjYz44cv for ; Tue, 28 Mar 2023 19:17:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680031054; 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: in-reply-to:in-reply-to:references:references; bh=t5phiUcm9Pnl1NkwG4YHd9UybuQz9pcR5EbG8+mmn9E=; b=ZNzeS7ERPHxQRPd/o/Ow/mSmsbURfIM6IZJM6LIgFUbAStbKDUrHmXBM021BebM1IzRj4i /Ac0b4wCSPYVWfloxA2X11VQnPNflI3GnkedVu4VKb4MDze4l1SoDIkR4U4VRGQ/3i60l6 aVsC4WekkDnSDkzWCUS1Pq2Y4vxgCnJp9MPnWCYNhl28ClYMEjyNiwF4xEL73LMy5hzAS+ L1ha9cCEsE9nPxQZIm6l8FS5pa1tisLN6gu2SbuJ2R37tR8sPRjrNDOZKnjGFB6g8Z7cxy 5Z8gmT63denyZpY94ryA0p06gRtu7aQ0PNBmeFONNanXmCckkIBqoHbc+kJLwA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680031054; a=rsa-sha256; cv=none; b=jhBw9YlK4TXEmyCw12KToqWq/PyEDjBbRjTFy3VoW0tZeUGlJVG4UIawASqEYYYrU3swLf +KpzrDaZ9nnvYlasYSDDwELOrB0hm6Azp9xiJxiGxiGmXzBXzivKzMStWrdmmAcy7nngGX Q9Q1kkd8zB3zsRMk4QBKGrqRZczgqJmXoXN/g64mXun48lZCbZxmJg+6VBxTYrQpdnI9rX 3DWfFKfuFqyKZpCPfwoHkRYgzBeBd2obNbrUO+68PLZcsWp8I/XCeWPs4YmMdqPntBFwhU jhdNMPqHZzi4C/PzriZGF7xVPfkHUxXCImEcTglY70UzjNLXh2h1DiJ9X64odA== 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 4PmKFV2Zp1z1Fcv for ; Tue, 28 Mar 2023 19:17:34 +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 32SJHYZI074513 for ; Tue, 28 Mar 2023 19:17:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32SJHYl9074512 for bugs@FreeBSD.org; Tue, 28 Mar 2023 19:17:34 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: bugs@FreeBSD.org Subject: [Bug 260628] FreeBSD 12.3-Release got stuck during the boot process after the update (maybe nsswitch issue?) Date: Tue, 28 Mar 2023 19:17:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 12.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: djimeha@yahoo.ca X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260628 Dylan changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |djimeha@yahoo.ca --- Comment #8 from Dylan --- Looks the same or similar to: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262170 I recently upgraded a FreeBSD 10.4 LDAP auth client system to 12.4 using "freebsd-update upgrade -r 12.4-RELEASE" and the usual install (Kernel stuf= f), reboot, install (Userland stuff), steps after that. I also ran a "pkg upda= te", which didn't work, got the 'version 2' error, so I ran "pkg bootstrap -f", = then "pkg update", then "pkg upgrade -y", which bumped bash, nss_ldap, etc. On the next reboot I discovered 2 things: #1. The system hung after the "ifconfig" output from netif and the "Starting devd" message. Hitting ctrl+t listed: load: 0.13 cmd: env 340 [nanslp] 15.57r 0.00u 0.02s 0% 6192k Same thing if I waited a bit and hit it again, incrementing the #r runtime value of course. NOTE: Manually typed since this was on an ESXi video cons= ole. ---- I resolved #1 using the info in the bug link above, reboot, hit 2 for single-user mode, then /bin/sh, then 'mount -at ufs', then 'vi /usr/sbin/service' and change the exec line back to not having -L 0/daemon = for now. I left a comment and the original line for my future self to patch it: $ less -N /usr/sbin/service ... 168 # Open bug PR#262170, hang on boot in [env] 169 #exec env -i -L 0/daemon HOME=3D/ PATH=3D/sbin:/bin:/usr/sbin:/usr/bin "$dir/$script" "$@" 170 exec env -i HOME=3D/ PATH=3D/sbin:/bin:/usr/sbin:/u= sr/bin "$dir/$script" "$@" 171 fi 172 done ... --=20 You are receiving this mail because: You are the assignee for the bug.=