=== mmebsd is now known as linsux === BOWnbERTHA89 is now known as BOWnbERTHA8 === scoobydoo_ is now known as scoobydoo === scoobydoo_ is now known as scoobydoo === OpenSource is now known as UNIX [09:16] I need help discovering what causes systemd to start a service name@multi-user when only name@0 and name@1 should be run. [09:17] They are also run but the multi-user one steals a resource needed by one of the expected ones. [09:37] There is this output: https://pastebin.com/Z3CnzYnc following these commands being run by a provision script in packer inside ADO: https://pastebin.com/vQevNAyi [09:37] any idea what could be causing the file mentioned on the first link not to exist ? [09:38] 2022-09-09T08:06:58.6917933Z [0;36m azure2: Get:48 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 c-n-f Metadata [508 B][0m [09:38] 2022-09-09T08:07:05.1807751Z [1;31m==> azure2: E: Could not open file /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_focal_multiverse_cnf_Commands-amd64 - open (2: No such file or directory)[0m [09:38] and what can be done to fix this ? [09:42] it's Ubuntu 20.04 [10:59] Can anyone tell me where I can find the official grub source for Ubuntu 22.04? I have some custom patches that I going to apply. I'm also wondering what the (recommended) process would be for keeping grub up to date while persisting my patches in it. [11:00] I'm anticipating that I would just need to watch a repo for changes, apply patches, recompile & install. [11:24] ShellcatZero2: officially, start from https://launchpad.net/ubuntu/+source/grub2 and you can grab the sources through there (eg. go to "View full publishing history", then the version string, then the Downloads section. [11:24] Or you can use a deb-src line via apt to automate the download from the client end. [11:25] However, there's also an easy way of maintaining a PPA with custom patches against most source packages now, which is by using the git-ubuntu git branches. I should write up some documentation on this :-/ [11:25] You can follow git repositories that mirror the official packages here: https://git.launchpad.net/ubuntu/+source/grub2 [11:26] You can push your own fork of some branch, and set up a PPA to build against a merge of that and your fork using a "build recipe". Then the PPA will automatically update with new changes except when there's a merge conflict that will need manually resolving. [11:26] Unfortunately it's a little complicated to set up though [11:40] Ok, thanks rbasak, I'll look into that. Can you elaborate at all (or provide docs) on how using deb-src could be leveraged in the case I mentioned? Surely it's not just as simple as adding the line(s) in sources.list, right? I've known about those entries in sources.list but never understood their use case, admittedly. [11:43] deb-src merely allows you to use apt to fetch the source of something that's also available to apt install. [11:43] It's limited in that it only gives you the source for the binaries you can install through apt *at that time*. [11:44] On the other hand looking at Launchpad directly will give you access to sources for all of history, so that might be preferable for your purposes. [11:45] I see. Where does it pull those sources locally? [11:57] Relatedly, I'm not sure if this applies to Ubuntu but I've just found this as well: https://wiki.debian.org/apt-src [12:04] Ah, I think I understand the usage of deb-src now after reading this article: https://www.cyberciti.biz/faq/how-to-get-source-code-of-package-using-the-apt-command-on-debian-or-ubuntu/ === jgee1 is now known as jgee [12:36] I need help discovering what causes systemd to start a service name@multi-user when only name@0 and name@1 should be run. They are also run but the multi-user one steals a resource needed by one of the expected ones. [13:20] have you systemctl disable'd name@multi-user? :) [13:23] yes once or twice [13:23] yes once or twice [13:24] sorry wrong window [13:31] Operator error at some time. `systemctl disable name@` worked [13:50] guys, any idea, how to strip last newline from socat command ? i am using /usr/bin/socat TCP-LISTEN:9946,crlf,reuseaddr,fork SYSTEM:'echo HTTP/1.0 200 OK; echo Content-Type\: text/plain;echo; socat - "UNIX-CONNECT:/run/zincati/public/metrics.promsock"' , but socat - "UNIX-CONNECT:/run/zincati/public/metrics.promsock" will produce newline ( \r ) [13:50] thanks [13:59] omg, i have clrf in first socat command :X [14:26] morning. it seems trying to install libvirt-daemon-system wants to install X even on the server edition. How do I get libvirt installed without X so I can have a hypervisor without using snap? [14:55] have you tried to install it with --no-install-recommends? [15:46] apparently - still in 22.04 - link bonding in active-backup mode does not get configured properly by subiquity: https://askubuntu.com/questions/1085674/ubuntu-18-04-and-bonding/1428472#1428472 [15:49] subiquity does not add the "mii-monitor-interval: 100" line under "mode: active-backup" so link outages are not detected and failover does not take place. this was tested and reported by irc user 'dreamon' in #ubuntu-de - i have not tried to reproduce, thus can't file a bug report. [15:49] (i asked them to do so, but doubt they will) [15:53] How does one disable dhcp on Ubuntu Server for both ipv6 and ipv4 using systemd-networkd [16:07] cryptodan_mobile, use netplan. examples at http://netplan.io/examples [16:38] I have dhcp no in netplan but it ignores it [16:44] do you want to specify a static ip or what? [16:45] Yes but I woke up to a new secondary ip address added to the interface [16:47] what's your netplan file like? [16:47] https://termbin.com/uf14 [16:49] And ip addr https://termbin.com/a9kg [16:50] did you run `netplan apply`? [16:50] Yup [16:50] And no errors [16:51] and 192.168.1.151/24 showed up *later*? [16:51] at some point, right after you ran netplan apply, it was fine? [16:52] if yes, I would check: [16:52] - other files in /etc/netplan/* [16:52] - networkd files in /etc/systemd and /run/systemd [16:52] netplan ones are generated in /run/systemd/** [16:52] I deleted the ip I want gone and seconds later it showed up and netplan only has one file [16:53] then I would look for other sources of systemd-networkd configuration, in those paths above [16:53] And networkd contains the right ip addr for eno2 [16:54] and look for the netplan generated config for networkd, that's in /run/systemd/** somewhere [16:54] see if it matches the yaml file description [16:54] The /etc/systemd is empty [16:54] and if there isn't another one lying around, from previous efforts or attempts [16:58] Here's the only file in /run/systemd/network https://termbin.com/prr7 [16:59] I don't know then, sorry [17:01] cryptodan_mobile, is it possible you have NetworkManager running and managing that connection too? Maybe "nmcli c" to check? [17:01] It's freaking frustrating [17:01] could be that, or a cron job running dhclient, or you have dhclient running already, etc [17:01] at some point I would fire up tcpdump to see if it's actually dhcp [17:01] Network Manager isn't installed [17:21] I think it was dhcpcd running === justache is now known as justJingo