public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: ralfconn <mentadent47@yahoo.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Problems with commands "reboot" and "shutdown"
Date: Sat, 9 Nov 2024 18:58:53 +0100	[thread overview]
Message-ID: <bae3eab6-fcc1-4076-8e69-20338e624a0e@yahoo.com> (raw)
In-Reply-To: <672f96c5.050a0220.2121db.89f1@mx.google.com>

Il 09/11/24 18:07, Dr Rainer Woitok ha scritto:
> 
> 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

/bin and /sbin should be symlinks to /usr/bin if you switched to profile 
23.0:

$ ls -l /
total 52
lrwxrwxrwx   1 root root     7 Mar 25  2024 bin -> usr/bin
drwxr-xr-x   4 root root  4096 Nov  9 11:45 boot
drwxr-xr-x  16 root root  4220 Nov  9 18:27 dev
drwxr-xr-x  87 root root  4096 Nov  9 18:02 etc
drwxr-xr-x   8 root root  4096 Jul  8  2023 home
lrwxrwxrwx   1 root root     7 Mar 25  2024 lib -> usr/lib
lrwxrwxrwx   1 root root     9 Mar 25  2024 lib64 -> usr/lib64
drwx------   2 root root 16384 Jul  5  2023 lost+found
drwxr-xr-x   2 root root  4096 Jul  2  2023 media
drwxr-xr-x  11 root root  4096 Sep 15 20:49 mnt
drwxr-xr-x   5 root root  4096 Nov  9 10:58 opt
dr-xr-xr-x 517 root root     0 Nov  9 17:43 proc
drwx------  18 root root  4096 Nov  9 18:05 root
drwxr-xr-x  23 root root   900 Nov  9 18:05 run
lrwxrwxrwx   1 root root     7 Mar 25  2024 sbin -> usr/bin
dr-xr-xr-x  12 root root     0 Nov  9 18:51 sys
drwxrwxrwt   9 root root   320 Nov  9 18:42 tmp
drwxr-xr-x  12 root root  4096 Apr 28  2024 usr
drwxr-xr-x  12 root root  4096 Nov  9 10:22 var


What does 'eselect profile show' return?

raf


  parent reply	other threads:[~2024-11-09 17:59 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 [this message]
2024-11-10 15:42   ` Steve Evans
2024-11-14 17:35     ` Dr Rainer Woitok
2024-11-14 19:15       ` Michael
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=bae3eab6-fcc1-4076-8e69-20338e624a0e@yahoo.com \
    --to=mentadent47@yahoo.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