[00:00] it's been a day or two since I had to recover a bad data file, would have to do some digging [00:00] why's that? i just rm'd /var/lib/mysql :P [00:00] there's nothing database-wise installed here... i donm't have any programs running that require it yet.. [00:01] huh. that did it [00:01] "mysql" starts mariaDB up with no problems [00:01] thanks! :D [00:03] now, i just have to worry about 20.04.5 LTS moving to end of life soon... i have kernel modifications that i... don't know if they'll carry over if i upgrade to 22.04 LTS... [00:03] modded my system for Darwin support (to run Mac OS X binaries) [00:10] RingtailedFox: there's a few years left on 20.04, no rush [00:10] RingtailedFox: is that a new binfmt misc handler? or something elser? [00:12] ahh, no... but i do have one installed to let me test out the rare i386 / 32bit-only programs... [00:12] Darwin lets me run command-line (and some rare X11) Mac OS X programs, kinda like wine but for mac OS :p [00:13] and i have one for anbox which is similar, but for android [00:14] okay, mariadb's starting to seriously piss me off [00:14] just randomly deciding it doesn't like logins... [00:16] I need a time machine for my ubuntu 20,04lts desktop - so that i can go back to previous snapshots. Any recommendations for doing this? [00:17] zfs [00:17] oerheks: seems like its a nightmare to install zfs? [00:18] I think the 20.04 desktop installer has you click a few buttons [00:18] the installer does not give an option to select and format zfs? [00:18] it's certainly a procedure on the server installer [00:18] no, enough guides and it is available from the installation [00:18] sarnold: I did not see zfs anywhere in the installer…even the xfs etc were greyed out for me [00:19] clean disk, and you get the options what to do .. [00:19] oerheks: yes, I did erase all data - and it was selected [00:19] pycurious: here's some screenshots https://ubuntu.com/blog/zfs-focus-on-ubuntu-20-04-lts-whats-new [00:40] /whois nkeck [01:17] https://gist.github.com/Manouchehri/c10d403e6e906a8ba98173597b08c0ea [01:17] why is netplan failing to match on `driver: st_gmac`? [01:18] oh [01:18] I think I see my mistake [01:19] I haven't started networkd yet.. [01:20] heh [01:22] yeah, I can't spot anything wrong with it.. not that I'm an expert, but it feels fine, you know? [01:23] sarnold: Cannot find unique matching interface for wan: {'driver': 'st_gmac'} [01:24] :( [01:25] Manouchehri: maybe lspci -k or lshw -c network can help find if there are more interfaces that use that driver [01:27] How can I dump what netplan sees for each driver? [01:29] oh something crashed. please enter your password. [01:29] hunter2 [01:29] i really hate this behavior of ubuntu [01:30] Manouchehri: aha! try this: networkctl status --all [01:30] if crashreporter cant do it in the background without password i will not use it and honestly curse at ubuntu everytime it asks me for a password because something crashed [01:31] sarnold: odd, no driver? https://gist.github.com/Manouchehri/8aa63218613777af620ab85008fd5a41 [01:42] Manouchehri: well that's super-odd :( my output showed Driver: so I assumed it would be there :( [01:42] de-facto: heh, the internet is all over the place with advice on how to disable apport :( one ancient wiki page says it's disabled by default and needs editing to enable, which seems like an outright lie to me :) heh [02:30] Hi [02:30] hello [02:31] I have a question we have a Ubuntu 20.04 server we plan on using as a KVM host.. we are having an issue when we are creating bridge interfaces. [02:31] Server is a Dell R730 Ubuntu version 20.04 [02:32] when we create the bridge all of a suddent we see lots of traffic over the first interfce eno1 [02:33] 9.49 Mbps of nonstop unaccounted for traffic [02:33] When we remove the bridge everything stops. [02:34] Hadi: Have you checked what IPs are being accessed using Wireshark or anything? [02:34] Hadi: Also are any VMs or applications running when you do this? [02:34] We don't even have an IP assiged to that interface [02:34] that's the strange part.. [02:34] RX packets 16555254 bytes 3600159556 (3.6 GB) [02:35] arraybolt3: no applications or VM's running [02:35] ...ok that's weird. Is eno0 even plugged in? [02:35] Yes [02:35] It should be a physical Ethernet port. [02:35] When we shut down en1 traffic shows on en2 [02:36] Is the traffic incoming or outgoing, do you know? [02:36] Incoming [02:36] Is there *any* outgoing traffic? [02:37] eno1: flags=4163 mtu 1500 [02:37] ether 44:a8:42:23:2e:aa txqueuelen 1000 (Ethernet) [02:37] RX packets 17581223 bytes 3823410435 (3.8 GB) [02:37] RX errors 0 dropped 2 overruns 0 frame 0 [02:37] TX packets 2429 bytes 334755 (334.7 KB) [02:37] This sorta sounds like you're being DoS attacked, though that seems unlikely since it only happens when the bridge is connected. [02:37] Yes seems so [02:37] (Oy, careful with pasting stuff like that. If you paste too much stuff, a bot might mute you. You can use https://bpa.st to avoid that.) [02:37] ok.. [02:37] What does "ip address show" tell you? [02:38] No IP on that interface [02:39] Well, then I'm out of ideas. If it's a physical interface, and it's incoming traffic, something's talking to something. I have no clue why making a bridge connection with no running apps or VMs would cause that. [02:40] you have an ethernet loop it sounds like [02:40] and run tcpdump on the interface when you have the bridge created to see what the traffic is [02:41] arraybolt3: once an interface is attached to the bridge, it loses its ip -- the IP is owned by the bridge, not an interface on the bridge [02:41] Hadi: what kind of traffic? wireshark or tshark or tcpdump the thing and find out what's actually on the wire? [02:42] sarnold: Ah, see I didn't know this, since the most experience I've had with bridges was with running virt-manager on a desktop. [02:42] ethernet loop sure sounds plausible, but I'm not sure how I'd even try to make one of those :) [02:42] its what happens when you use too long of a cord and have a coil next to your desk [02:43] sarnold: Hey, while you're right here, who would I talk to if I had questions about the free tier of Ubuntu Pro? I'm thinking of setting up a server that I'd like to never have to reboot, for building a project and for local "cloud storage", and want to know how the new Ubuntu Pro stuff works with me being an Ubuntu Member, as well as what uses are allowable with the free teir. [02:43] sarnold: tcpdump shows nothing [02:43] issue is when we shutdown en0 [02:44] eno1 [02:44] traffic shows on eno2 [02:45] what are the members of your bridge [02:45] hay anyone on 22.04 have broken npm/nodejs packages [02:46] apt not want to install npm : E: Unable to correct problems, you have held broken packages. [02:46] single interface [02:46] vmbr0: [02:46] interfaces: [eno1] [02:47] meh maybe i'll just try a ppa [02:47] arraybolt3: I think you're allowed 50 instances as an ubuntu member; I don't know what restrictions exactly we've got in place, but "nothing illegal" wouldn't surprise me [02:47] Hadi: *nothing*? how odd... [02:48] wastrel: I also can't install npm. [02:48] b0rk. [02:48] sarnold: Right, I knew it was that way for Ubuntu Advantage, and I'd assume it would stay that way for Ubuntu Pro (infra-only), but for full-on Ubuntu Pro, I'm not sure how that interacts. I guess I don't need anything more than infra-only, though. [02:48] maybe its kernel issue with the hardware? [02:49] we ave another Dell R720XD same config no issues [02:49] This one is R730 [02:49] Hadi: brctl show | pastebinit [02:49] sarnold: The system should prevent me from accidentally breaking any rules, right? Like if I'm not allowed more than 5 full Ubuntu Pro machines, it will stop me if I try to register a sixth, correct? [02:50] arraybolt3: https://ubuntu.com/legal/ubuntu-advantage/personal has some bits about "You must not" .. "use the Service for illegal or unauthorised purposes (or encourage or permit illegal or unauthorised purposes), in infringement of a third party’s rights or otherwise cause an adverse impact to the Services" and "be located in or use the Services in an OFAC/EAR embargoed or sanctioned country ..." [02:50] wastrel: pastebin the full error maybe? [02:50] Right, I was more concerned with anything against commercial use, which I didn't see anything about in the agreement last I looked, but I may have looked at the wrong agreement. Thanks for that link, I'll look it over. [02:50] https://pastebin.com/HwNVXmv4 [02:51] no u [02:51] sarnold: Wow, that link is exactly what I was hoping for. Thank you! [02:51] arraybolt3: woot :) [02:52] Here is our LibreNMS showing the traffic [02:53] https://ibb.co/tXrJy3T [02:53] that brief period it stopped is when I removed the bridge [02:54] what flags did you use for tcpdump, "-vvleni eno1" should tell you what you need to know [02:54] or eno2 [02:54] !pastebin [02:54] For posting multi-line texts into the channel, please use https://dpaste.com | To post !screenshots use https://imgur.com | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [02:56] sarnold: special for you https://dpaste.com/FV7PNNHD8 [02:56] mybalzitch: I see something now -> https://pastebin.com/fYwkkdt6 [02:57] wastrel: hmm, did the makedeb people package up npm under a different name? [02:58] wastrel: maybe this? https://proget.makedeb.org/feeds/prebuilt-mpr/jammy/npm%3Aall/versions --> sudo apt install 'npm:all=8.18.0-1' ? [02:59] u don't need to fix i'm going to set up upstream's ppa [02:59] debugging broken apt deps: not even once [03:00] wastrel: hah [03:00] good plan [03:07] upstream ppa works luv 2 curlpipe [03:07] evening everyone [03:08] I have found myself in a sticky wicket and I am hoping someone can point me in the right direction. [03:08] o/ [03:08] How can we help you? What's going wrong? [03:08] Ubuntu Server 22.04 running under VMWare. Somehow it's trying to run cloud-int. [03:09] It's stuck at control-D to continue or enter root password (which of course doesn't exist) [03:09] Everything I've found online tells you how to disable it, *before* it takes over your box and prevents you from booting. [03:09] Is there any kernel option, or grub option to disable it before boot? [03:11] looks like you can add cloud-init=disabled to kernel command [03:12] idk tho just googled : https://askubuntu.com/questions/539277/how-to-get-rid-of-cloud-init [03:12] wastrel: I'll try, though folks report that it no longer works in 22.04. [03:12] hax [03:14] wastrel: you are in emergency mode cloud-init, cloud-init, bla bla bla frozen [03:15] jilocasin: Odd that it wants a root password. You could boot into recovery mode, set a root password, then provide it when it gets stuck. (Make a snapshot or backup before trying this stunt just in case it goes horribly wrong.) That might let you debug stuff more. [03:15] (Though just recovery mode should let you debug stuff more.) [03:16] arraybolt3: unfortunately, everything I try gets overridden by cloud-init. Enter root password or press Cntrl-D to continue. [03:16] Even recovery mode? [03:16] arraybolt3: yep [03:16] And Ctrl+D does what? [03:17] arraybolt3: continues to the many screen cloud-init infor which then leads to frozen screen. [03:17] can you switch to a different virtual terminal [03:17] boot a rescue disk from ilom , mount / and fix configs? [03:18] idk ;__; [03:18] ipmi/ilom/idrac [03:18] arraybolt3: Recovery mode gets me to Recovery menu, then a few seconds later the menu is overriten by Aftern logging in type journalctl-xb to view logs, Give root password for maintenance or press Control-D to continue [03:18] wastrel: Those are both pretty good ideas. [03:18] jilocasin: Blah. Well, can you boot the VM from a live ISO? [03:19] oh this is vmware heh i was thinking bare metal [03:19] wastrel: nice thought, but no. No virtual terminal switching (I don't think it has even finished booting). Just Give root password for recovery or Control-D to continue [03:19] i bet there's a vmware config [03:20] If you can boot into a Lubuntu live ISO or some such, you can mount the server's root drive to /mnt, then bind-mount critical dirs and chroot in. Then "sudo apt remove cloud-init". [03:20] (Again, snapshot before trying that.) [03:21] arraybolt3: at that point it'll be quicker to just wipe and reinstall. [03:22] So, no simple grub or kernel runtime flags to disable this mess then.... :/ [03:22] idk from vmware :( [03:22] jilocasin: Hey, I found something. [03:22] How did it automatically switch to using it? Why doesn't it take an affermative step to enable this monstrosity? [03:23] arraybolt3: shoot? [03:23] jilocasin: I don't know. [03:23] jilocasin: Can you "touch" files from the GRUB command line? [03:23] If so, "touch /etc/cloud/cloud-init.disabled". [03:23] Does anybody have a good tutorial for running a rootless nginx with systemd in 22.04? I followed archwiki, but it's failing saying that /run/nginx.pid does not have the right permissions, even though the systemd unit specifies in the ExecStart line that /run/nginx/nginx.pid should be used instead (which I guess calls /etc/tmpfiles.d/nginx.conf ) [03:24] You could also try setting init to /bin/bash and then touching the right file from there. [03:25] (I don't see a way to touch a file from within GRUB.) [03:26] arraybolt3: don't know, I've never tried [03:26] jilocasin: Try changing your kernel command line to inclue "init=/bin/bash", and see if that gives you a shell, [03:26] s/,/./ [03:29] arraybolt3: nope, it hits preinitialize cloud-init, then it's all over [03:30] That's insane. If you change the init application, it shouldn't be able to do that. [03:30] arraybolt3: you would think so. [03:31] apparently, once you are in the clutches of cloud-init, it's all over. They even removed teh kernel run time option to disable it. [03:31] Maybe they removed the "init=" option too. [03:31] time to switch to arch [03:31] arraybolt3: wouldn't want anyone bypassing it, someone probably thought it was a security issue. [03:32] What did you do that got cloud-init mad, anyway? [03:32] wastrel: unfortunately this is at the office, and I don't have any choice. I *am* seriously considering moving my personal box from kubuntu to debian with kde though. Snap, spamming apt andf apt-get, now cloud-init. Uggg. [03:33] jilocasin: Try putting the "init=/bin/bash" earlier in the command line, maybe. [03:34] There should be absolutely no way for anything in userland to override that unless Bash is somehow linked to cloud-init in Ubuntu (which I don't think it is since cloud-init isn't even installed on my personal box which has Bash installed on it). [03:34] arraybolt3: I have no idea, dev-ops user spun up the image, was working to get some enterprise software set up. I installed pg14 and set it up a while ago. Was going through 30+ boxes this evening making sure they were all current on there patches. Reboot, no ssh. [03:34] arraybolt3: went to the console, there's the cloud-init mess taking over the machine and holding it hostage to an imaginary root password. [03:35] arraybolt3: tried first, last, and somerandom palce in the middle, no joy. [03:35] arraybolt3: lol, wait are you serious? [03:35] jilocasin: Yes. [03:36] For lots of programs, the order of arguments matter, and I think I remember reading something that says the kernel has something like that. [03:36] I'm thinking put it right after the "root=UUID=" part. [03:36] arraybolt3: cloud-init is install on all of our servers, automatically, on my local kubuntu, also automatically, basically *everywhere* (like snap) [03:37] Oh. Yeah, cloud-init is not on my Kubuntu box. [03:37] arraybolt3@kF-XE:~$ dpkg-query -s cloud-init --> dpkg-query: package 'cloud-init' is not installed and no information is available [03:38] arraybolt3: after this, I'm going to see if the various recipies to disable/remove it work so that I can get rid of, or at least neuter it on mine. :/ [03:38] If you don't need it, you can probably just rip it out with a swift "sudo apt remove cloud-init" and be done. if it looks like it's going to uninstall important stuff, obviously don't do that, but it might just work. [03:39] arraybolt3: :D Yea there's alyways that, don't do if it looks like it's going to also remove *important* stuff warning. [03:41] ;__; [03:44] nigger [03:44] ubuntu is african word mean computer, essentially, it is linux for nigger [03:44] !ops samouy causing disruption [03:45] arraybolt3: stop disrupting [03:45] !ops | samouy causing disruption [03:45] samouy causing disruption: Help! Channel emergency! (ONLY use this trigger in emergencies) - CarlFK, DJones, el, Flannel, genii, hggdh, ikonia, krytarik, mneptok, mwsb, nhandler, ogra, Pici, popey, sarnold, tomreyn, Unit193, wgrant [03:45] (There, typed it right this time \o/) [03:45] this is abusive [03:45] calm down arraybolt3 [03:45] the ops might have to remove you if you persist [03:46] OnkelTem rpittau pick ren0v0 Barnerd_ Croran DArqueBishop explodes coreycb mumixam RonWhoCares_ Kobaz _KaszpiR_ winlundn scoobydoo justache Nokaji OliPicard_ plars laerling memoryleak royks DataDuden Aavar morphis ablutor_ kevr rfm Nauzth ubergeek jilocasin MiguelX413 phillhocking nigger [03:46] ops tosaraja Woet Xard wastrel MIsAn kotodama BrianBlaze revolt112 hughrawlinson_ jiqiren ur5us SamSlayer chadler minimec x88x88x Tempesta starz Edgy2 rdr _________ SuperLag pankid Sariboo swifteh_ flying_sausages_ thosch66 JonathanD itok MattEL mapu Some_Person nepeat_ arash CatPasswd_ nigger [03:47] * jilocasin gee that was rather rude.... [03:47] Well I guess that's one way to exit the channel? [03:47] jilocasin: Eh, active channel, trolls like it here all too often. [03:48] arraybolt3: burst of flames and a puff of sulfurous smoke. [03:49] .disable [04:11] manged to get in, sort of. Disabled cloud-init, I think. There's something regarding piix4 not being found that seems to be causing Unbuntu to dump into cloud-init for some reason. [04:11] Thanks everyone for all of your help. Of to try and get a couple of minutes of sleep. [05:04] i don't get why people do this [05:04] why don't you just like.. go lay down or something [05:04] sheesh [05:04] kevr: The mess above with the troll? [05:07] yeah :\ === realrandom is now known as fromwithin [06:11] (on ubuntu 22.04) when i insert a particular micro sd card via a usb adapter, it always lands on /dev/sdb, even if there is no /dev/sda and also seems to be retaining some state about the device ... where is that data stored and how do i clear it? [08:33] hi all [08:49] After a recent update to ubuntu 22.04.1, I'm not able to get the nvidia driver to work. I've already reinstalled the system twice and the system still has the same problem. Last time the terminal said that the driver was loaded, but the system was in graphical safe mode. [09:11] why jq complains in the first example wrong usage and the second is working? [09:11]   1: test=$(echo -n 'bla' | jq -R -s) [09:11]   2: echo -n 'bla' | jq -R -s [09:14] It seems this only is a problem on Ubuntu 18.04. But how jq itself can see there is a difference in the two examples? [09:21] greetings, is there a ubuntu pto for kubuntu? [09:28] iomari891: PTO? === lolok is now known as lolok-old [09:37] pro :) === JanC_ is now known as JanC [11:43] nice [12:13] nao [12:13] quit === pascalm1 is now known as pascalm [13:03] Hi all [13:26] What's the difference between the packages "arping" and "iputils-arping" other than the name? What [13:26] is the true difference between the two? [13:27] More importantly, which is newer and which should I use? [13:35] you can do like apt-cache policy arping | grep Homepage and look at the upstream [13:36] Idk, but my guess is that arping is from the old, unmaintained Linux-nettools, and the other is from iproute2, using the supported netlink interface. [13:36] "apt-cache show " can also be useful for this sort of thing. [13:36] but yes, check out ^^ these things [13:37] oh not policy , show [13:37] right [13:39] Is there a channel dedicated to ubuntu maas? [13:40] I have a server im trying to deploy with 2 nvme devices which I would ideally like to deploy as raid1 with lvm on top and i can configure that as such in maas but the deployment of that disk configuration fails === j2bv17 is now known as j2bv16 === polo_ is now known as polo === pong is now known as Guest0_1 [15:27] can the bar of 22.04 be on the left af before? [15:32] hethw: yes, in gnomes systemsettings [15:32] lotuspsychje, how to get there? [15:33] I don't see Appearance in Settings, if that's what you mean [15:33] hethw: wich ubuntu release/flavour are you on? [15:33] 22.04.01/gnome [15:35] hethw: then you should have systemsettings/appearance/dock bottom/left/right [15:35] I don't have Appearance at all [15:35] tell me why :) [15:35] hethw: can you screenshot that please [15:36] lotuspsychje, https://i.imgur.com/8AsZUND.png [15:39] What's the easiest way to ensure a user-specified file will be inside the current directory, without creating the file first? Atm I'm thinking check `[[ "${someFilePath:0:1}" != "/" ]]` and `[[ "${someFilePath}" != *".."* ]]`. Can you guys think of anything that'll break that? [15:39] hethw: are you using gnome instead of ubuntu-desktop? [15:39] lotuspsychje, hm, good point let me see [15:48] Hello, I have a question about rdfind. Does rdfind show if a file is hardlink or a duplicate? [15:52] hi all. who know soft as Any Desk for ubuntu Waylend? [15:56] fattredd, if one of the path components is a symlink that will arguably break [15:56] That's an interesting point [15:58] it is also full of awful bashisms ... make very sure to never use #!/bin/sh with such stuff ... [15:58] Do you have a good reason for not creating it? It would be really easy to create it and then test with readlink [16:00] anythign wrong with just using something like "[ -e "$file" ] || touch $file" [16:06] If the file is at say, /opt/somefile.txt rather than in a local subdirectory, I don't want to create a file there and leave pollution around [16:06] I wouldn't say it's the end of the world, but I'd rather not. [16:07] But yeah, we'll always have bash available in this environment. Always good to have the reminder though [16:17] Maybe a better solution is something along the lines of `[[ $(pwd) == "$(readlink -f $someFilePath"* ]]`? Or maybe the `case` equivalent? [16:17] Oh wait you totally said that [16:17] Jesus lol. Thank you === diskin is now known as Guest2855 === diskin_ is now known as diskin [16:42] hey [16:42] is it a good idea to use Xubuntu (vs Ubuntu or Kubuntu) for a webdev machine with 32GB of RAM? === esv_ is now known as esv [16:43] it being "lightweight", I don't know if there would be any features that I would miss [16:45] amcsi: you can tweak any ubuntu flavour to your likings [16:45] what I'm expecting for the window manager to handle are: 1. configuring network/VPNs with a GUI, 2. be able to handle 2x2 workspaces, 3. be able to have a calendar widget to notify me about google calendar stuff [16:47] Yeah you will be fine with XFCE (except 2x2 workspaces, dunno what that means) [16:49] But that "lightweight" thing is somehow overblown when comparing between full DEs — especially in a 32 GB system. === vaccinationisdea is now known as vacinesaredead === vacinesaredead is now known as covid19hoax [16:58] hey [17:03] welcome coci [17:03] covid19hoax [17:05] hey thansk [17:05] when is  ubuntu 22.04.1 (...... dot 1) out? === vaccinationisdea is now known as covid19lie [17:08] amcsi: lxqt = 300 MB, XFCE=400, MATE, KDE=500, GNOME=700 MB at start up. After that they're the same, opening a browser requires 1+ GB more, so the saving in the DE are negligible when you have 32 GB RMA [17:08] s/RMA/RAM/ [17:11] alkisg, I was kind of expecting to not see performance gains. I was more thinking: does this lightweight "xfce" have everything I need? I'm hoping to get work done faster assuming "lightweight" also means "no nonsense" and without unnecessary, distracting features [17:17] amcsi: lightweight usually refers to ram usage and graphics card requirements, not to the simplicity or "no nonsense" of the interface. I think the most important part there is "what you're already familiar with"... [17:18] I.e. I like the classic start menu and task panel metaphor, so I prefer MATE to GNOME, but I do believe that if I would use gnome for a year I'd get used to it [17:28] How exactly a different DE would allow you to get work done faster? Or instead, how does your current DE hinders your work? [17:30] GNOME puts big fat title bars on windows that can interfere with looking at multiple things at once. It also sometimes hides important features under multiple layers of menus, making them tricky to find and tough to get to. [17:33] arraybolt3, indeed, that's the kind of objective response I was trying to elicit from the original asker [18:11] I'm trying to downgrade git to 1:2.37.2-0ppa1~ubuntu20.04.1. How do I do this? [18:12] try: sudo apt install git=1:2.37.2-0ppa1~ubuntu20.04.1 [18:13] (assuming that ppa is enabled etc etc ) [18:13] E: Version '1:2.37.2-0ppa1~ubuntu20.04.1' for 'git' was not found [18:14] ogra: ^ [18:14] yeah, so it was removed from the PPA i guess ... [18:14] that's what I figured as well [18:14] then you cant ... unless you have a local copy [18:14] # apt list -a git [18:14] Listing... Done [18:14] git/focal,now 1:2.38.0-0ppa1~ubuntu20.04.1 amd64 [installed] [18:14] git/focal-updates,focal-security 1:2.25.1-1ubuntu3.5 amd64 [18:14] git/focal 1:2.25.1-1ubuntu3 amd64 [18:14] it looks like it's either that or 2.25 [18:26] are we just supposed to live with constant "Close the app to avoid disruptions" messages or [18:27] mort: those are known bugs already [18:27] how do you install the internet on ubundu [18:28] LOL [18:28] my verizon internet install cd wont work [18:28] try the MS IE 4.0 install CD [18:28] ...yo [18:28] the hell [18:28] it runs great in wine [18:29] wdr^: do you have a home internet connection with a router? [18:29] lotuspsychje: that's good to know at least, so the way it is now isn't the way it's meant to be forever [18:29] are you using ethernet or wireless [18:29] etc [18:29] im communicating to you right now via a shoe string and old tin cans [18:29] then why are you in here [18:29] asking questions, and making up bullshit [18:29] why don't you save our time, instead? [18:30] grow up [18:30] how much [18:30] you're ignored [18:30] am I [18:31] !ops [18:31] Help! Channel emergency! (ONLY use this trigger in emergencies) - CarlFK, DJones, el, Flannel, genii, hggdh, ikonia, krytarik, mneptok, mwsb, nhandler, ogra, Pici, popey, sarnold, tomreyn, Unit193, wgrant [18:31] is someone making a bad joke an emergency [18:31] troll needs a ban or something [18:31] maybe there's history here I don't know of, ignore me [18:32] * wdr^ pulls out the opa stoppa [18:40] hi, I'm trying to find out BT version of the chipset in my laptop and all the findings point me out to version 5.1 while according to intel website it should be 5.2 could it be related to bluez version or something else? [19:43] Hi, With a server running ubuntu what are the real advantages of the pro subscription and if I am running it on a cloud service is a pro subscription needed? [19:45] nickgaw: there may be some security updates to universe packages available via pro; there's also the kernel livepatch feature [19:47] nickgaw: you can see the list of universe packages if you're curious, https://esm.ubuntu.com/apps/ubuntu/dists/focal-apps-security/main/binary-amd64/ -- replace the 'focal' with whatever releases you're interested in [19:47] If I have unattended-upgrades configured should I just be able to let the system upgrade and handle itself? [19:48] !info flashrom bionic [19:48] 'bionic' is not a valid release [19:48] Bah [19:49] still broken [19:49] !info flashrom focal [19:49] flashrom (1.2-5, focal): Identify, read, write, erase, and verify BIOS/ROM/flash chips. In component universe, is extra. Built by flashrom. Size 206 kB / 979 kB [19:49] Lets say I get ubuntu pro and don't like it can I remove one of my licenses from my ubuntu1 account or get the entire account deleted? [19:49] hm [19:52] Is there no way to contact ubuntu about removing a pro license from my account? [19:53] I just don't know if I want to get pro for this cloud server is it worth it? [19:55] you know it's for free ? nickgaw [19:55] nickgaw: excellent questions :) [19:56] Yes I do but not sure what I would get out of it from the normal non-pro security updates? [19:56] https://ubuntu.com//blog/ubuntu-pro-beta-release [19:57] Will unattended-upgrades handle all upgrades for me so I don't have to do any manual upgrading with pro? [19:58] >_> [19:58] * kevr personally always disables unattended-upgrades [19:59] nickgaw, the reference it's in the link above [19:59] Why as I thought it was a good security practice? [20:00] It is. [20:01] Personally, I just check in my servers on a regular basis. unattended-upgrades can sneak shit past me, which I don't personally like. [20:01] I'm just a fool. [20:01] unattended-upgrades deals with more than just security packages [20:01] If I never want to have to deal with manual upgrades and I get pro can this be done automatically for me? [20:02] you don't even need pro to use unattended-upgrades [20:02] i'm sorry - let me back up. I don't know what ubuntu pro is. [20:02] unattended-upgrades is available on free ubuntu installs. [20:02] I know that it is mainly extended security updates that it appears it gives you and other upgrades. [20:04] kevr, security updates for universe packages, kernel livepatch support (so you dont need to bother with reboots) ... and the full 10y support cycle ... [20:04] that pro [20:04] *that's [20:05] nickgaw: check /etc/apt/apt.conf.d/50unattended-upgrades -- mine looks like it's designed to allow the ESM package updates by default [20:05] lame [20:05] free .. [20:05] gotta love linux distros going commercial [20:05] How does the live patching work? [20:05] oh, i see [20:05] for the kernel [20:06] the naming is just a bit confusing i guess :P [20:06] that's neat [20:06] i men up to a threshold 🙂 [20:06] enterprises pay ... for the people that get it for free 😉 [20:06] nickgaw: you can live patch the kernel via kexec [20:06] or just by straight up modules [20:06] nickgaw, imagine loading a module ... but instead of the module code, the vulnerable functions get replaced [20:07] Yes but does this mean I will never need to do a reboot? [20:08] so your security hole gets fixed on the fly without rebooting ... [20:08] that is what kexec achieves for you [20:08] but i'm not sure that's what they're eluding to [20:08] you should do a reboot eventually ... but at a time that is convenient for you [20:08] It is not installed on my system should I install it before I upgrade to pro? [20:08] kexec takes some setup, i highly doubt it just works out of the box [20:08] you should be careful [20:09] huh ? why would you set up kexec now ? [20:09] perhaps worry about it after you've got everything else as you want it [20:09] should be a lower prio imo [20:09] you just install and enable the livepatch service ... [20:09] the dude wants to be able to upgrade without rebooting, kexec allows you to do this [20:09] Are there ways to have people help me setup this cloud system for pro successfully or is it like a nice wizard interface where it just does everything for me if I enabe the services? [20:09] there is nothing to "set up" [20:09] upgrade the kernel, etc [20:09] yes, there is [20:10] the question was "what is livepatch" 🙂 [20:10] 13:07 nickga+| Yes but does this mean I will never need to do a reboot? [20:10] (and how does it enable me to not need to reboot) [20:10] there are multiple questions here [20:11] Yes but I want to make sure it is working properly and does Ubuntu have paid support should I need it? [20:11] i think you can always upgrade your pro subscription to a paid one [20:11] that would then give you support [20:11] support pricing is on https://ubuntu.com/pricing/pro [20:11] Does paid provide support from the Ubuntu team should I need it to help me fix issues with pro? [20:13] So the free pro is for people who can read the guides and know how the system works but the paid support is for people who need support in getting this system with pro working for them? [20:14] the free pro only gives you the extra security updates and livepatch ... [20:14] there shuld be links on the page sarnold posted that explain the levels of support [20:14] Understandable but is the live patching for the kernel with pro easy to setup? [20:14] nickgaw: i'm sorry, you should try to ignore the 'kexec' stuff i mentioned; i'm not very fluent with the ubuntu ecosystem, i'm talking here from a base linux standpoint, you likely don't want this [20:15] just go with ogra's suggestions, they seem to know what's up for ubuntu [20:15] * ogra hugs kevr [20:15] * kevr hugs ogra [20:15] kexec is great thugh 🙂 [20:15] +1 [20:16] Can I remove a license from pro if I want to? [20:16] nickgaw, if enabling pro does not simply install livepatch you can always just "sudo snap install canoncal-livepatch" [20:17] (not sure how you enable it on the cmdine though) [20:17] nickgaw: I *think* it's enough to use the pro detach command [20:17] enabling livepatch is probably "pro enable livepatch" [20:17] ah [20:17] I am using a Digital Ocean server with ssh access so would pro work for me with that setup? [20:17] TIL [20:18] nickgaw: is it a VM instance or a container instance? [20:18] It is a virtual private server. [20:18] nickgaw: the universe security updates should work fine either way, but the container instance style of VPS hosting won't let you use livepatch [20:19] How can I tell what Digital Ocean is using so I can know if live patch will work for me? [20:19] I think they are qemu systems. [20:20] nickgaw: try: uname -a -- that might give a hint [20:21] Linux ubuntu-s-2vcpu-4gb-amd-nyc1-01 5.15.0-41-generic #44-Ubuntu SMP Wed Jun 22 14:20:53 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux [20:22] The kernel is upgraded on the system just not rebooted yet and the kernel packages for the old one are removed and purged. [20:22] that's promising, that feels a lot like a full kvm instance [20:23] Huh. One one of my ubuntu boxen, `cal` highlights the current day. But on another, it doesn't. I have to do `ncal -b` to get it to highlight today. [20:24] are the times the same? [20:24] `date` will tell you [20:25] Yes [20:25] I cheated: alias cal='ncal -b' [20:25] LOL [20:26] Oh, no, the times are different. I forgot. But why would this matter? Weird. [20:27] something about it used to be provided by bsdmailutils and now is provided by ncal, or something ilke that [20:27] well, what is considered "the current day" ? From a machine's standpoint, that depends on the time on the machine. [20:27] Your current day may be different than machine b's current day. [20:27] I'm having trouble finding the conversations [20:28] Well, yes, the current day depends on the time and the timezone. But that seems not important. The `cal` command used to highlight the current day. Now it doesn't. [20:28] hello, I went to install Ubuntu 22.04 (I prefer Ubuntu) but actually need disk encryption and did not see an option for it. Did I miss it somewhere or do they expect you to do something after install? [20:29] wad: it seems like you already encountered this before, which is why you aliased cal. clearly, cal by itself doesn't do what you want [20:29] hi, I have a server that has a handful of public IPs. I access it on IP-1. I want to launch a multipass instance and assign it IP-2 so that I can access the VM instance as if it was just a server directly on the internet. I couldn't find exactly what I'm looking for on google. Any tips on how to do this or a better google search? [20:29] Macwinne_: you need to bind to that IP [20:29] I added the alias like 5 minutes ago. [20:30] I think a new version of cal broke it. [20:30] if that's the case, you might want to report a bug to them [20:31] doh, nevermind just found it! [20:32] kevr: just search on google for "multipass instance bind to ip". Any tips on more specifics? like do I do a bridged network? or maybe just a more bulleted high level on what to do [20:32] Is the ubuntu1 different then launchpad? [20:33] Macwinne_: essentially, this is how network access goes: some application must be listening on some host and port, and when that host and port is conversed with, it can communicate. If you have multiple hosts on your machine, and you want to bind to a single host (IP), then you need to bind specifically to that IP. [20:33] So, like [20:33] nickgaw: ubuntu one is the SSO service used by launchpad, the wiki, the pastebin site, ubuntu pro backend servers, snapstore, charmhub, etc etc etc [20:33] a machine at 1.2.3.4:80 may have a server, and it may have another ip address 1.2.3.5 on it, but the server is bound on 1.2.3.4:80, so it's only accessible there [20:34] if you bind to something like 0.0.0.0, that accounts for "all hosts" [20:34] kevr: got it.. assuming my Machine is properly bound to 1.2.3.4 and it's running multipass.. how can I assign 1.2.3.5 to an instance that multipass launches? [20:35] i see, so multipass.. i'm not too familiar with this, but it looks like it's expecting an interface to use [20:35] hmm [20:35] (I could just be missing something stupid.. I'm new to ubuntu/multipass but have a lot of networking experience) [20:36] I could probably get it working with nftables rules or something like that [20:36] but I would like the multipass instance to actually think that it has 1.2.3.5 rather than some private IP that is getting routed too. [20:37] i'll have to bail out of this one, as i know how tcp communication works, but i have not ever used multipass before, so i would likely be giving the wrong info here. [20:37] Macwinne_: hmm https://multipass.run/docs/additional-networks has a bit "The --network option can be given multiple times, each one requesting an additional network interface (beyond the default one, which is always present)." [20:38] Macwinne_: I haven't followed along closely, but if the problem is that you don't want it to do the default, that might be worth a bug report [20:38] sarnold: I'll play around more to make sure I'm not missing something. It's probably the case [20:42] i also may have a very wrong/outdated misonception that kvm works similar to Xen (which i used years ago) [20:43] definitely there's a lot of overlap, but the different management tools, eg libvirt vs lxd vs multipass vs proxmox vs xcp etc all bring their own strong flavours to how it works [20:49] +1 libvirtd [20:52] what is going on fellow ubuntu'ers? [20:55] terible [21:03] wastrel: what is terrible? [21:04] wastrel: you ok brother? [21:11] wastrel: "a cure to a Terrible Horrible No Good Very Bad Day is time with God!" [21:36] (just to clarify I mean in prayer of course) [21:37] peacefulman: seems like you are in the wrong channel [21:37] lol I know [21:45] well crap, "NOTE [21:45] You will not be able to select full disk encryption if you set up manual partitions or have a dual boot system. [21:45] hrm. [21:49] peacefulman: you still can, but you would need to know what to do === lolok-old is now known as lolok === blackest_mamba_ is now known as blackest_mamba [23:01] The virtual private server is now on ubuntu pro so now should the kernel live updating work? [23:01] yes it did install kexec [23:02] nickgaw: check sudo pro status and sudo canonical-livepatch status [23:03] kexec isn't used by livepatch; livepatch works by installing new kernel modules [23:04] it says it is patched. [23:04] good good [23:05] If the kernel version on disk is different then what is in ram as I always remove all older kernel versions on a system is this an ok thing? [23:06] nickgaw: It's generally a good idea to leave one older kernel on your system, so that if your hardware doesn't work perfectly with the new kernel and you don't find out for a while, you have an older one to boot into. [23:06] it's usually a good idea to keep two or three -- the newest kernel, whatever you're running, and if you're running the newest, whichever one worked before that [23:07] A lot of times, if faced with a hardware incompatibility after an update, you'll hear us ask you to "boot into an older kernel". Tricky if you uninstall them all. [23:08] It is a virtual private server so I don't know how to tell grub to boot into an older kernel if I have no control of the booting process or can I control grub boot kernel from reconfiguring grub? [23:09] some cloud providers have consoles exposed that you can use to control boot [23:11] How on a normal ubuntu system do I enable os-prober as update-grub tells me to check os-prober entry but no entry exists? [23:11] it's very rare to dual-boot cloud systems :) maybe just skip that [23:11] most folks would rather just spin up a second VM [23:11] in fact, any decent cloud provider will make a "serial" console available -- there are some issues that can really only be solved when you via such serial console [23:12] No I mean on a normal system update-grub tells me os-prober is disabled how do I enable it? [23:13] nickgaw: aha; sudo apt install os-prober [23:15] It says os-prober is already installed but it wants me to check documentation of grub disabled os-prober entry but not sure where that is. [23:16] ohhh. hmm. I thought we just removed os-prober from the defaults and that reinstalling it would do the trick :( sorry [23:19] add GRUB_DISABLE_OS_PROBER=false in /etc/default/grub (or in a file under /etc/default/grub.d/), then sudo update-grub [23:20] nickgaw: ^ [23:21] sarnold: I would also rather loved it that grub enables os-prober by default but os-prober is not installed by default [23:21] murmel: there are security concerns on generically probing disks [23:21] sure, but if you install os-prober, you probably also want it enabled [23:22] and imo it's easier for newbies to install a package, than randomly edit a file + run a command [23:22] It is now enabled but only one operating system exists on this system currently should this be a bad thing? [23:22] and where security mostly matters, os-prober isn't used anyway (and shouldn't be installed imo [23:22] yeah, I agree.I think this would have made it to the readme for 22.04 [23:23] if you've only got one OS on the machine you can uninstall it [23:23] nickgaw: if you are not going to install one single OS, you do not need either os-prober or to change GRUB [23:23] arg [23:24] s/are not/are only/ [23:27] I just want it installed for when I need it. [23:28] but why? I mean we are talking about a vps or? [23:29] No I was talking about my laptop. [23:29] it's up to you and how patient you are when installing updates that touch grub [23:29] I couldn't stand how long it took to do its thing so I was *thrilled* when I found I could purge it and nothing would break :) [23:33] What does the timeout hidden setting in /etc/default/grub do? [23:35] nickgaw: how long grub will be "shown" before selecting default and booting while hidden [23:35] If timeout is 0 does this mean it will just start the default setting or will it just sit at the boot prompt? [23:36] it will directly boot the selected entry, which means if you want to select something else, you need to mash to hit that below 1 sec window [23:36] My Digital Ocean has the 0 in the /etc/default/grub setup so should I leave it at 0 or change it? [23:37] nickgaw: eh, with a vps, there shouldn't be too much of a need to change it to something longer (as most of the time you won't need to boot a different kernel) [23:38] Does this channel support cloud services or is this mainly for the desktop version? [23:39] nickgaw: we do support it, as long as the cloud service uses actual ubuntu (not like vultr) [23:40] What do they use? [23:40] nickgaw: they edit their default ubuntu image to a point where we as a support team have literally no idea what they all changed (with no docs afaik( [23:40] eh maybe more community ;) === blackest_mamba_ is now known as blackest_mamba [23:42] What are the digital ocean ubuntu repositories for in sources.list for and they tell me with apt update that they are in the legasy trusted gpg format and is this a bad thing? [23:42] those are how you get your updates [23:42] it's fine to ignore the legacy format warnings [23:43] Is there a way to fix them? [23:43] sarnold: do you know what they are doing so that that warning pops up? [23:44] only DO can fix it, it is their repo. But this is a _deprecation_ notice, not a failure/error [23:44] murmel: my guess is the tooling they use to build their images is using the old apt-adv --recv ... thing [23:44] So there is nothing I can do as an end user to fix it? [23:44] sarnold: ahh thanks [23:44] nothing, except ask DO about it [23:45] (I am pretty sure they already know, so I did not even bother) [23:45] nickgaw: if I've understood what it's complaining about, you could change the key format, but meh, it's no big deal [23:46] I would let them know about this issue so it can get fixed. [23:46] How can I change the key format? === blackest_mamba_ is now known as blackest_mamba