=== 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 | ||
jdarnley | 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:16 |
---|---|---|
jdarnley | They are also run but the multi-user one steals a resource needed by one of the expected ones. | 09:17 |
CatalinS | 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 |
CatalinS | any idea what could be causing the file mentioned on the first link not to exist ? | 09:37 |
CatalinS | 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 |
CatalinS | 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 |
CatalinS | and what can be done to fix this ? | 09:38 |
CatalinS | it's Ubuntu 20.04 | 09:42 |
ShellcatZero2 | 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. | 10:59 |
ShellcatZero2 | I'm anticipating that I would just need to watch a repo for changes, apply patches, recompile & install. | 11:00 |
rbasak | 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 |
rbasak | Or you can use a deb-src line via apt to automate the download from the client end. | 11:24 |
rbasak | 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 |
rbasak | You can follow git repositories that mirror the official packages here: https://git.launchpad.net/ubuntu/+source/grub2 | 11:25 |
rbasak | 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 |
rbasak | Unfortunately it's a little complicated to set up though | 11:26 |
ShellcatZero2 | 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:40 |
rbasak | deb-src merely allows you to use apt to fetch the source of something that's also available to apt install. | 11:43 |
rbasak | It's limited in that it only gives you the source for the binaries you can install through apt *at that time*. | 11:43 |
rbasak | 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:44 |
ShellcatZero2 | I see. Where does it pull those sources locally? | 11:45 |
ShellcatZero2 | Relatedly, I'm not sure if this applies to Ubuntu but I've just found this as well: https://wiki.debian.org/apt-src | 11:57 |
ShellcatZero2 | 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/ | 12:04 |
=== jgee1 is now known as jgee | ||
j_darnley | 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. | 12:36 |
znf | have you systemctl disable'd name@multi-user? :) | 13:20 |
j_darnley | yes once or twice | 13:23 |
j_darnley | yes once or twice | 13:23 |
j_darnley | sorry wrong window | 13:24 |
j_darnley | Operator error at some time. `systemctl disable name@` worked | 13:31 |
guesswhat | 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 |
guesswhat | thanks | 13:50 |
guesswhat | omg, i have clrf in first socat command :X | 13:59 |
kathynated | 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:26 |
ahasenack | have you tried to install it with --no-install-recommends? | 14:55 |
tomreyn | 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:46 |
tomreyn | 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 |
tomreyn | (i asked them to do so, but doubt they will) | 15:49 |
cryptodan_mobile | How does one disable dhcp on Ubuntu Server for both ipv6 and ipv4 using systemd-networkd | 15:53 |
rfm | cryptodan_mobile, use netplan. examples at http://netplan.io/examples | 16:07 |
cryptodan_mobile | I have dhcp no in netplan but it ignores it | 16:38 |
ahasenack | do you want to specify a static ip or what? | 16:44 |
cryptodan_mobile | Yes but I woke up to a new secondary ip address added to the interface | 16:45 |
ahasenack | what's your netplan file like? | 16:47 |
cryptodan_mobile | https://termbin.com/uf14 | 16:47 |
cryptodan_mobile | And ip addr https://termbin.com/a9kg | 16:49 |
ahasenack | did you run `netplan apply`? | 16:50 |
cryptodan_mobile | Yup | 16:50 |
cryptodan_mobile | And no errors | 16:50 |
ahasenack | and 192.168.1.151/24 showed up *later*? | 16:51 |
ahasenack | at some point, right after you ran netplan apply, it was fine? | 16:51 |
ahasenack | if yes, I would check: | 16:52 |
ahasenack | - other files in /etc/netplan/* | 16:52 |
ahasenack | - networkd files in /etc/systemd and /run/systemd | 16:52 |
ahasenack | netplan ones are generated in /run/systemd/** | 16:52 |
cryptodan_mobile | I deleted the ip I want gone and seconds later it showed up and netplan only has one file | 16:52 |
ahasenack | then I would look for other sources of systemd-networkd configuration, in those paths above | 16:53 |
cryptodan_mobile | And networkd contains the right ip addr for eno2 | 16:53 |
ahasenack | and look for the netplan generated config for networkd, that's in /run/systemd/** somewhere | 16:54 |
ahasenack | see if it matches the yaml file description | 16:54 |
cryptodan_mobile | The /etc/systemd is empty | 16:54 |
ahasenack | and if there isn't another one lying around, from previous efforts or attempts | 16:54 |
cryptodan_mobile | Here's the only file in /run/systemd/network https://termbin.com/prr7 | 16:58 |
ahasenack | I don't know then, sorry | 16:59 |
rfm | cryptodan_mobile, is it possible you have NetworkManager running and managing that connection too? Maybe "nmcli c" to check? | 17:01 |
cryptodan_mobile | It's freaking frustrating | 17:01 |
ahasenack | could be that, or a cron job running dhclient, or you have dhclient running already, etc | 17:01 |
ahasenack | at some point I would fire up tcpdump to see if it's actually dhcp | 17:01 |
cryptodan_mobile | Network Manager isn't installed | 17:01 |
cryptodan_mobile | I think it was dhcpcd running | 17:21 |
=== justache is now known as justJingo |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!