Gentoo Archives: gentoo-user

From: "Håkon Alstadheim" <hakon@×××××××××××××××.no>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] power button to shutdown for openrc? [SOLVED]
Date: Sun, 17 Nov 2019 16:44:07
Message-Id: 7a0252f2-b3d7-8384-ac35-4c265b465508@alstadheim.priv.no
In Reply to: Re: [gentoo-user] power button to shutdown for openrc? [SOLVED] by Dale
1 Den 17.11.2019 12:22, skrev Dale:
2 > Neil Bothwick wrote:
3 >> On Sun, 17 Nov 2019 10:50:08 +0000, Mick wrote:
4 >>
5 >>>> Magic SysReq would probably have helped in those situations. ext3/4
6 >>>> only journal metadata by default, you can specify a mount option to
7 >>>> also journal data but it impacts performance.
8 >>> When X hangs and I lose the keyboard to the extent where neither
9 >>> Ctrl+Alt+F1, or Ctrl+Alt+Del would work, I will use ssh to connect
10 >>> remotely and stop the hanging process or restat the X server. If ssh
11 >>> is also not working, I use the magic SysReq sequence to stop processes,
12 >>> sync the disks and reboot, or shutdown. I don't recall losing data in
13 >>> such cases, although when I have time I run fsck with Live media just
14 >>> in case.
15 >> I do the same, but configuring the power button to do a clean shutdown
16 >> may like life simpler.
17 >>
18 >>
19 >
20 > I don't have a second system to ssh in with but if I did, that's what
21 > I'd do as well, or try at least.
22
23 You can get ssh clients for Android or Apple iOS. Just remember to set
24 up with public keys before you need them, and also give them a static
25 address if the box in question is router/dhcp-server.

Replies

Subject Author
Re: [gentoo-user] power button to shutdown for openrc? [SOLVED] Dale <rdalek1967@×××××.com>