/srv/irclogs.ubuntu.com/2023/11/24/#ubuntu-server.txt

=== chris14_ is now known as chris14
=== JanC is now known as Guest263
=== justThanks is now known as justache
znfDoes anyone have any tips on actually getting `network.service` work on Ubuntu 22.04? Our VPS system requires the use of /etc/network/interfaces (as it creates it upon start/deployment), and 22.04.1 seems to have worked just fine, but now with 22.04.3, network.service soft-fails -- it will delay a reboot by ~2 minutes, and the service shows up in a failed state17:26
znfthe configuration *does* work tough 17:26
znfthe message I'm getting is: https://pastie.dev/501IqO.yaml17:27
ChmEarlznf, dpkg -S '*/networking.service' -> ifupdown: /lib/systemd/system/networking.service18:16
ChmEarl^ I ran that on Debian18:16
ChmEarlznf systemctl list-unit-files | grep net  <-- any networkd ?18:25
ChmEarlif so, mask it18:25
ChmEarlbottom line: /etc/network/interfaces is owned by package ifupdown, which uses networking.service18:29
patdk-lapI dont even have ifupdown installed on any of my systems18:34
znfChmEarl, yeah, except there's something that sets up my interfaces _before_ networking.service18:48
znfand I have absolutely no idea _what_ 18:48
znfI disabled networking.service, systemd-networkd18:49
znfbut it seems that systemd-networkd.service gets activated by the socket18:51
znfwhich brings up the interfaces _before_ networking.service18:52
znfand networking.service fails18:52
znfnow overall this wouldn't have been such a big deal18:52
znfbut this causes nnetwork-online.target to fail18:53
znfand thus... other services that might depend on that18:53
fricklercheck networkd-dispatcher.service , I had to disable that, too19:01
znfit's dead and disabled19:02
znfdidn't really change anything19:02
znfhttps://pastie.dev/8zUUvP.yaml19:06
znfthat's all there is in journalctl 19:06
fricklerdid you just disable or mask systemd-networkd?19:11
znfI disabled it19:11
znfbut let's try masking it19:11
znfnope, still got network19:11
znfhttps://pastie.dev/i4wlWC.yaml19:12
znfperhaps ifup@eth0...19:14
znfwhy would this be enabled19:14
znfwhy is this a unit 19:14
znfwhy19:14
znfok, so ifup@eth0 does the start, once I masked that, it no longer brings it up19:17
znf_but_19:17
znfnetworking.service is still not working19:17
znfIs there a list of stuff that a "minimized" 22.04 server install removes/does?22:17
znfI just noticed there's no /var/log/wtmp and such 22:17
=== SoniEx2 is now known as Soni

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!