See hack4glarus-2019-summer #6751. This stupid little joke evolved into a game. See the DISCLAIMER and rules below.
systemd-openbsd
is a systemd- style init for OpenBSD. It does
not support services, no integrated DHCP server and no support for
emacs.service, but it implements the most important features that
are commonly expected from Linux' systemd. The goal is to ensure that
the system is working continuously and reliably.
For that reason, it will do the following actions:
Furthermore:
rc
as PID 1.DON'T USE THIS IN PRODUCTION! DON'T USE IT ON YOUR MACHINE! DON'T TAKE IT SERIOUS! IT MIGHT DELETE YOUR FILES.
First make sure that you've read the DISCLAIMER above.
Now install systemd-openbsd
on a dedicated machine:
init/Makefile
and enable the
-DDANGEROUS
flag, and compile it with make
under OpenBSD./sbin/init
with the binary of this init.Keep the system running. You can also use it, turn it into a server,
but just make sure that you don't accidentally revert /sbin/init
to
the OpenBSD version (e.g. by via sysupgrade
).
/var/log/authlog
(or set up remote logging to keep the logs)./systemd-score.txt
.The system is unusable if there is enough damage that it fails to reboot into multi-user mode.
If you cannot access the system anymore, try to mount the root disk
from elsewhere to read /systemd-score.txt
. The goal of the game is
to run the system as long as possible and to obtain the highest
possible score. You can try to make your personal records, play the
game with others, or share your results on Mastodon or Twitter using
the #systemdrocksopenbsd
hash tag.
You automatically won the game if you've obtained a Joker. There are different situation that give you a Joker:
/systemd-score.txt
got corrupted. You won./sbin/init
got corrupted. You won.