From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0BFC3158042 for ; Sat, 9 Nov 2024 17:15:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5C7F5E093D; Sat, 9 Nov 2024 17:15:06 +0000 (UTC) Received: from iguana.tulip.relay.mailchannels.net (iguana.tulip.relay.mailchannels.net [23.83.218.253]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D5868E0930 for ; Sat, 9 Nov 2024 17:15:05 +0000 (UTC) X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id A8507181698 for ; Sat, 9 Nov 2024 17:15:04 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1731172504; a=rsa-sha256; cv=none; b=no3w5jIqZICOx0dFLMnecjaQkxsA4vzhk3TiNIuFHe2+JJaW5Km1cOiGFj5DK6KamPZBVG 4iyemzd6dMyxmS4VTWW2hFrO/fBa0OmVR2SPBdaAD22gZo2j/0BjtY4XO6YbqLO/5+kVH/ yxMo64V339FkXqk3zFxmiqCL7z9LkrqRNyr/BkZw2DXC3k76FtK6xwvgXKMFTPUkMAl1SP vrkc/af2Ie+HXHMv/Y4B1UY/BVEQQPkipCjLPMsQGbRuzSEkYIJNN0TZZKpSrleRceET2y gyutE2XZPEnhEHzb25zgS2RyRC3UPmofEn1pRuDWK91hYQIFJH5z5SieYaCDpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1731172504; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=wA6VNtm8MAGoKBDcgH5tqemILVdGC9zvt6Cu3S+Rm+Y=; b=gVYHZb9i0wFnXrqLfUw2iMQD9aQnO3k2ZlnYj0N0Tvv+kWWPkYNnSLHxjOOoQlYoZr++bV +D4jrVWbhMNq8NtpI5L2E/KhXg+JIg8HZ6cRrLCSgGWlQRPKOb5ixtPcJulMmric9cihap kmnMMhMeJ93WduUVRQYp5GSE7DvNs2ix2Rzg87KasNXeJJw9khWPb35FdudshOPg1CNbCF 0eoJQ8OxAZ4Xq64XUtmfCRAvDlw7HRBg1s2S+fV7RM1/niwK3CrKWQUqGI7KPtTAGhRwom EVTutokRpxsjNryN4qjE4GJ2egGMNT3RivoJzYk2dW/Qu78qhkyGezhlqHCbSQ== ARC-Authentication-Results: i=1; rspamd-56654dd69b-ghr46; auth=pass smtp.auth=thundermail smtp.mailfrom=confabulate@kintzios.com X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com X-MC-Relay: Neutral X-MailChannels-SenderId: thundermail|x-authsender|confabulate@kintzios.com X-MailChannels-Auth-Id: thundermail X-Illegal-Daffy: 2f8415dc6cd9126b_1731172504270_58658271 X-MC-Loop-Signature: 1731172504270:1141936133 X-MC-Ingress-Time: 1731172504270 Received: from mailclean11.thundermail.uk (mailclean11.thundermail.uk [149.255.60.66]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.103.135.172 (trex/7.0.2); Sat, 09 Nov 2024 17:15:04 +0000 Received: from cloud238.thundercloud.uk (cloud238.thundercloud.uk [149.255.62.116]) by mailclean11.thundermail.uk (Postfix) with ESMTPS id DB2351E0003 for ; Sat, 9 Nov 2024 17:15:01 +0000 (GMT) Authentication-Results: cloud238.thundercloud.uk; spf=pass (sender IP is 217.169.3.230) smtp.mailfrom=confabulate@kintzios.com smtp.helo=rogueboard.localnet Received-SPF: pass (cloud238.thundercloud.uk: connection is authenticated) From: Michael To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Problems with commands "reboot" and "shutdown" Date: Sat, 09 Nov 2024 17:14:39 +0000 Message-ID: <9363242.CDJkKcVGEf@rogueboard> In-Reply-To: <672f96c5.050a0220.2121db.89f1@mx.google.com> References: <672f96c5.050a0220.2121db.89f1@mx.google.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3253531.5fSG56mABF"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-PPP-Message-ID: <173117250047.2429004.3690550784821627279@cloud238.thundercloud.uk> X-PPP-Vhost: kintzios.com X-Rspamd-Queue-Id: DB2351E0003 X-Rspamd-Server: mailclean11 X-Spamd-Result: default: False [-1.61 / 999.00]; SIGNED_PGP(-2.00)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; ONCE_RECEIVED(0.10)[]; MX_GOOD(-0.01)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:34931, ipnet:149.255.60.0/22, country:GB]; MISSING_XM_UA(0.00)[]; R_SPF_ALLOW(0.00)[+mx]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_ONE(0.00)[1]; DMARC_POLICY_ALLOW(0.00)[kintzios.com,none]; R_DKIM_NA(0.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[gentoo-user@lists.gentoo.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM(-0.00)[-0.998]; HAS_REPLYTO(0.00)[confabulate@kintzios.com] X-Rspamd-Action: no action X-Archives-Salt: 0a9d9377-2f6f-44c8-9090-cd0ea82d6109 X-Archives-Hash: b1d9ebf7e02c3a6b300466744d6c7845 --nextPart3253531.5fSG56mABF Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Michael To: gentoo-user@lists.gentoo.org Reply-To: confabulate@kintzios.com Date: Sat, 09 Nov 2024 17:14:39 +0000 Message-ID: <9363242.CDJkKcVGEf@rogueboard> In-Reply-To: <672f96c5.050a0220.2121db.89f1@mx.google.com> References: <672f96c5.050a0220.2121db.89f1@mx.google.com> MIME-Version: 1.0 On Saturday 9 November 2024 17:07:16 GMT Dr Rainer Woitok wrote: > Greetings, > > normally I just hibernate my laptop and rarely reboot or shut it down. > But after building kernel 6.6.58-1 I did of course reboot, or rather I > tried, because the laptop either stalled or went into an infinite loop. > Long pressing the power key did bring the system down, and switching the > laptop on again did bring it up, so I could at least investigate. > > In syslog I found two suspect lines: > > Failed to execute /usr/bin/reboot: No such file or directory > Failed to execute /usr/bin/poweroff: No such file or directory > > If I'm not mistaken, these are the locations used by "systemd", but I'm > running "openrc" which installs these two binaries into "/sbin/". So I > created these two symbolic links in "/usr/bin/" pointing into "/sbin/". > However, running "shutdown" still stalled or went into an infinite loop, > though without complaining in syslog about not finding "reboot" and "po- > weroff". > > What eventually helped on top of the two symbolic links was rebuilding > package "sys-apps/openrc-0.54.2" with additional USE flag "+sysv-utils". > However, I don't regard these additional two symbolic links (which are > still required) as a real fix but rather as some sort of band-aid. > > Mind that all this is not necessarily a problem with the new kernel ver- > sion. It may just have surfaced now because I wanted to boot the new > kernel. So, what am I missing? Some news item? Some new USE flag for > some package I have meanwhile installed or upgraded? Some new configu- > ration variable in some configuration file? Some new kernel parameter? > A bug? I checked the list of open bugs against "sys-apps/openrc", but > was missing any sort of deja vu. > > Any pointers appreciated. > > Sincerely, > Rainer I'm on 6.6.58-gentoo-r1 compiled from gentoo-sources. No systemd, only openrc. This is what I have here: ~ $ ls -la /usr/bin/reboot lrwxrwxrwx 1 root root 4 May 2 2024 /usr/bin/reboot -> halt ~ $ ls -la /usr/bin/poweroff lrwxrwxrwx 1 root root 4 May 2 2024 /usr/bin/poweroff -> halt ~ $ ls -la /usr/bin/halt -rwxr-xr-x 1 root root 22560 May 2 2024 /usr/bin/halt I also have: ~ $ ls -la /usr/bin/halt.sh -rwxr-xr-x 1 root root 101 May 2 2024 /usr/bin/halt.sh ~ $ cat /usr/bin/halt.sh #!/bin/sh if [ "${INIT_HALT}" = HALT ]; then exec /sbin/halt -dhn else exec /sbin/poweroff -dhn fi Hope this helps. --nextPart3253531.5fSG56mABF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmcvmH8ACgkQseqq9sKV Zxlnig/9FrUvKb6MAN5WtyTEzRvxPfV1Ql/Qm7cRshSOlZ/OKaTamX5GDtA4utNz Qrd/xg53kumoCiQoPHlXxkF5RNzqBhA09JM3yxZAteVdcHo/Y3t+swzainCcV455 xzkmxD2dtk/ngT5q0F9SE0RAG8SB301cBxK/HeMlh382U1pCln/QMRQFKZN2mv/l nHS2jUMDROVhE77Y8RYenNUxwOhRMPjzHViUwIzXFJ6v/v8kTdv90xwVU5sBYLuX ppXi0mCp3XNuVEJqcVw4+JdLy113Dl5iO2qeedrmXNSb5T5F/OYk02GKlh1PxJ1a nspOnVbwEBlegeEB/4lVsfaB+97OZ8j70GhTKVMS+7CIwc3x6F9f9+ydHieaG4oa zrVDyx/fqFv9oMT/N2zm8TLqCuB+5nhWkvQHy221nw1ATHpUa6TA8cCJQwOR4Y5X i1ggMA9+8/01j0nVlGdgigXWiGxYh/9WL+LjIH5DWVLt1fCSjAr/6jVKyNwhp1xe 32RwPVo6EZ9+Cykn42A8WRqFBsBMD20XD1mptZUrYkgOxWTPSfjSDZSAUxgvSOYV 4NGYlQ2kVk4xyrDFSWq1jM17qpt7Y8Ax6yeTmEZY6mo6rFMkhipZbTEUnlqOuNfp aoObEeI6tbzYjD7yUb29vbUTYE84Wmbz31S13mTRZ5mX5MgCONU= =ikIk -----END PGP SIGNATURE----- --nextPart3253531.5fSG56mABF--