r/debian • u/IncendiaryIdea • 20d ago
General Debian Question Does Forky include systemd-networkd in a netinst with standard system utilities only?
Does Forky include systemd-resolved in a netinst with standard system utilities only? Because my installation of Debian 13 doesn't and I had to install it.
EDIT: I meant to write resolved, not networkd in the OP, I am sorry!
5
u/wizard10000 20d ago edited 20d ago
Does Forky include systemd-networkd in a netinst with standard system utilities only?
Yes - it's part of the base systemd package.
edit: File list for Forky's systemd package - https://packages.debian.org/forky/amd64/systemd/filelist
2
u/IncendiaryIdea 19d ago
Ah, thank you, I am an idiot and wrote about networkd in the OP instead of resolved.
It seems resolved is not included in Forky?
2
u/wizard10000 19d ago
It seems resolved is not included in Forky?
It's included, just not installed by default.
0
u/IncendiaryIdea 19d ago
You mean it's available in the repositories? Yes, of course, but it would be a bit more convenient if it were installed by default.
5
u/michaelpaoli 19d ago
Not necessarily more convenient. May just be bloat that many don't want there - at least not by default.
The Universal Operating System.
# echo -n 'OS: Debian ' && cat /etc/debian_version | tr -d \\012 && echo -n ' ' && dpkg --print-architecture && echo -n 'Kernel: ' && uname -srvmo && echo -n 'Packages: ' && dpkg -l | grep \^ii\ | wc -l && df -h -x devtmpfs -x tmpfs && head -n 3 /proc/meminfo OS: Debian 13.7 amd64 Kernel: Linux 6.12.117+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.117-1 (2026-11-12) x86_64 GNU/Linux Packages: 148 Filesystem Size Used Avail Use% Mounted on /dev/vda1 4.9G 915M 3.7G 20% / MemTotal: 120452 kB MemFree: 20684 kB MemAvailable: 38080 kB #So, e.g., only 148 packages installed (above) ... 69,830 packages available.
It's not some "one size fits all" - that never fits right for many, but quite customizable, e.g. start by picking the install media (or method) - various differing defaults, then tasksel during install, can install, or not, various package collections. And one can of course further customize what packages one does/doesn't want installed, how configured, etc.The Universal Operating System
:-)
2
u/IncendiaryIdea 19d ago
Yes, I hate bloat, too. I was thinking they could get rid of the ifupdown default and make the systemd networkd+resolved the default. Because it works just as well or better and has better configuration and tools/reporting.
3
u/michaelpaoli 19d ago
# apt -o APT::Get::Trivial-Only=true install systemd-resolved ifupdown- Installing: systemd-resolved Installing dependencies: dbus dbus-session-bus-common libexpat1 libnss-resolve dbus-bin dbus-system-bus-common libidn2-0 libunistring5 dbus-daemon libdbus-1-3 libnss-myhostname Suggested packages: default-dbus-session-bus | dbus-session-bus polkitd REMOVING: ifupdown Summary: Upgrading: 0, Installing: 12, Removing: 1, Not Upgrading: 0 Download size: 1923 kB Space needed: 5666 kB / 3854 MB available Error: Trivial Only specified but this is not a trivial operation. #Looks pretty bloated to me. No thanks.
2
u/IncendiaryIdea 19d ago
Your Debian is very lean. Are you installing Debian with netinst and without selecting "standard system utilities"?
I let it install system utilities and SSH and I think I already had those libraries. My current install has 340 packages.
2
u/michaelpaoli 18d ago
That's one of my quite minimal installations.
Started with quite minimal netinst, then removed/purged most everything that could be removed/purged ... and added ed ... no need for nano or any flavor of vi, etc.
From another Debian 13 amd64 host:
$ ls -Lil /usr/bin/{ed,emacs,nano,nvi,vi,vim} /boot/vmlinuz-6.12.117+deb13-amd64 | sort -k 6,6bn -k 10,10 311473 -rwxr-xr-x 1 root root 59952 Mar 27 2025 /usr/bin/ed 313480 -rwxr-xr-x 1 root root 303960 May 3 2026 /usr/bin/nano 311427 -rwxr-xr-x 3 root root 480488 Aug 1 2024 /usr/bin/nvi 311427 -rwxr-xr-x 3 root root 480488 Aug 1 2024 /usr/bin/vi 311450 -rwxr-xr-x 1 root root 3922048 Nov 4 14:12 /usr/bin/vim 311472 -rwxr-xr-x 1 root root 11321616 Aug 21 10:24 /usr/bin/emacs 22 -rw-r--r-- 1 root root 12171200 Nov 12 01:30 /boot/vmlinuz-6.12.117+deb13-amd64 $Emacs ... perfectly good operating system, just lacks a good text editor. Eight Megabytes And Constantly Swapping. Actually these days EMACS has grown more bloated than that.
$ ps lwwwwp 10997 F UID PID PPID PRI NI VSZ RSS WCHAN STAT TTY TIME COMMAND 0 1003 10997 10977 20 0 153584 62408 do_sel S+ pts/2 0:01 emacs $And that's just opening it, text only, no X nor Wayland environment.
2
u/IncendiaryIdea 18d ago
Emacs is hell.
But why not get rid of all text editor packages and just use busybox's vi clone? Or have you gotten rid of poor busybox, too? :D
→ More replies (0)3
u/wizard10000 19d ago
it would be a bit more convenient if it were installed by default.
Not everybody uses it - I only use it on 1/3 machines here because my VPN client requires it.
1
u/Relevant_Hope_900 19d ago
It installs it as far as I know, in both Trixie and Forky, you just have to enable it after creating your network config files. Debian doesn't set it up by default like it does with ifupdown interfaces file on a minimal netinstall. Just rebuilt my Debian server and all I had to do was copy my backup networkd files over to the new install, enable systemd-networkd, comment out the nic in etc/interfaces and backup the file and interfaces.d just in case. Then disable networking.service. Finally I shutdown and remove everything but power and network cable, fire it back up and ssh in and finish setting up. I could remove ifupdown also, but just leave it installed in case for some reason I want to switch back.
If you also want to use systemd-resolved then you'll have to install that one, but networkd is included by default.
1
u/IncendiaryIdea 19d ago
You are right, I was absent-minded and made a mistake. I did migrate to networkd from ifupdown and I then "had" to install resolved. And wanted to see if it is included in Forky by default.
2
u/michaelpaoli 19d ago
Forky has no systemd-networkd package, but package user-mode-linux contains directory systemd-networkd
Forky has systemd-resolved package.
I see, e.g. systemd, Suggests: systemd-resolved, but I'm not easily spotting anything from minimal netinst, or that + standard (from tasksel) that would bring in systemd-resolved as Required: or Recommends:
I only find 4 packages that have systemd-resolved as a Depends:
# apt-cache --no-recommends --without-suggests rdepends systemd-resolved | uniq
systemd-resolved
Reverse Depends:
progress-linux-base-system
freedom-maker
debian-cloud-images-packages
bfh-base-system
# 1
u/Kaseffera 15d ago
I wonder why it isn’t installed with Debian 13 Trixie. I wondered why I had all over Steam download speeds.
6
u/dkopgerpgdolfg 20d ago
What exactly did you install?