I use i3 with OpenRC, I don't use a login manager, I simply login through tty user/pass - startx.
When I exit, reboot, or shutdown i3, I do it through keybinds with these settings in the config.
Code: Select all
# Logout, Reboot, Poweroff
mode "(L)ogout, (R)eboot, (P)oweroff" {
bindsym l exit
bindsym r exec --no-startup-id sudo reboot
bindsym p exec --no-startup-id sudo poweroff
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+Shift+e mode "(L)ogout, (R)eboot, (P)oweroff"
I then tried to change this shutting down openrc, thinking I needed to do that, to make this cleaner, but it didn't help.
Code: Select all
# Logout, Reboot, Poweroff
mode "(L)ogout, (R)eboot, (P)oweroff" {
bindsym l exit
bindsym r exec --no-startup-id sudo openrc-shutdown --reboot now
bindsym p exec --no-startup-id sudo openrc-shutdown --poweroff now
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+Shift+e mode "(L)ogout, (R)eboot, (P)oweroff"
I also use Slackware, CachyOS, and Arch, so along with Gentoo, I have 8 backups, 2 for each distro. All the backups are good, all the systems are good.
I also only run i3 on them the same way, no login manager, tty/startx, and all using the same config settings, as the first one.
I do not have any system or hardware issues, I just see that using OpenRC on a small WindowManager setup, with no login manager,
it seems like I need to do something different here, from the usual, say those on KDE through KDM, those end-users don't see this.
Hi @NeddySeagoon, the system came back showing clean, unless there is some possible fsck glitch, where it's giving false reports.
Code: Select all
sudo tune2fs -l /dev/nvme0n1p2 | grep "Filesystem state"
Filesystem state: clean
I have another idea to try here....
Code: Select all
# Logout, Reboot, Poweroff
mode "(L)ogout, (R)eboot, (P)oweroff" {
bindsym l exit
bindsym r exec --no-startup-id sudo sh -c "sync; mount -o remount,ro /; openrc-shutdown --reboot now"
bindsym p exec --no-startup-id sudo sh -c "sync; mount -o remount,ro /; openrc-shutdown --poweroff now"
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+Shift+e mode "(L)ogout, (R)eboot, (P)oweroff"
And then for dracut;
Code: Select all
/etc/dracut.conf.d/shutdown.conf
add_dracutmodules+=" shutdown "
I'm runnning Larry on a Samsung 990 Pro, from some diggging around looking at this, could it be when running an NVMe, we possibly have a race condition, because the NVMe is
faster than the OpenRC unmount script?
THANKS