BusyBox init vs SysVinit vs systemd for Buildroot Systems
Compare BusyBox init, SysVinit and systemd on Buildroot 2024.02 by size, features and boot model, and pick the init system that fits your device.

Every Buildroot image has to answer one question before it boots: what runs as process 1? Buildroot offers four answers in the menu, and the one you pick decides how services start, how they are supervised, how much flash the root filesystem needs and how much work every later feature costs you. This post compares the three real choices, BusyBox init, SysVinit and systemd, on Buildroot 2024.02 LTS, and ends with a table you can use to decide. If you are still choosing a build system, start with the Buildroot overview and come back here once you have a first image booting.
Where the choice lives in Buildroot
The init system is a single choice under System configuration, "Init system". In the .config file it appears as one of four symbols, and exactly one is set:
BR2_INIT_BUSYBOX=y
##BR2_INIT_SYSV is not set
##BR2_INIT_SYSTEMD is not set
##BR2_INIT_NONE is not setBR2_INIT_NONE builds no init at all, which suits a system that supplies its own /sbin/init as a single application. The other three are the subject of this post. The Buildroot manual describes the choice in its "Init system" section, and the rest of the image follows from it: Buildroot installs different start scripts, different default packages and different skeleton files depending on the selection.
BusyBox init: the smallest answer
BusyBox init is part of the BusyBox binary you already have. It reads /etc/inittab, which is not the SysV format. There are no runlevels. Each line has the form id::action:command, where the id is usually empty or a tty name and the action says when and how to run the command.
::sysinit:/bin/mount -t proc proc /proc
::sysinit:/bin/mount -o remount,rw /
::sysinit:/etc/init.d/rcS
console::respawn:/sbin/getty -L 115200 console vt100
::shutdown:/etc/init.d/rcK
::ctrlaltdel:/sbin/rebootThe actions that matter are sysinit (run once at boot, in file order, before anything else), respawn (start again whenever the process exits), askfirst (like respawn but waits for Enter), once and wait (run one time, wait blocks until done), shutdown and ctrlaltdel. BusyBox documents the same list in its init applet source and in examples/inittab.
On Buildroot the rcS script runs every S??name file in /etc/init.d in sorted order, passing start. That is the whole startup model: a numbered list of shell scripts, run once, one after another.
The cost is what is missing. BusyBox init does not supervise services beyond respawn, has no dependency graph, no socket activation, no timers and no resource limits. A daemon that dies is only restarted if you wrote it as a respawn line, and a service that needs the network before it starts relies on its script number being higher than the network script's.
SysVinit: runlevels and the same scripts
The BR2_INIT_SYSV option installs the classic sysvinit package. Its /etc/inittab has four colon-separated fields, id:runlevels:action:process, so the same file can describe different sets of processes per runlevel:
id:3:initdefault:
si::sysinit:/etc/init.d/rcS
l3:3:wait:/etc/init.d/rc 3
1:2345:respawn:/sbin/getty 115200 consoleSysVinit adds runlevels, the telinit command to change them and a tidier start and stop convention, where rc 3 runs the S scripts of that runlevel with start and the K scripts of the previous one with stop. It also ships the init, halt, shutdown and killall5 tools in a form that matches what most Linux documentation assumes.
What it does not add is supervision or parallelism. Scripts still run one at a time in a fixed order, and a crashed daemon stays dead unless it has a respawn line. On a small device with no use for runlevels, SysVinit mostly costs more than BusyBox init without giving the device anything it needed. It is the right answer when you port an existing product whose scripts and tooling already assume runlevels.
systemd: a different model
BR2_INIT_SYSTEMD replaces scripts with units. A service is a declarative file, and systemd works out the order from dependencies:
[Unit]
Description=Sensor gateway
After=network-online.target
Wants=network-online.target
[Service]
ExecStart=/usr/bin/sensor-gateway
Restart=on-failure
RestartSec=2
[Install]
WantedBy=multi-user.targetYou get parallel startup, supervision with Restart=, the journal, timers, socket activation, cgroup resource limits, a watchdog interface and sandboxing options such as ProtectSystem=. Those are exactly the pieces that take hundreds of lines of shell to approximate on the other two.
Buildroot sets conditions on this choice. The manual states that systemd requires a glibc or musl toolchain with the features it needs, and in Buildroot 2024.02 selecting it forces the toolchain's C library to be one it supports, adds udev functionality through systemd-udevd, and pulls in a much larger set of packages and kernel options (cgroups, devtmpfs, CONFIG_AUTOFS_FS, CONFIG_TMPFS_POSIX_ACL and several more). The root filesystem grows by several megabytes compared with BusyBox, and boot needs more RAM. systemd also expects a writable /run, /var and /tmp, which matters if you want a read-only root filesystem later.
Check what you actually booted
After any of these, confirm which init is running from the target shell rather than trusting the .config:
ls -l /sbin/init
cat /proc/1/commlrwxrwxrwx 1 root root 14 Feb 12 09:41 /sbin/init -> ../bin/busybox
initWith systemd the link target is ../lib/systemd/systemd and comm prints systemd. With SysVinit the link target is /sbin/init as a real binary from the sysvinit package. The date and size will differ on your build.
A table to decide with
| Need | BusyBox init | SysVinit | systemd |
|---|---|---|---|
| Smallest rootfs and RAM | Best | Close second | Largest |
| Restart a crashed daemon | Only with respawn lines | Only with respawn lines | Restart= per unit |
| Start order | Script number order | Script number order per runlevel | Declared dependencies, parallel |
| Hardware watchdog feeding | Write a script or daemon | Write a script or daemon | RuntimeWatchdogSec= and WatchdogSec= |
| Resource limits and sandboxing | None | None | cgroups and Protect*= options |
| Logging | syslogd from BusyBox | syslogd or rsyslog | journald |
| Existing runlevel-based product | Rework needed | Fits | Rework needed |
| Learning curve for a new team | Low | Low | Higher, but widely documented |
When each one is the wrong choice
BusyBox init is the wrong choice when your product has more than a handful of services that depend on each other, or when you need to restart one service without touching the rest. You end up rebuilding systemd out of shell scripts. SysVinit is rarely the best choice for a new design at all: its extra weight over BusyBox buys runlevels you will not use. systemd is the wrong choice on a device with a few megabytes of flash or 16 MB of RAM, on a kernel you cannot configure for cgroups, or where you need a sub-second boot to a single application; a hand-written init is faster there.
A practical rule: start with BusyBox init for single-purpose devices that run one main application, and move to systemd when you catch yourself writing a supervisor, a dependency check or a watchdog loop in shell. Moving later is a Buildroot menu change plus converting scripts to units, so the early choice is cheap to revise.


