public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael <confabulate@kintzios.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Problems with commands "reboot" and "shutdown"
Date: Thu, 14 Nov 2024 19:15:08 +0000	[thread overview]
Message-ID: <4610914.LvFx2qVVIh@rogueboard> (raw)
In-Reply-To: <673634ef.5d0a0220.2002ff.7c5f@mx.google.com>

[-- Attachment #1: Type: text/plain, Size: 1914 bytes --]

On Thursday 14 November 2024 17:35:42 GMT Dr Rainer Woitok wrote:
> Steve,
> 
> On Sun, 10 Nov 2024 15:42:40 +0000 you wrote:
> > On Sat, 9 Nov 2024 18:58:53 +0100
> > 
> > ralfconn <mentadent47@yahoo.com> wrote:
> > > ...
> > > /bin and /sbin should be symlinks to /usr/bin if you switched to
> > 
> > > profile 23.0:
> > But not if they switched to 23.0/split-usr like me. I get:
> > ...
> > ls -l /sbin/reboot
> > lrwxrwxrwx 1 root root 4 Apr 30  2024 /sbin/reboot -> halt
> 
> Same on my laptop:
> 
>    $ eselect profile show
>    Current /etc/portage/make.profile symlink:
>      default/linux/amd64/23.0/split-usr/desktop
>    $ ls -l /sbin/reboot
>    -rwxr-xr-x 1 root root 526 2024-11-08 10:14 /sbin/reboot
>    $
> 
> Obviously the problem is somewhere else.  Meanwhile I found that running
> "shutdown" directly from a shell  works without  the additional symbolic
> links in directory "/usr/bin/".  But selecting "shutdown" or "reboot" in
> Xfce's "Action Button"  popup menu fails  when these  symbolic links are
> missing.
> 
> And I found that in syslog the message
> 
>    (3) reboo[14713]: Failed to execute /usr/bin/reboot: No such file or
> directory
> 
> is always immediately preceded (with exactly the same time stamp) by the
> message
> 
>    (5) kernel: elogind-daemon[1877]: System is rebooting.
> 
> But the last update of "sys-auth/elogind" to version 252.9-r2 was end of
> September and thus _before_ my last successful reboot  via Xfce's action
> buttons and without the symbolic links.  So "elogind" seems out.
> 
> As is kernel 6.6.58-r1, because booting an older kernel (6.6.52) without
> the symbolic links didn't work either.
> 
> So currently I'm  a bit out of ideas,  apart from leaving these symbolic
> links in "usr/bin/" :-(
> 
> Sincerely,
>   Rainer

I have no split-usr system here to compare notes, but did you try rebuilding 
the sys-auth/elogind package just in case?

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2024-11-14 19:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-09 17:07 [gentoo-user] Problems with commands "reboot" and "shutdown" Dr Rainer Woitok
2024-11-09 17:14 ` Michael
2024-11-09 18:05   ` Dr Rainer Woitok
2024-11-09 19:38     ` Dale
2024-11-09 23:55       ` Michael
2024-11-10  4:08         ` Dale
2024-11-09 17:58 ` ralfconn
2024-11-10 15:42   ` Steve Evans
2024-11-14 17:35     ` Dr Rainer Woitok
2024-11-14 19:15       ` Michael [this message]
2024-11-15 12:10         ` Dr Rainer Woitok
2024-11-15 12:28           ` Dale
2024-11-19 16:32         ` Dr Rainer Woitok

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4610914.LvFx2qVVIh@rogueboard \
    --to=confabulate@kintzios.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox