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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 46F0D1581EC for ; Tue, 19 Nov 2024 16:32:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B1C57E07F6; Tue, 19 Nov 2024 16:32:27 +0000 (UTC) Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) (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 56132E07E6 for ; Tue, 19 Nov 2024 16:32:27 +0000 (UTC) Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-3824038142aso2094526f8f.2 for ; Tue, 19 Nov 2024 08:32:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732033946; x=1732638746; darn=lists.gentoo.org; h=references:subject:in-reply-to:to:date:from:message-id:from:to:cc :subject:date:message-id:reply-to; bh=mGDc2tX2T5YdA3c4f+2rPKfAQAXFZJR+AiE3kRn6PJA=; b=e2gRfaCy+RTYUSe2AVsp6VDJU3aRUiCVwzY8AXEp41BVhoO29TTf5L7DoI8Ioi6Ndz 2YkCxGr/41OBjtCWoLUHpyqAjYqXLnEVtgLCjw5x7Xscyl5SjTzl8vvusbd1rOH6SA8r uAjouaHyQOo4eLIl55ao55vtGDE6HQ9w5d3OzfQd/ObsJmtqT23FgV6E85Y9dy+C/80Z o++Q94EsxaEDtWP/TTIovfow7fYptkwuOBPlgysJReBWS7UllimdyB30rPfxG9xhYFAa AgF7Z7JSNo8adaciYjF3qX4YeAf/HXK+JbU9Q6zVR5EqRdBd1rLwcTTLLsDYlgDFmaNL 7kFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732033946; x=1732638746; h=references:subject:in-reply-to:to:date:from:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=mGDc2tX2T5YdA3c4f+2rPKfAQAXFZJR+AiE3kRn6PJA=; b=J3depUbwPHQ5iY/fymygJGDL5iYgiYRuCVswTiD57sQ1Pm+uyhhf2/pkrXMc0iBfBr FRuJ0MgvanRVTd8jhz/VZWEHcdhiRiSI+M9D4aotbghUNh4/TbbIVBn2Vre2czdNicjB G6cXASv++d+jODBcPT0/zhColGZO4rTcGI33iruoHTMKQYnjuUpI4ngOGWVXJkU/D/rY TCvEDZMNGn7Nmtkmm1Lle/eRUnv2+xjr2jXAtzbuOoeDqq3UR5+Jg+0Q82uVrmYzFwlJ FXDPLjj46zoyAndhkQkHSuBje/Ns3fs1L/RRO2fX4a0h3hRD1R7xmMaWW4C6SpxfUY1h Nf3Q== X-Gm-Message-State: AOJu0YznwM+I2+/Cg8OmnHu7NacR61fpe26vaMzkbTNbyAFxRQYtwc65 Z8SsqGs7GQqZMF0mYgzLJfzN8ALsYle8fCwR3RDIrzJ1m7971bwc6kOnsQ== X-Google-Smtp-Source: AGHT+IGPn7r5h4nzQU9YMH+gFgW3ZTLYnhJQcPn0jFU6qSJRR8ODsPANx4XJ5axrIfHrAV+Y6uHcLQ== X-Received: by 2002:a05:6000:1887:b0:382:49ad:54df with SMTP id ffacd0b85a97d-38249ad5861mr5513249f8f.2.1732033945738; Tue, 19 Nov 2024 08:32:25 -0800 (PST) Received: from tux (p200300df070507100f05dee17f4d28d0.dip0.t-ipconnect.de. [2003:df:705:710:f05:dee1:7f4d:28d0]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3824a2eb16csm5148657f8f.3.2024.11.19.08.32.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Nov 2024 08:32:25 -0800 (PST) Message-ID: <673cbd99.5d0a0220.20ec5c.3405@mx.google.com> From: Dr Rainer Woitok X-Google-Original-From: Dr Rainer Woitok Received: by tux (sSMTP sendmail emulation); Tue, 19 Nov 2024 17:32:23 +0100 Date: Tue, 19 Nov 2024 17:32:23 +0100 To: gentoo-user@lists.gentoo.org, confabulate@kintzios.com In-Reply-To: (message from Dr Rainer Woitok on Fri, 15 Nov 2024 13:10:39 +0100) Subject: Re: [gentoo-user] Problems with commands "reboot" and "shutdown" References: <672f96c5.050a0220.2121db.89f1@mx.google.com> <20241110154240.1514e912@cylon.local> <673634ef.5d0a0220.2002ff.7c5f@mx.google.com> <4610914.LvFx2qVVIh@rogueboard> 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: da4a0c82-0e94-419b-9e5e-40f327cb8665 X-Archives-Hash: e61e8652faf614e8789f8ff0dacf6a0c Greetings, On Fri, 15 Nov 2024 13:10:39 +0100 I myself wrote: > > ... > > I have no split-usr system here to compare notes, but did you try rebuilding > > the sys-auth/elogind package just in case? > > Yes, I did. With and without USE flag "cgroup-hybrid" which was enabled > by default up to version 246.10-r4 including but is disabled by default > in version 252.9-r2. Didn't change anything :-( Well, it turned out my tests have been a bit too quick and dirty. After re-emerging package "sys-auth/elogind" the old "elogind-daemon" service programme is still executing and thus clicking on Xfce's "Restart" ac- tion button only tests the old binary in its new environment which -- of course -- isn't guaranteed to work :-( So between re-emerging and trying to reboot via Xfce's "Restart" action button I need to reboot using "/sbin/reboot" to run the "elogind-daemon" service programme I want to test. Using this slightly more sophisticated test procedure I found that both stable "sys-auth/elogind" ebuilds work while BOTH BINARY PACKAGES DON'T. As already described in a previous mail, after pressing Xfce's "Restart" action button the system stalls or loops indefinitely, and syslog con- tains 2024-11-18T17:55:02+01:00 (5) kernel: elogind-daemon[1835]: System is rebooting. 2024-11-18T17:55:02+01:00 (3) reboo[5780]: Failed to execute /usr/bin/reboot: No such file or directory which somehow suggests that "elogind" expects "systemd" to be installed, while I'm using "openrc". Quoting a slightly outdated Gentoo webpage [1]: The available useflag settings and versions correspond to the stable packages of the amd64/17.1/nomultilib (i.e., openrc), amd64/17.1/desktop/plasma/systemd, and amd64/17.1/desktop/gnome/systemd profiles. Apart from the outdated "17.1", I'm on neither of these profiles: $ eselect profile show Current /etc/portage/make.profile symlink: default/linux/amd64/23.0/split-usr/desktop $ Is THIS the problem? But if -- as the above quote is suggesting -- the binaries are coded to work with BOTH, "openrc" AND "systemd", then why don't they work on my laptop? Baffled, Rainer [1]: https://www.gentoo.org/news/2023/12/29/Gentoo-binary.html