public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Steve Evans <gentoo-user@gorbag.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Problems with commands "reboot" and "shutdown"
Date: Sun, 10 Nov 2024 15:42:40 +0000	[thread overview]
Message-ID: <20241110154240.1514e912@cylon.local> (raw)
In-Reply-To: <bae3eab6-fcc1-4076-8e69-20338e624a0e@yahoo.com>

On Sat, 9 Nov 2024 18:58:53 +0100
ralfconn <mentadent47@yahoo.com> wrote:

> 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:
> 

But not if they switched to 23.0/split-usr like me. I get:

ls -l /
total 132

drwxr-xr-x   2 root root  4096 Oct  6 08:25 bin
drwxr-xr-x   2 root root  4096 Dec 12  2015 boot
drwxr-xr-x  19 root root  4660 Nov  5 16:58 dev
drwxr-xr-x 146 root root 12288 Nov 10 13:33 etc
drwxrwxr-x   3 root root  4096 Aug 23  2023 exports
drwxr-xr-x  13 root root  4096 Sep  9 10:50 home
drwxr-xr-x  13 root root  4096 Nov  3 09:02 lib
drwxr-xr-x   6 root root 12288 Nov  3 09:02 lib64
drwx------   2 root root 16384 Feb 18  2012 lost+found
drwxr-xr-x   5 root root  4096 Nov  5 16:58 media
drwxr-xr-x  15 root root  4096 Aug 23  2023 mnt
drwxr-xr-x   2 root root     0 Nov 10 13:24 net
drwxr-xr-x  14 root root  4096 Nov 10 13:30 opt
dr-xr-xr-x 361 root root     0 Oct 31 20:19 proc
drwx------  38 root root 12288 Nov 10 13:25 root
drwxr-xr-x  37 root root  1440 Nov 10 12:04 run
drwxr-xr-x   2 root root 12288 Nov  3 09:02 sbin
dr-xr-xr-x  12 root root     0 Nov  9 19:21 sys
drwxrwxrwt  32 root root 11140 Nov 10 15:39 tmp
drwxr-xr-x  13 root root  4096 Nov  6  2021 usr
drwxr-xr-x  15 root root  4096 Nov  5 12:20 var

and:

ls -l /sbin/reboot
lrwxrwxrwx 1 root root 4 Apr 30  2024 /sbin/reboot -> halt

Steve
-- 
____________________________________________________________________
Steve Evans            E-mail: mailto:stevee@gorbag.com
Registered Linux user #217906: http://counter.li.org
Public Encryption Key:         http://www.gorbag.com/public-key.html
____________________________________________________________________

6.6.58-gentoo-r1 Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz GNU/Linux

 15:37:21 up 9 days, 19:17,  7 users,  load average: 0.55, 0.70, 0.37

manic-depressive, adj.:
	Easy glum, easy glow.


  reply	other threads:[~2024-11-10 15:42 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 [this message]
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=20241110154240.1514e912@cylon.local \
    --to=gentoo-user@gorbag.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