public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Problems with commands "reboot" and "shutdown"
@ 2024-11-09 17:07 Dr Rainer Woitok
  2024-11-09 17:14 ` Michael
  2024-11-09 17:58 ` ralfconn
  0 siblings, 2 replies; 13+ messages in thread
From: Dr Rainer Woitok @ 2024-11-09 17:07 UTC (permalink / raw
  To: Gentoo-User

Greetings,

normally I just hibernate my laptop  and rarely reboot  or shut it down.
But after building kernel 6.6.58-1  I did of course reboot,  or rather I
tried,  because the laptop either stalled or went into an infinite loop.
Long pressing the power key did bring the system down, and switching the
laptop on again did bring it up, so I could at least investigate.

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
created these two symbolic links in "/usr/bin/"  pointing into "/sbin/".
However, running "shutdown" still stalled or went into an infinite loop,
though without complaining in syslog about not finding "reboot" and "po-
weroff".

What eventually helped  on top of the two symbolic links  was rebuilding
package "sys-apps/openrc-0.54.2" with additional USE flag "+sysv-utils".
However,  I don't regard these additional two symbolic links  (which are
still required) as a real fix but rather as some sort of band-aid.

Mind that all this is not necessarily a problem with the new kernel ver-
sion.   It may just have surfaced now  because I wanted  to boot the new
kernel.   So, what am I missing?  Some news item?  Some new USE flag for
some package I have meanwhile installed or upgraded?   Some new configu-
ration variable in some configuration file?   Some new kernel parameter?
A bug?  I checked the list  of open bugs against "sys-apps/openrc",  but
was missing any sort of deja vu.

Any pointers appreciated.

Sincerely,
  Rainer


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-11-19 16:32 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2024-11-15 12:10         ` Dr Rainer Woitok
2024-11-15 12:28           ` Dale
2024-11-19 16:32         ` Dr Rainer Woitok

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox