=== toddc1 is now known as toddc === M4he is now known as mahe [01:38] hello, I'm having trouble getting an ubuntu 20.04 server install to resolve hostnames I've manually added to my pihole. my MacBook resolves them without any issue [01:44] webchat30: is your DNS pointing to the pihole and set up correctly? Can you resolve any hostnames from the server (like google.ca)? Is your pihole showing requests coming in from the server in its logs? [01:45] my network is setup to send dns requests to the pihole and it works on my macbook [01:45] the ubuntu server will resolve things like google, but gets an error when I try to resolve the definitions only on the pihole [01:45] Can you see the requests comming in on the pihole from the server? [01:45] I'm not sure how I'd do that [01:45] what's /etc/resolv.conf look like? what's the output of resolvectl? (use a pastebin for this if it doesn't make sense) [01:46] or netplan.yaml? [01:46] resolvectl is a bunch of no's then Current DNS Server and DNS Servers both have the pihole ip [01:47] my understanding from reading on this is resolve.conf isn't a good solution with how networking works now [01:48] the only file in /etc/netplan is 00-installer-config.yaml I tried making some changes to it to set dns explicitly with no success [01:49] it looks like the requests are going to the pi from ubuntu [01:50] reply nxdomain blacklist [01:51] it looks like ubuntu appends .localdomain and gets no response while osx tries the hostname with and without .localdomain and gets a response on the one without [01:52] hmm, what's your /etc/resolv.conf 'search' line, if any? [01:54] localdomain [01:55] I was just gonna ask about that search line.... ahha [01:56] if I edit resolve.conf directly will it stay that way or will something else potentially rewrite the file later? this is a fresh install of 20.04 I'm just starting to get setup for k3s [01:56] Id try removing that search line. Looking at all my Ubuntu Server installs ive never filled out that search line and its resolving the pi-hole domains just fine. [02:00] what service needs to be restarted to process that change? rebooting the server undid the file edit [02:01] Im not a pro here so im trying to help figure that out. did you set localdomain in netplan/yaml by any chance? [02:02] /etc/resolv.conf changes are usually picked up immediately, the glibc nss tools re-read that file every single lookup [02:03] I don't think I set localdomain anywhere [02:03] just editing the file and running a new nslookup still fails [02:04] the netplan file is really really minimal. it basically says version 2, dhcp [02:04] I'm not sure nslookup is a good test [02:05] try using ping instead, I think it uses the system nss database === bl is now known as aknot [02:05] temporary failure in name resolution [02:05] it's been twenty years since I last used nslookup, my recollection is that it does direct dns queries itself [02:05] but that it mangles the output enough that it's not even useful for debugging dns servers, heh [02:06] hrm :( [02:06] ping doesn't even look like it hits the pi [02:07] I guess the easy answer here might be to just put all the entries in the pi with .localdomain since that seems to be what ubuntu wants to do and osx does both [02:08] I'd love to know how to actually do this, but I'd also like to get to learning about k3s [02:08] and .localdomain is a better answer than editing all the hosts files [02:09] hi :) on my Ubuntu focal I'd like to run a game, but its coding style is so bad I'm afraid it migth accidentially run havoc in my file system. do I need to set up a full chroot or do we have easier file system sandboxing methods? [02:10] Sven_vB: there's a few things, lxd is pretty easy but may not make it easy to get to the graphics.. apparmor can do that, but setting up an apparmor profile for something takes more effort than setting up lxd.. [02:10] sarnold, thanks, I'll read about them. [02:11] webchat30: yeah, that's the way things go :( but learning dns stuff in full details is also useful. [02:11] maybe someone even made an AppArmor profile already. do we have a central collection of those? [02:13] uuuugh... it doesn't work with .localdomain added either. pihole shows the request as host.localdomain but the reply is N/A [02:21] Hey All; one hard drive and the dvd drive have both failed. Having problems booting cause I get COMRESET failed from ata2 and ata3. I use kernel params to disable devices that are unusable; the famous libata2.00=disable,3.00:disable, but i'ts not working [02:21] Sven_vB: there's some very loose centralized sharing of profiles on https://gitlab.com/apparmor/apparmor-profiles and some apparmor users publish theirs eg https://git.nordisch.org/darix/apparmor-profiles-nordisch/ but there's nothing that's just perfect, no [02:22] sarnold, I'll have a look. thanks! [02:27] hello everyone [02:27] yoo [02:27] 'lo [02:28] it's hell hard to install the xchat [02:28] update: if i edit /etc/resolve.conf to use the pihole's ip instead of 127.0.0.53 the lookups work [02:29] riddder: try hexchat instead [02:30] webchat30: even though the resovlectl output from earlier showed the pihole's ip address? o_O [02:30] riddder: what was hard about it? [02:33] ata2: COMRESET failed (errno=-16) [02:33] ata3: COMRESET failed (errno=-32) [02:34] it's said that something is occupying process ,so I did the apt-cache search xchat ,find the other edition [02:35] what is an up to date instructions to install wine? (I went to the official ubuntu help site and followed something THAT WAS OVER 10 YEARS OLD.) [02:35] sudo apt install wine to the rescue [02:35] I suspect since both devices have failed, they cannot be disabled. So does the "libata2.00=disable,3.00:disable" disable the devices or does the kernel considers the them disabled/nonexistant [02:37] damn ,English is hard to translate [02:39] how do i setup vnc to be accessed via https? [02:39] on ubuntu === pi0_ is now known as pi0 [02:40] sarnold: yes,that's what I did [02:41] TheRealSoundWave: are you sure you've got the right syntax? https://github.com/torvalds/linux/blob/master/Documentation/admin-guide/kernel-parameters.txt#L2595 [02:41] riddder: yay :) [02:43] sarnold: I think so : https://www.kernel.org/doc/html/v4.13/admin-guide/kernel-parameters.html [02:44] sarnold: I using the .force, I forgot to put it in there [02:45] TheRealSoundWave: it's no fun to debug something that was retyped from memory [02:45] I'm off, ahve a good night, good luck [02:45] sarnold: nighty night [02:45] sarnold:bye kindman [02:46] sarnold: libata.force=2.00:disable,3.00:disable [02:46] TheRealSoundWave: that looks much more like what I saw inthe docs :) bummer, though, since that seemed like such an easy one.. heh. [02:47] sarnold: Ya well, welcome to my life [02:48] Well, I'm doing doing to many mistakes. I'm quitting for today. [02:49] ThankX === BrianG61UK__ is now known as BrianG61UK [03:01] Sometimes my mouse stops working completely and no clicks work. You can see the mouse dragging. The PC only works with keyboard. Mouse can move, but no mouse buttons do anything [03:01] No idea what's going on. The only solution I have is to reboot. [03:01] Nothing has crashed. [03:02] *sigh* [03:04] dude [03:05] I am so tired of this. [03:06] left/right mouse buttons don't work, middle one does. All of a sudden while just using the computer [03:06] This has happened 3-4 times in the past week. Randomly [03:07] Just have to restart the whole pc in order to get the mouse to work again [03:10] https://superuser.com/questions/72112/mouse-clicks-suddenly-stopped-working-in-ubuntu [03:11] 2 ways to get it working again for a short time 1 - unplugging and replugging the mouse, 2 - alt-F1 to switch to text mode then alt-F7 (or F8) to switch back to graphics [03:11] That worked. [03:11] Why does Ubuntu do this? It's always some issue I'm having which shouldn't even be an issue in a 'stable' desktop produced by a multi million dollar company [03:11] That's just sad. [03:12] Then when I criticize Ubuntu, the only response is, oh you're offtopic or you're trolling or you're this or that and they come after you. [03:12] sarnold and StoneMonarch: I ended up leaving the local dns entries in the pihole the way they were and installed resolvconf then edited its file to add my name server explicitly. now it works. I also found the localdomain was coming from my DHCP settings in my router. removed that too though that without the new package made no change. I still [03:12] don't really understand what netplan is doing with dns [03:15] webchat30: If netplan is set to DHCP it is going to take the settings provided by your router. I statically assigned mine at startup. Can take a look here => https://pastebin.com/r2FrWax2 [03:16] I said startup when i meant install [03:16] I prefer to have static DHCP assignments in my router and it is giving it the right dns server, but netplan is doing something weird [03:19] All fun and games until you have to factory reset your network gear cause ya messed something up real bad... Not that I have ever done that... [03:31] I think I have my unifi config backed up somewhere... === dstein64- is now known as dstein64 === nyany is now known as alynyanxy === alynyanxy is now known as nyany [05:51] I asked this earlier, but I don't think I articulated it correctly; is there a program that works basically exactly like a screensaver, except instead of changing the screen, just log the stats on it's timer (ie: when it starts (activity) and flushes (idle)) ? [06:03] Mark the name of your screensaver, e.g. /usr/bin/mate-screensaver. Then make a shell script wrapper at /usr/local/bin/mate-screensaver [06:03] That script will log the time, run /usr/bin/mate-screensaver, then log the time again [06:03] ash_worksi: and that way you have your logs without any other configuration :) [06:04] I.e. the desktop environment will automatically run your wrapper instead of /usr/bin/mate-screensaver, due to the stock PATH settings === y0sh- is now known as y0sh_ === doubleqp9 is now known as doubleqp === toabctl_ is now known as toabctl === martums1 is now known as martums === dstein64- is now known as dstein64 === AKTheKnight5 is now known as AKTheKnight === stanglavine7 is now known as stanglavine === blaklistd8 is now known as blaklistd === newdimension8 is now known as newdimension === lucerne9 is now known as lucerne === jeddo_ is now known as jeddo === erica5 is now known as erica === Bencraft8 is now known as Bencraft === WireTark is now known as Tark === GLaDER3 is now known as GLaDER === nanook2 is now known as nanook === kiska3 is now known as kiska === manuels8 is now known as manuels === parallax_ is now known as parallax === kaizen__ is now known as kaizen === petris_ is now known as petris === deus is now known as Guest8265 [06:23] HI [06:25] hi === Hash is now known as websec === websec is now known as Hash [07:13] Hi, what is the correct wat to add a language to LO through the ubuntu repositories? === tolecnal_ is now known as tolecnal === djhankb4 is now known as djhankb === mnabid_ is now known as mnabid [07:23] brandoneliza: i suspect installing libreoffice-l10n- would do it, there's also help packages for a bunch of languages [07:25] hi [07:27] help === Casper26_ is now known as Casper26 === bahama- is now known as bahamat === RaimondR- is now known as RaimondRaj [07:33] !ask | aslan_ [07:33] aslan_: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience === TheMaster is now known as Unit193 === justache9 is now known as justache === WildSoft_ is now known as WildSoft [07:45] Does anyone know a good native GTK Python IDE? I've tried Thonny and Geany, and they're all weird-looking and counterproductive to me. I'm now using GNOME Builder, but it's a kind of a pain, because it has no single-script run support. === stoned is now known as Hash [07:45] I need to create two users in the terminal. I've already done that. [07:45] Now I need to use the who command, I need to find out which terminal the user is connected to and enter this command, but the user I created does not come out. [07:46] aslan_, Please display us the output of all the commands, from adduser to who === Ahnberg_ is now known as Ahnberg [07:47] agvantibo: Give up, use vscode [07:48] aslan_, Also, if you've logged in via the second user in another terminal window, that wouldn't help [07:49] Use a tty or "Switch User" and log in graphically [07:49] Like this [07:54] Curious problem here - I have setup 3 Thinkpad T14s Gen2 laptops in the past week with Windows/Ubuntu20.04 dual boot. On one of them I experience it not shutting down. It seems to shut down, screen goes black, but the fan continues to spin and I cannot turn it back on unless I press the power button for 20 or so seconds and the laptop actually powers off. [07:55] https://drive.google.com/file/d/1Wa9UWOw6r5StZc_aKKiXtXJqEeXdu8DN/view?usp=sharing Here! [07:56] 173 adduser amangeldi [07:56] 174 ps [07:56] 175 who [07:56] is this? [07:57] I am a beginner and I do not really understand I am from Kazakhstan [07:58] aslan_ I don't really understand what you're doing here. I've sent you a tutorial of how to successfully create and log in as a user and then use who to list all users. [07:59] zetheroo, try pressing down arrow repeatedly while it is shutting down - it will display a wall of text eventually about stopping som services. It probably hangs while stopping some reluctant service. [07:59] ok thanks [08:00] zetheroo: It will actually show time elapsed and time left to get the nasty service force-killed [08:00] aslan_ If you have any other questions, feel free to ask! ;) [08:00] agvantibo: syslog shows the last entry being "Stopping PackageKit Daemon" [08:01] Zetheroo, packagekitd is a thingus that monitors updates and installs them if they match the criteria [08:02] Its behavior could be regulated with software-properties-gtk [08:02] AKA Software & Updates graphically [08:03] Try disabling all autodownloads and autoinstalls, update the system and retry. === robert___ is now known as Duality [08:07] agvantibo: the arrow down thing didn't show any text while shutting down [08:10] Really? Does it display the Ubuntu spinner? [08:10] Press downarrow while it is doing that [08:10] Hello I get shim-shine error whenever i try to install anything on my Ubuntu 18.04 laptop [08:11] https://pastebin.com/zVE7i0bN === bahamat is now known as bahama- === AKTheKnight5 is now known as AKTheKnight === blaklistd9 is now known as blaklistd [08:21] zetheroo, try switching to a tty and doing sudo shutdown now [08:22] Then do downarrow thing === ubot3 is now known as ubottu === jeremy31_ is now known as jeremy31 === nicolasbock_ is now known as nicolasbock [08:38] ? === wille6 is now known as wille === Morpheus is now known as Guest4177 === tomaw is now known as Guest6410 === tomaw_ is now known as tomaw === tribaal_ is now known as tribaal === compuguy6 is now known as compuguy === WildSoft_ is now known as WildSoft === bahamat_ is now known as bahamat === ydnar is now known as Randy_ === de-facto_ is now known as de-facto === NGC3982_ is now known as NGC3982 [09:18] need help with shim-signed error [09:18] https://pastebin.com/zVE7i0bN === bahamat is now known as bahamat_ [09:28] I am trying to reinstall grub on a dual boot system. Ubuntu root / is installed in a LUKS partition and the boot partition is a separate 1GB partition. My question is: when I perform the 'chroot' command do I chroot into the root partition or into the boot partition? [09:31] zetheroo: root [09:32] zetheroo: after the chroot you want to "mount /boot" [09:32] ok, I have both root and boot partitions already mounted [09:32] I also performed the 'bind' commands [09:34] EriC^^: I guess when I do the 'grub-install /dev/xyz' command I then need to point to the boot partition mount point ...? [09:34] agvantibo I can't do everything smoothly or I am doing it wrong. Should I press ctrl + alt + 3? After the first "who" [09:35] EriC^^: oh wait, not that I am chroot'ed the boot partition mountpoint is no longer accessible because it's "outside" of where I am [09:36] zetheroo: you want to run 'grub-install /dev/sdx' if you're using legacy [09:38] EriC^^: in the chroot environment if I do 'll /boot' I can see the contents of the boot partition [09:38] sounds good zetheroo [09:39] I also see with 'df -h' that /dev/nvme0n1p5 (the boot partition) is mounted at /boot [09:39] zetheroo: maybe run 'mount -a' to mount everything in fstab [09:40] I don't have /dev/sdx ... root partition is /dev/mapper/luks-xxxxxxxxxxxxxxxxxxxxxxxxxxxxx [09:41] zetheroo: you want to point it to the disk not the root partition [09:41] in the chroot env 'df -h' shows /dev/dm-0 as mounted to / [09:41] hmm ok [09:41] zetheroo: are you using legacy? no efi partition? [09:42] I haven't done anything with EFI ... at least not knowingly. Is that something automatically done? [09:42] zetheroo: try "grep efi /etc/fstab" [09:43] inside the chroot env? [09:43] yeah [09:44] shows a vfat entry at /boot/efi [09:44] zetheroo: type 'mount -a' do you see any efi partition that mounted at /boot/efi? [09:44] disk device name seems to be /dev/nvme0n1 [09:45] yes [09:45] /dev/nvme0m1p1 [09:45] zetheroo: ok, type 'grub-install' it should take care of everything [09:45] ok [09:46] done - No error reported [09:46] ok, update-grub [09:47] did some stuff and then says "grub-probe: error: cannot find a GRUB drive for /dev/sda1. Chek your device.map." [09:47] but finished with 'done' [09:47] looks good [09:48] ok [09:48] can I exit the chroot and reboot? [09:48] yea [09:48] super ... [09:48] help guys, I need to create users and send messages between them (I created them), now I need to write who to find out which terminal the user is in. But when I write the command, they don't come out, why? [09:51] EriC^^: well now Ubuntu boots up, but there is no grub menu so I cannot boot into Windows :D [09:54] zetheroo: type 'sudo parted -ls | nc termbin.com 9999' [09:54] no help for shim-signed error? [09:55] https://pastebin.com/zVE7i0bN [09:56] EriC^^: https://termbin.com/0d33 [09:56] Sorry everything is a bit slow ... I am chatting from another PC [09:57] zetheroo: type 'sudo ls -lR /boot/efi | nc termbin.com 9999' [09:59] EriC^^: https://termbin.com/u4xe [10:00] zetheroo: ms efi is there [10:00] zetheroo: do you have this file? "ls -l /usr/lib/os-probes/mounted/efi/20microsoft" [10:02] yep [10:04] zetheroo: try 'sudo os-prober' [10:05] it returns a line of text pertaining to Windows Boot Manager === dbristow_ is now known as dbristow [10:18] EriC^^: I ran 'update-grub' again and rebooted - now the grub menu shows up and Windows boot is working. [10:18] Thanks so much for your help! [10:25] zetheroo: good to hear! no problem [10:30] EriC^^: Do you have any idea what could be stopping the PC (Thinkpad T14s Gen2) from shutting off all the way? [10:31] zetheroo: maybe some acpi issues? [10:31] Windows shutdown works. Ubuntu 20.04 LIVE sessions shutdown works. [10:31] when you press esc, does it show what it's hanging on? [10:32] It seems to have shutdown, but the power doesn't turn off. (Only when shutting down from installed Ubuntu 20.04) [10:33] Strangely it wasn't doing this initially. Maybe I should just reinstall Ubuntu [10:34] zetheroo: sounds like some acpi issue [10:35] you could try some kernel parameters for acpi_osi etc in case it fixes it [10:36] zetheroo: does the initial kernel work? maybe a kernel update is what caused it [10:36] yeah, could be. [10:39] I'm having trouble setting fs.nfs.nfs_mountpoint_timeout in sysctl, it seems I cannot set that setting until after I've mounted an NFS share? [10:39] if I put that setting into sysctl.conf, and then mount an nfs share, nfs just used the default timeout of 500 === m0nkey__ is now known as m0nkey_ [10:48] EriC^^: is it easy to install the previous kernel to the one I am currently booting with? For example with 'sudo apt install ...' ? [10:52] turns out there is a new kernel available :P [10:53] so, for the various values in procfs, such as /proc/sys/fs/nfs/nfs_mountpoint_timeout, what actually creates those entries and where do the default values come from? [10:55] I updated yesterday and now my cursor is different, how do I change it back to the default? I'm using a custom window manager and my desktop environment is Unity so things like gnome-tweak-tool don't work [10:55] Looking for a way to do it from the terminal [10:56] zetheroo: yeah use apt to install it [10:57] ok [10:58] There are not many resources on google for this === BlessJah_ is now known as BlessJah [11:03] EriC^^: I am having difficulty finding what kernel was before the one I have installed. Is there an official source of Ubuntu 20.04 kernels listed somewhere? [11:05] !info linux-image-generic focal [11:05] linux-image-generic (5.4.0.88.92, focal): Generic Linux kernel image. In component main, is optional. Built by linux-meta. Size 3 kB / 18 kB. (Only available for amd64, armhf, arm64, powerpc, ppc64el, s390x.) [11:05] zetheroo: ^ [11:05] zetheroo: or the !HWE kernel [11:06] zetheroo: try 'sudo grep "linux.*image" /var/log/installer/syslog' [11:06] currently there is an oem kernel installed [11:06] 5.10.0-10450-oem [11:08] sounds abit from a ppa or something [11:09] oem version are on apt too EriC^^ [11:09] think it auto picks those on some brands [11:10] seems like there was a HWE kernel installed before this one [11:10] 5.11.0.27.29~20.04.11 [11:10] !info linux-image-generic-HWE-20.04 [11:11] linux-image-generic-hwe-20.04 (5.11.0.37.39, hirsute): Generic Linux kernel image. In component main, is optional. Built by linux-meta. Size 3 kB / 19 kB. (Only available for amd64, armhf, arm64, powerpc, ppc64el, s390x.) [11:11] it was removed and this oem one installed [11:11] no idea why [11:13] zetheroo: wich brand is your pc? [11:13] Thinkpad T14s Gen2 [11:13] EriC^^ need help with shim-signed priblem [11:13] https://pastebin.com/zVE7i0bN [11:14] Should I revert to the previous HWE kernel? [11:15] zetheroo: lets have a look at your dpkg logs first [11:16] lotuspsychje: ok, let me know what you need (there will be a delay as I am chatting from another PC) [11:17] zetheroo: /var/log/dpkg.log to see what apt all did with your kernels [11:19] lotuspsychje: https://termbin.com/1jpz [11:20] zetheroo: its not there, how about dpkg.log.1 === trench_ is now known as trench [11:21] https://termbin.com/97lk [11:21] lotuspsychje:^ [11:23] zetheroo: it installed that oem kernel on 28/9 now lets see what it did previous that [11:24] zetheroo: on 19/8 linux-image-generic-hwe-20.04:amd64 5.11.0.27.29~20.04.11 [11:26] ok [11:26] zetheroo: so you didnt add some ppa's or tweaked with kernels yourself right? apt did that automatic? [11:28] there are 2 PPAs - Google and Slack stable [11:28] I didn't do anything to tweak kernels etc ... [11:28] yeah those wouldnt pull kernels [11:29] so lets assume apt knows what it did then [11:30] ok [11:31] So I should not revert to the HWE kernel? [11:32] zetheroo: what i 'think' happened is apt chose that oem kernel as it might fit better for your lenovo [11:32] Would it be possible for me to install the HWE kernel and try booting from it to see if the shutdown works? [11:33] or is that too risky? [11:33] zetheroo: check your kernel list; dpkg --list | grep linux-image [11:34] only the OEM kernel is showing [11:34] two lines of output for that one [11:39] zetheroo: you are the boss of your machine, if you choose to test another kernel, apt will match your idea [11:39] ok, I'll install that 5.11 hwe kernel and test it out [11:39] !hwe [11:39] The Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack === Guest4177 is now known as Mekaneck [11:42] holdon zetheroo [11:42] zetheroo: bug #1940665 [11:42] Bug 1940665 in linux-oem-5.10 (Ubuntu) "Lenovo Carbon X1 9th gen no longer powers off" [Undecided, Confirmed] https://launchpad.net/bugs/1940665 [11:42] got a LP account zetheroo ? [11:43] Haha ... now shutdown works but the network (ethernet) device is gone and the touchpad doesn't work :D [11:43] lotuspsychje can you help me with shim-signed problem i'm facing? [11:43] https://pastebin.com/zVE7i0bN [11:44] lotuspsychje: yes I do [11:44] zetheroo: feel free to affect to that bug then === waveform_ is now known as waveform === Morpheus is now known as Guest2215 [11:51] Snaps are unstable (unresponsive when clicking menus etc) and have been for me forever. So I updated to 21.10 beta yesterday, hoping it would be better in the latest version. Installed the canonical chromium snap and it failed within 20 seconds (10 of which is still spent on starting the app first time). What can be done to speed up app start (sound like a small thing, but it's really not!) and to make apps not crash like this). I can [11:51] reproduce the crash with Bitwarden and Chromium, and have not tried anything else. === Guest2215 is now known as Mekaneck [11:52] !next | tmus [11:52] tmus: Impish Indri is the codename for Ubuntu 21.10. For technical support, see #ubuntu-next. For testing and QA feedback and help, see #ubuntu-quality. === aaguhagegaooeg is now known as westor [11:53] thanks lotuspsychje === ecormier_ is now known as ecormier [12:23] Hi all === cipherboy1 is now known as cipherboy === pascal_ is now known as Guest5092 === Apachez- is now known as Apachez === nomad is now known as nomad_fr [13:05] lotuspsychje: after a fresh install and using the 5.11 generic kernel, shutdown is working fine - as is the touchpad and network (eth) [13:06] crazy ! [13:06] lotuspsychje: What would be the best/cleanest way to remove the OEM kernel completely? And then, is there a way to not permit the kernel from updating? [13:06] πŸ™‚ [13:06] why would you not want it to upgrade ? [13:07] (and get security fixes etc) [13:07] ogra: because it breaks with the newest kernel [13:07] the bugs need to be fixed first [13:08] you mean with something newer than 5.11 ? or with the latest 5.11 kernel (and you are using an older build) [13:09] Is there a command I can use to see if a user has been blocked from logging in via SSH? [13:09] For instance due to too many attempts [13:09] The latest 5.11 kernel is working fine. I don't want it to upgrade to the OEM kernel [13:09] ogra: bug #1940665 [13:09] Bug 1940665 in linux-oem-5.10 (Ubuntu) "Lenovo Carbon X1 9th gen no longer powers off" [Undecided, Confirmed] https://launchpad.net/bugs/1940665 [13:11] zetheroo, well, justs "dpkg -l | grep linux-oem" and purge all packages that returns should be sufficient usually ... 5.11 will get regular updates thugh [13:12] tmus, for snap issues you should post on forum.snapcraft.io [13:13] ogra, okay, thanks [13:13] tmus, i'd recommend the "snapd" category, that way the right people see it [13:14] perfect, thanks [13:14] (note that chromium starts in under 5sec on a fresh boot for me here on 20.04) [13:14] (so this is definitely not expected) [13:15] ogra: ok, will do. But what do I do to stop the OEM kernel from being reinstalled next time I install updates? [13:16] zetheroo, if you uninstall it it should not "just come back" [13:17] oh? [13:17] linux-oem is likely the toplevel metapackage, once that is gone refreshes should not just pull it back in [13:18] ok, so removing linux-oem-20.04 should keep that kernel away for good ... ? [13:18] I'll try to do a full-upgrade now [13:18] there might be other metapackages, this is why i said to purge everything with linux and oem in the name [13:19] huh, looks good. It's not telling me to install any oem kernel :) [13:19] great [13:19] yes, I purged the three packages which were listed [13:19] good, that should work then [13:20] +1 [13:21] Super [13:22] I wonder why when I installed the 5.11 kernel on the previous install the touchpad and networking stopped working when I booted into it [13:22] perhaps missing modules or firmware ? [13:22] Guessing this is just another Letsencrypt X3 question: does this openssl response looks accurate? https://pastebin.com/raw/3Fi1tNBM I see that DST Root CA X3 is still in the chain and we're having some odd issues with expired certificates. I am wondering if I need to do something more on my ubuntu server than just re-generate the certificates... [13:23] ok. so are there other packages which need to be installed manually which aren't pulled in when installing the kernel? [13:23] the kernels have been split a while ago ... there is a -modules-extra package now that does not always get auto-installed [13:24] hmm ok, will have to remember this. We have two more of these laptops [13:24] dpkg -l | grep linux-modules [13:24] take a look if you have the -extra pcakge [13:24] *package [13:26] hehe, I did that now and I see there is a modules package still lingering from the OEM kernel install :D [13:26] hah [13:26] naughty thing [13:27] it likes you πŸ˜‰ [13:27] I don't like it! [13:27] it just wants to cuddle !!! [13:28] This isn't a mutually affectionate relationship! πŸ™… [13:28] haha [13:30] Any idea how this OEM kernel gets installed in the first place? [13:31] probably the installer thinks it is a good idea ? not sure [13:31] you use a vendor supplied installation or recovery image, or system with preinstalled ubuntu oem variant [13:31] yeah, or that [13:32] I am using the ISO from the Ubuntu website [13:32] hmm i hadn't expected that to install the oem kernel [13:33] check his dpkg log; https://termbin.com/97lk [13:34] maybe ubiquity has a listing of systems which are 'oem supported' [13:35] zetheroo: can you share journalctl -b | grep DMI: [13:35] The only thing I can see relating to this oem kernel is that when I removed it there was this other package it wanted to have removed called oem-sutton.newell-meta, which looks like what is referred to in the Additional Drivers dialog [13:36] tomreyn: sure, just a moment [13:37] so another theory could be that you chose to install 'additional drivers' on ubiquity, it detected that your system could use this proprietary driver and that driver depends on the oem kernel. just another theory. [13:37] https://termbin.com/nvlc === pascal_ is now known as Guest7566 [13:37] tomreyn: but that would have to be happening during install then [13:38] tomreyn, https://lists.ubuntu.com/archives/technical-board/2020-January/002478.html [13:38] the installer ships oem kernels by default now and picks if it thinks -oem fits better [13:39] tomreyn: just now when I installed Ubuntu 20.04.3 I did not select the option to install additional drivers, but I did have the option to install updates during install - and on first boot the OEM driver was installed already. [13:39] zetheroo: yes. also, my first theory just collapsed. lenovo does not provide ubuntu support for this system https://pcsupport.lenovo.com/us/en/products/laptops-and-netbooks/thinkpad-t-series-laptops/thinkpad-t14s-gen-2-type-20wm-20wn/20wm/20wm003pmz (see the "operating system" drop-down) [13:39] ogra: good find! [13:40] i'm glad all these changes are constantly feeded into release notes. :-( === Guest7566 is now known as pascal__ [13:41] I have set up 3 of these same laptops in the past 2 - 3 weeks and did not notice the shutdown problem with the first two. They were shutting down normally. So is it possible that the selection of the OEM kernel over the generic was something rather recent? [13:43] it could be that new modaliases were added in 20.04.3 [13:44] so if you were using the 20.04.2 or earlier installer for th eother ones they might not have gotten it during installation. just another theory. [13:46] I'm assigning a static ip to a machine and then setting the global dns to point to that machine. Inside the machine, do i need to change /etc/resolve.conf or some other file? Nginx is giving me this error: "no resolver defined to resolve r3.o.lencr.org…" [13:49] how are you "setting the global dns to point to that machine"? and does it have a dns recursor running? [13:50] if not, which recursor do you actually mean to use? [13:50] tomreyn: I'm using godaddy to say mydomain.com -> static ip [13:51] that's authoritative dns for your domain name, that's seperate from recursive resolvers. [13:51] tomreyn: nslookup mydomain.com -> gives the static ip [13:51] that static ip is what i assign to my network interface for my aws vm [13:52] your server needs a way to resolve not just your but generally any hostnames, e.g. it will need to know the ip addresses of the servers it downloads apt updates from. [13:52] tomreyn: I use a ubuntu ami from aws - I think that should already be working? [13:53] probably, yes. cat /etc/resolv.conf will probably tell how it looks up dns names. [13:54] tomreyn: nameserver 127.0.0.53 \n options edns0 trust-ad \n search ec2.internal [13:54] resolvctl status [13:55] ...should tell you which resolver is being used [13:55] "resolvectl" (note the 'e') [13:56] thanks [13:57] tomreyn: I'm changing the static ip of the network interface while the machine is running. Do I need to do something inside ubuntu to let it know that? Perhaps restart networking? [13:57] pycurious: if you're assigning a static IP address you're also responsible for setting a static DNS forwarder server [13:58] yes, it's a good idea to restart networking afterwards, maybe even reboot so that any services will catch it up. [13:58] pycurious: usually that'll be your ISP's DNS forwarders [13:58] pycurious: if you know the address, use "resolvectl dns " [13:59] r3.o.lencr.org does resolve on the internet, so maybe your system just lacks access (due to misconfiguration or firewalling) to a resolver. [13:59] tomreyn: what networking command should i use to restart things that effect ip assignment? [13:59] how did you apply the static ip address assignment? [13:59] pycurious: if you set address manually, and restart the network manager, it may remove that manually set address [14:00] * tomreyn bbl [14:00] TJ-: I set the ip from aws cli - from outside currently. [14:01] TJ-: https://pastebin.com/nJJxrMt2 - this is what my global output begins with. [14:01] pycurious: that's not what we'd describe as setting the address manually. We mean using command-line tools usch as "ip addr add 1.2.3.4/24 dev enp1s0" [14:02] pycurious: is this an ubuntu-server installation? [14:03] TJ-: yes - am running nginx inside (20.04LTS Minimal image) [14:03] TJ-: do you see anything problematic in the dns global output beginning? [14:03] pycurious: so that (-server) infers it uses systemd-networkd to configure networking [14:04] pycurious: and usually it'll have a configuration in /etc/netplan/ that at each boot will generate a systemd-networkd configuration in /run/systemd/network/ [14:04] -bash: systemd-networkd: command not found [14:05] TJ-: I've to make this work without a reboot because of other services running on this machine. [14:05] pycurious: why are you trying to run that command? it isn't expected to be found [14:05] pycurious: check the contents of the directories I pointed you to [14:06] TJ-: I'm not sure how to fix the dns on this machine still so was checking systemd-netpland. [14:07] TJ-: /etc/netplan -> dhcp4:true -> I'm guessing the static ip flows from outside as dhcp? [14:07] pycurious: That file should cause a systemd-networkd config to be generated in /run/systemd/network/ [14:08] and a file in /run/systemd/network/ is what will actually configure the network [14:08] [Network] DHCP=ipv4 [14:09] pycurious:good [14:09] So I'm guessing, when I tell AWS to assign a static IP to this machine, it just routes all the traffic to the local private ip on this interface. [14:09] pycurious: so your problem may be that the AWS DHCP server isn't sending a DNS server option to the server at all [14:10] pycurious: is there a "DNS=" in the .network file? [14:10] TJ-: nope [14:11] pycurious: I don't touch AWS but it sounds like if you've configured a 'manual'IPv4 address, you may be responsible for also configuring a manual DNS forwarding server address [14:11] I see - checking [14:11] pycurious: since it seems like the system isn't receiving a DHCP nameserver option [14:12] pycurious: you can work around this manually for now with "resolvectl dns 1.1.1.1" (replace with the interface name) [14:12] pycurious: that'll use the Cloudflare anycast DNS servers - this also assumes various firewalls let those packets out and in [14:14] TJ-: if after this command - apt update works, it should be good ? [14:14] pycurious: no, it just means it'll work right now. You still need to permanently configure a nameserver. Presumably AWS document that somewhere [14:14] I see [14:41] t === bahamat_ is now known as bahamat [15:53] how do i test if the dns setup on my machine is correct and working fast enough? [15:53] speedtest [15:54] later all, take care [15:55] https://dpaste.org/B0xs - systemd-resolve --status output - is this correct? How do I test it? === ddstreet_away is now known as ddstreet === Ricardus_ is now known as Ricardus === joaofofinho is now known as plugner [17:00] hi [17:11] I have 16.04 installed. I run apt-get update && apt-get upgrade with sudo. I then run sudo do-release-upgrade and it crashes after a couple seconds. [17:11] "Command terminated with exit status 1" **Collecting problem information** [17:13] pinPoint: probably because 16.04, for normal users, is EOL [17:14] Mekaneck: crap. [17:14] a bit late to the party to upgrade since it went EOL in April iirc [17:14] hello in here- [17:15] how can i issue the new creation of a initramfs and kernel explicitely ? [17:15] Mekaneck: The party left me behind? GG [17:16] pinPoint: https://help.ubuntu.com/community/EOLUpgrades [17:16] but i'd go the clean install route, much faster. [17:17] pinPoint: also 32Bit isn't supported anymore as of 20.04, just so you know [17:17] and the desktop has been replaced with Gnome 3 [17:18] Mekaneck: copy that. [17:19] guestavo_hombre: initramfs: sudo update-initramfs -c -k $(uname -r) (for the currently running kernel version, or "-k all" for all installed kernels) [17:20] guestavo_hombre: you don't normally generate (compile) the kernel [17:20] tomreyn: and for only one specific ? [17:21] guestavo_hombre: "-k target_kernel_version_goes_here" [17:22] it is already in /boot, just wanna regenerate this and its frinds ( map, init, ) [17:23] the thing is, my boot is too small for 2, shit, i know, but my apt full-install failed because of that [17:24] now I need to find a solution [17:24] full-upgrade i mean [17:24] shorty afk, see ya later [17:37] hello [17:37] can you help me ? [17:38] ask your question into the channel webchat63 [17:38] webchat63: sure [17:40] I have installed ubuntu in virtualbox and have internet connectivity issue. [17:40] I can access internet on my host OS (windows) but cannot access through ubuntu [17:41] that's probably a configuration issue on virtualbox or windows then [17:42] I tried all possible solution from web but nothing works for me [17:42] does it work with other VMs? [17:43] how can check it? [17:43] Are you doing NAT or passthrough for the network connections? [17:43] NAT [17:44] Are you trying to do a static or DHCP address on your ubuntu machine? [17:44] No. its all bydefault settings [17:45] When I used VirtualBox, I almost always used the passthrough instead of NAT, I just had less issues. [17:45] to check whether it works with other VMs, create another VM in virtualbox. can be a live bootable system (so no need to install). [17:46] "passthrough" would be "bridged", i guess [17:46] Yes [17:46] you may need to configure windows to allow the NAT interface to receive and emit traffic. [17:46] Yes. I tried Bridge also [17:46] but same. [17:46] but neither how to configure virtualbox on windows or how to configure windows is a matter of this channel really [17:47] there is #vbox for virtualbox [17:48] can you please suggest me how can i configure releted setting? [17:51] webchat63: Which settings? === DSyndrome is now known as Death_Syn [18:17] Hello everyone. Is there any way to override DNS servers being used system-wide with netplan and a custom file? I want to create an additional file, let's say /etc/netplan/99-mine.yaml which would contain only DNS servers I supplied. However, after running 'netplan apply', it adds my specified DNS servers to the ones currently used. Is there any way to override (meaning get rid of any other ones) instead of adding them? [18:23] hid3: maybe https://netplan.io/reference/#dhcp-overrides is what you're looking for [18:24] tomreyn: the problem is that my configuration is static, not DHCP obtained... [18:24] and instead of changing the main file (01-netcfg.yaml) I would like to add extra one. But not sure how to get rid of previous DNS servers [18:26] hid3: hmm, i guess you'd need to prevent other resolvers getting configured in the first place. maybe ask in #netplan [18:29] Thanks! [18:32] back in bizzzz === sarnold_ is now known as sarnold [18:32] so , anyone remembering my situation ? [18:36] problem was: My apt full-upgrade worked, but it failed in the end. While creating initramfs and so on, because my /boot is to small...stll I am running on the upgraded version. wanna repair this. so can i somehow remove the old kernel .map and initram, while stll running on it and replace it with the new kernel in runitime, for regenerate all of [18:36] the new stuff again ? [18:46] I'm getting a "temporary failure in name resolution" error when I try to ping anything. I've managed to get resolv.conf to use google's 8.8.8.8 dns server (the status shows both that and a local ip). I've opened the ufw ports. [18:46] guestavo_hombre: you can do this, just deleting those files, then then packages they belong to, but it won't solve the problem (too small /boot) and you'll certainly run into the same problem again very soon. [18:50] boblamont: do you allow both udp and tcp 53 to your nameservers? [18:50] yes [18:51] I did ufw allow out 53/udp and and ufw allow 53/tcp [18:54] sarnold: is there a way to verify it took? [18:55] boblamont: you need to allow tcp, too [18:56] boblamont: you can probably check with iptables -L commands, but I'm not sure the full commands to use [18:58] sarnold: didn't ufw allow 53/tcp all tcp? I also allowed 43 [18:59] boblamont: oh sigh. sorry. I misread, I had the impression that wa sjust udp. sigh. it's gonna be a long day. good thing it's friday :) === rud0lf is now known as Chojrak === Chojrak is now known as rud0lf [19:02] sarnold: I hear you. I'm taking a look at this computer to be nice. Supposedly all it needed was some files deleted because it had no free space to boot. I took care of that in no time, only to discover someone deleted lightsdm, so now I need to get it online to add it back [19:02] boblamont: oh, so you're probably stuck without gui, just the virtual consoles, even? [19:03] boblamont: there might be an old deb of it in /var/cache/apt/archives/ [19:04] sarnold: yup, it sits after fschk so I have to swith to the virtual consoles. I'll go check the cache. === MrA is now known as Ders [19:22] exit [19:27] sarnold: I didn't see anything [19:27] :( === riderjj is now known as juanjo [19:56] I had a problem with vulkan validation layers, they didn't work on ubuntu but worked on other distro. Package versions on these distros have big difference and there's a possibility that the problem can be fixed if I install newer version of ubuntu. Maybe someone here has 21.04 and could check it?... I use 20.04. [20:15] im installing the latest ubuntu 21. something in vmware it automatically started pairiotning and installing stuff. is this normal or did I miss an option? [20:37] I'm getting a "temporary failure in name resolution" error when I try to ping anything. I've managed to get resolv.conf to use google's 8.8.8.8 dns server (the status shows both that and a local ip). I've opened the ufw ports. [20:38] You don't need to open any ports on ufw. [20:39] I think you're probably using systemd-resovled, are you>? [20:39] arch-nemesis: It was one of the possible fixes, so I did it, still didn't help [20:39] arch-nemesis: yes, I am using resolved [20:41] if you have dnsutils installed, you can use the dig command to target a dns server directly. I think it's unlikely that port 53 is blocked outbound, but we can check that the network is working. if you do `dig @8.8.8.8 google.com` that should resolve [20:41] and if it does, prove that at least the network is working, so you can narrow your troubleshooting [20:42] arch-nemesis: ok, I'll go check (it's in the other room) [20:42] oh, and you should also be able to ping 8.8.8.8 as well. [20:43] it responds to icmp [20:46] arch-nemesis: dig said 1 server found, but then connection timed out, no server could be reached. I've been using ping 8.8.8.8 as my test all along, it gets the "temporary failure in name resolution" error [20:53] arch-nemesis: any suggestion what to do next? [20:55] jcbjoe2021: maybe you could check if vulkan layers work?... [20:56] zxcv: ? what does that mean? === A_Dragon is now known as Awoobis [21:00] boblamont, can you try resolvectl? That's part of systemd-resolved [21:01] arch-nemesis: what command do I use, just resolvectl? [21:08] I asked a question about layers earlier, you can do it and help me if you have free time :) [21:08] jcbjoe2021: I'll copy it: "I had a problem with vulkan validation layers, they didn't work on ubuntu but worked on other distro. Package versions on these distros have big difference and there's a possibility that the problem can be fixed if I install newer version of ubuntu. Maybe someone here has 21.04 and could check it?... I use 20.04." [21:13] how can i make this command permanent to execute when i boot up. [21:13] sudo btmgmt public-addr "43:24:b3:01:02:03" [21:14] system-wide? then a systemd unit would be ideal. [21:15] zxcv: i just installed ubuntu in vmware and testing it out, i don't know anything about ubuntu 0_o [21:16] well, ok... [21:17] ghostnik11: https://askubuntu.com/questions/919054/how-do-i-run-a-single-command-at-startup-using-systemd#answers - you may want tha to run before After=network-online.target [21:18] or related to the bluetooth initialization state, i guess [21:27] tomreyn, can i put it on the rc.local file? [21:28] tomreyn, /etc/rc.local === genii is now known as genii-core [21:29] ghostnik11: on currently supported ubuntu releases, this files doesn't exist by default, and is not used by default [21:29] tomreyn, yeah i was following instructions from something in the past [21:29] Hi there! [21:31] I'm trying to figure out how to change without reinstalling my ubuntu studio 20.?? to the beta or Development version .. need how to change the sources.list file.. I'd like to run the latest/testing version of Ubuntu.. I am coming from running Debian Sid.. any place I can read about this? [21:31] or a pre-made sources.list file? [21:31] also want the newest kernel [21:31] aames: sudo do-release-upgrade -d [21:32] wow well if that's not easy enough! ok thanks! [21:32] ghostnik11: i think there can be a template / example systemd unit file which lets you create a unit which interprets this file if it exists. but that's not really any better (actually worse, i'd say) than creating one which is specific to what you mean to be running. [21:32] aames: Although, that's not supported for ubuntu studio 20.04 due to a change in desktop environment. [21:32] aames: Expect stuff to break. [21:32] aames: Only a complete reinstall is supported. [21:33] aames: Your own risk. :) [21:33] ok cool, long as I can enable/install KDE plasma I'll be fine.. know the package names? [21:33] tomreyn, yeah i am reading the instructions from the link you posted so i can try to follow that [21:33] aames: It will bring in everything, so I hope you have the disk space. [21:33] everything?? or just everything included with the base install? [21:34] aames: It will mix your Xfce and Plasma packages. [21:34] ahh ok [21:34] aames: If it breaks, simply do an install of 21.04 and do the command again to get to impish. [21:34] thanks a bunch! [21:37] ubuntu seems pretty cool so far, definitly some differences from debian sid, but not as far away as say Arch.. which I considered trying [21:39] I like the idea of the lowlatency kernel with Ubuntu studio, but not sure if I really need it at all [21:39] likely dont [21:39] aames: It comes by default in ubuntu studio, but you can always install linux-generic to get the other kernel, but there's no real major difference other than hardware interaction. [21:40] Generic errs on the side of power saving. [21:58] just wanted to let ya know that the switch worked with ZERO problems, from Studio to devel [21:59] with KDE plasma === seednode9 is now known as seednode [22:32] arch-nemesis: resolvectl came up as not recognized [22:36] ? [22:38] srv: Is that ? for me? [22:58] helllo [23:07] here we go [23:07] a F1 request [23:07] by [23:08] Complete Nick = mozambique little indian makumba waterproof downtown sistemas subsahara caju [23:08] Request assistance NIF 214208125 mz_pt_PT [23:08] rahim.g.fakir@gmail.com [23:08] To all Linux stations worldwide [23:08] China and India PLEASE: [23:08] Request for F1 Linux comunity of the world === mozambique_littl is now known as mozambique [23:13] Request assistance NIF 214208125 mz_pt_PT [23:13] rahim.g.fakir@gmail.com [23:13] To all Linux stations worldwide [23:13] China and India PLEASE: [23:13] Request for F1 Linux comunity of the world [23:13] Need for linux and ubuntu flavours === nyany is now known as nyanolantern [23:53] lol wat [23:56] Yeeah..