On Sat, 9 Nov 2024 18:58:53 +0100
ralfconn <mentaden...@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:ste...@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 via email to