News for hackers. Stuff that matters.
Re:Systemd: The Good Parts by megous on Sunday May 16, 2021 @04:54PM (#27176941)
if you have access to kernel command line to add init= you can also disable selinux there.
Re:Systemd: The Good Parts by corty on Sunday May 16, 2021 @07:26PM (#27178213)
I'd rather recommend booting a liveCD. grml, knoppix, whatever floats your boat. An init=/bin/bash shell needs quite a bit of knowledge to get working (mount rw, get rid of selinux, mount the real rootfs), is possibly just busybox and generally a pain. Even more so if you need the net to copy something over.

It isn't impossible, and OK in a pinch, but why make it hard on yourself?

Re:Systemd: The Good Parts by isodude on Monday May 17, 2021 @12:55PM (#27185564)
You can actually specify systemd.unit=rescue.target nowadays.

https://ostechnix.com/how-to-boot-into-rescue-mode-or-emerge...

Re:Systemd: The Good Parts by megous on Tuesday May 18, 2021 @08:59AM (#27193952)
You forgot mounting /proc and /sys :) Anyway, it's the quickest way to recover if all you need is to edit some config file or run passwd.