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 705BD158042 for ; Sat, 9 Nov 2024 17:07:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 64DEBE0922; Sat, 9 Nov 2024 17:07:21 +0000 (UTC) Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) (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 2D7BBE088B for ; Sat, 9 Nov 2024 17:07:19 +0000 (UTC) Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-43159c9f617so24938925e9.2 for ; Sat, 09 Nov 2024 09:07:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731172038; x=1731776838; darn=lists.gentoo.org; h=subject:to:date:from:message-id:from:to:cc:subject:date:message-id :reply-to; bh=UtdVlnkSstinBJV5gVlUD7a8/TI5l/9So1OPNUMUyLs=; b=Abt8AstV7MRiO1qf6ujH7ugqiG7tCYOPd4j+8RmItpcjvLnqhCdUaBOnFAOymvdl3J ZU4LkMUIkg7MzjYh+YTX4VEy8VFluEf41ut58ExS9FuN7kEkXtbFU+sqaMcdGygdX9Qx dFUf6kSjnkIJPJWQ4R6FOr+lLBuA8qdyP0oYgVgyyjsoXc9TxsavyxEsVsXoiXpTkC+w p115FJ2BhGwqVwGqQrQuV5BE3fbPM8RWS978z8dLGBxOu/vxxzDbgsys7qZwWC9mfYNr mj2v+vApLfPMZGHLZRSUTQreyduSQsDLzhr1PyXswdp0Fb5v5oCP2DlBeg5MYIi1bG+u klQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731172038; x=1731776838; h=subject:to:date:from:message-id:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UtdVlnkSstinBJV5gVlUD7a8/TI5l/9So1OPNUMUyLs=; b=X+RReysDOU/NzElCZamfK5DdGRcDbvllU9ky+ShfSPJnTSvdV++w8ULNyp2oILwlAJ jmzklY3b4c3R71EA/k2og0eekQfOeuLvT6+Dgegk8CklAE3kUTEs/HroXVDJAvY3GaVG /3Xir2rp20ZgS8yFKVFMZtpNzvXy1HY0FJ60/W1aNxloAGXSzL1TQf94jyDJ9uRc1OqE IhHqL2oF/st2m9HEQssU3sV2EF2jbrcSjJA7eIo6zguNzZCqnaxUmPN67pt+/gJhynI/ LiemTvpzccHeOl93Zz1RqW0A5nwwiSkPTMHLGhHu15UEneAy7bDoPBs7AQAV+lGTK84X KutA== X-Gm-Message-State: AOJu0YwhaKbP0weYIKM+DOGKu7FJNgyVZO0HpeleMVXMjGFhlVv1VZ1x DGMhVBQZOP+H//Rk+dvw91CXfwDokx1G25m/gzfUhx7AFOF4//YsPouQ1w== X-Google-Smtp-Source: AGHT+IGziZodk8aNmlMa8NcJEKjWPCuMsfsA7zd+M/A+nPXG1T4I0Fm2fKJiEQnhy3h8/9IoEK4pjg== X-Received: by 2002:a05:6000:20ca:b0:381:f5a7:3e85 with SMTP id ffacd0b85a97d-381f5a73e92mr2573983f8f.26.1731172037794; Sat, 09 Nov 2024 09:07:17 -0800 (PST) Received: from tux (p200300df07050776aff3e6bff320a2db.dip0.t-ipconnect.de. [2003:df:705:776:aff3:e6bf:f320:a2db]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432bc4f67casm29971825e9.1.2024.11.09.09.07.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Nov 2024 09:07:17 -0800 (PST) Message-ID: <672f96c5.050a0220.2121db.89f1@mx.google.com> From: Dr Rainer Woitok X-Google-Original-From: Dr Rainer Woitok Received: by tux (sSMTP sendmail emulation); Sat, 09 Nov 2024 18:07:16 +0100 Date: Sat, 09 Nov 2024 18:07:16 +0100 To: Gentoo-User@Lists.Gentoo.Org Subject: [gentoo-user] Problems with commands "reboot" and "shutdown" 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 X-Archives-Salt: 920b6def-31b2-4008-825a-3027dfb49987 X-Archives-Hash: fa20e5007ff92a1b3552ce85438cab58 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