[00:59] hi, I'm trying to downgrade from focal to bionic. i have changed any instances of 'focal' to 'bionic' in /etc/apt/sources.list, and then created /etc/apt/preferences with Package: * Pin: release a=bionic Pin-Priority: 1001, then apt update which worked, but then apt upgrade fails with several unmet dependencies which results in a "broken packages" error. what did i do wrong or what am i missing? [01:05] Hmmmm reinstall as downgrading is not supported [01:06] well really all i need to do is downgrade the kernel to a certain version, is that doable at least? [01:09] hmmmm you can try, by downloading the deb file from packages.Ubuntu.com. But not sure how broken your system is right now [01:09] I think i should be able to get it back into shape by undoing my changes and apt updating again [01:09] I need kernel 4.4.0-x, nothing in focal has a hard dependency on a 5.x kernel right? [01:12] 4.4? Wow that’s old. Nope, but I’m sure there are some apps not working probably [01:15] actually I can get away with 4.15 [01:15] https://packages.ubuntu.com/bionic/kernel-image/4.15.0-1004-oem-di ? this is what i'd download? [01:16] amd64? [01:17] yes [01:18] there's a big warning that says it's not to be installed on ubuntu [01:18] i'm wondering if i'm making a huge mistake [01:20] hmmmm Linux-image-generic should give your the right one from bionic [01:49] Hi there [01:49] Hi [01:52] I have a 6th gen x1 carbon. 20.04 and 20.10 both lock up after awake by lid open. The Activity menu still works but all apps do not accept any keyboard or mouse inputs. I can still launch apps from dock but have to close from activity menu after non of them accepting input. I cannot alt-f2 and restart gnome either. after a reboot all is good. [01:53] Sounds like your laptop has issues with suspend. Did it ever work? === zbenjamin is now known as Guest84831 === zbenjamin_ is now known as zbenjamin === PowerTower_121 is now known as PowerTower_120 [02:34] Hey, anyone know if I install ubuntu 20.04 server if it automatically handles finding an existing windows install and conveniently adds it to grub the way a regular ubuntu install would do? Does ubuntu server even install grub or is it some completely different animal? [02:38] fattywompus: ubuntu server installs grub as well. if you install os-prober (after ubuntu server is already installed), it will also detect a windows installation which shares the same boot method (uefi or legacy bios, depending on how ubuntu server was installed) [02:46] Ok thanks. And do you know if I get ubuntu server installed, which to my understanding has no desktop environment, is there any way I could install xfce and still have a choice to run it, or boot into the no gui mode? Or once I put xfce on there will it always be xfce desktop unless removed? [02:47] I feel like it worked with 18.04. I had never used a bluetooth mouse before 20.04 though. I also feel like this has happened on 20.04 before I had a BT mouse. Other than that this is a straight forward ISO install. Nothing else. [02:48] fattywompus: If you do not also install a desktop manager ( say lightdm or such) then you will boot to a terminal - from there you may start that GUI. [02:48] fattywompus: correct, ubuntu server comes with no desktop environment. it also defaults to systemd-networkd for network configurations, rather than network-manager as desktops do. as such, in case you'Re planning to, setting it up with a wireless connection can be more involved. [02:50] No its a desktop PC that will be strictly ethernet [02:51] I Just upgraded did a fresh repartition, reinstall from ISO, completly wiping everything to 20.10. I havent had that same lockup sense but its been just 4 hours or so and few awake sessions. [02:53] steve_: were you meaning to say something before "I feel like it worked with 18.04."? because that's the first we got to see since you joined. [02:54] I am having ID troubles with freenode. I am also GSMarquis. [02:56] i see. [02:57] steve_: after you initially discussed the suspend issues, there was: Sounds like your laptop has issues with suspend. Did it ever work? [02:57] Basically, I have a stock X1 Carbon 6th gen, integrated graphics. It locks upon waking but not fully. I can still use activity menu. I can launch apps via dock but no other keyboard or mouse inputs to running apps. Just can close via actiity menu. [02:58] A reboot fixes it until it happens again. I cannot alt-f2 R to restart gnome. [03:00] have a look at your system logs, see what's logged before and after lines which have " PM:" [03:00] Which logs do I pull? [03:01] so something along the lines of this may help: journalctl -b -1 | grep -C 20 ' PM:' [03:01] but also look at (not only) acpi initialization during boot [03:06] Intersting to say the least. I should wait till this lockup happens again, reboot to gain control, then pull that log? [03:10] steve__: maybe try solving this network connectivity / nick regain issue first, otherwise supporting you gets difficult. [03:18] I know :).....I will work on that now. [03:29] So I've come up with the fact that xfce4 provides "startxfce4" to launch it from terminal and as you say having no display manager will make it so it naturally just boots to terminal mode. If I started xfce then wanted to return it back to terminal mode can that be done as well? [03:33] fattywompus: The GUI runs in TTY7 - the "terminal" is on TTY1. [03:33] steve_ you cant restart gnome probably because you are on Wayland not x, so you could change that (and maybe your issue goes away) or stay with wayland (and gnome will at some point reimplement the restarting of the shell) [03:33] hm gone kk [03:33] Hi All. How to view thumbnail preview of RAW (ARW) files in Ubuntu 20.04 file browser? [03:35] I found one article which asks to edit /usr/share/thumbnailers/gdk-pixbuf-thumbnailer.thumbnailer . is it safe to edit that file directly? [03:35] fattywompus: switch between virtual consoles using ctrl+alt+f1--f12, or exit xfce [03:36] Alt-F2 does allow a restart with "r" when not locked up. [03:38] can i just report package issue here? [03:43] !bug | complib2891 [03:43] complib2891: If you find a bug in Ubuntu or any of its official !flavors, please report it using the command « ubuntu-bug » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs. [03:49] complib2891: before filing bugs, we also advice to ask it in the support room first, maybe volunteers know existing bugs [03:50] i've just filled using ubuntu-bug but from 18.04 instead of 20.04, but it's generally python2 code in python3 only environment. [03:51] complib2891, it should be filed on the impacted system, as package versions are recorded; it won't be able to be re-created if wrong detail is recorded (ie. ubuntu-bug done on another different box) [03:51] correction, from 20.04, the installationmedia say it's from 18.04 [03:52] i think it's similar, as it's 20.04, and greylistd is not those complex python program imo. [03:52] complib2891: You are aware that python2 is depreciated ? [03:52] yes i'm aware, but we still can install python2 if we want. [03:53] complib2891, the bug reports you on 20.04, yes installation media was 18.04 is there too [03:53] i've looked inside greylistd package, it's python2 code, i have to replace some files from https://github.com/eurovibes/greylistd then it's working [03:54] i think maintainer tag Groovy correctly, but focal using old code, let me check groovy's [03:55] fattywompus: i think the better approach will be to "sudo apt update && sudo apt install xubuntu-desktop^", then use "sudo systemctl set-default multi-user.target" to make it boot to tty by default. then use "systemctl isolate graphical" to switch to graphical mode, or "systemctl isolate default" to switch back to tty mode. [03:55] complib2891, the more detail put in the bug report, the easier & possibly earlier it'll be fixed. I'd suggest adding your/these comments to the bug report [03:59] @guiverc, i've update my notes to the bug report. thanks. [04:03] complib2891: looks like you're requesting a stable release upgrade (SRU) for focal (20.04 LTS) on a universe package imported from debian. that's not very likely to happen. [04:04] tomreyn, oh, so it's debian? [04:05] not unless you can provide much more convincing arguments, such as a serious security risk, anyways. preparing it yourself may help, but you'll still need to reason for an SRU. [04:05] this package is probably imported from debian. [04:07] tomreyn complib2891 guiverc bug #1875257 [04:07] bug 1875257 in greylistd (Ubuntu) "greylistd does not run after upgrade to 20.04" [Undecided,Confirmed] https://launchpad.net/bugs/1875257 [04:07] it's related to spam, greylisting should help as people from #exim suggested. it just kept coming in, i've added spamassassin clamav, denies on acl... [04:07] not sure how spam related to security issue [04:09] complib2891: can you check if the bug above is what you experience?^^ [04:11] lotuspsychje, i think it's similar to #1875257 i've even tried the suggestion on #1875451 [04:12] to find out the whole package is not for focal without python2 (my guess) [04:13] if the package is broken (as it was in debian, according to 1875257), then an SRU could be possible. you'd still need to follow the SRU process https://wiki.ubuntu.com/StableReleaseUpdates [04:15] so i should go #ubuntu-security? [04:15] or just email security@ubuntu.com? [04:15] i don't think anyone suggested either of these [04:16] complib2891: if you feel its the same as #1875257 please affect yourself to the bug, then dupe your new bug towards it for start [04:18] will see how to mark dupe, do i mark my dupe or find 1875257 and mark that as dupe? [04:20] complib2891: i duped it for you, now affect 187527 in the left upper corner please [04:20] yes, thank you [04:21] complib2891: now you can checkout the link tomreyn provided you for SRU [04:22] lotuspsychje, yea i scan tru it, and find the email and the channel name, i tot I should just email them lol [04:25] hmn, i think i was reading a different link for the SRU, it's much more lengthy it seems. === wodenturkey is now known as wodencafe [04:29] so i add more description to #1875257? with [Impact] [Test Case] [Where it could occur]? [04:30] complib2891: not sure howto handle SRU myself, maybe other volunteers can guide you for that [04:31] lotuspsychje, thanks. i think i'll leave it at that... i manage to get it to work with simple file replace, and there's so much red tapes here. [04:32] complib2891: at least the existing bug has more affects now, so thats a good thing its known, and reported [04:32] complib2891: thank you to report [04:32] lotuspsychje, yeah, i've tried.. cheers, thanks for the reply and help. appreciate nonetheless. === wodencafe is now known as wodenturkey [04:43] I've got ping packet loss on an ubuntu 20.04 laptop using an internal wifi. a usb nic in the same machine has no packet loss ping to gateway and 8.8.8.8, second ubuntu laptop also no packet loss to gateway and 8.8.8.8. I've looked at all machines' ifconfig -a as well as in the router for any conflicting ip addresses, and there are none. [04:43] I don't see a pattern yet, but packet loss varies between 5% and about 75% [04:45] ufw is disabled, and pinging localhost and nic IP show no loss [04:47] I've used dhcp and also set a static ip to see if there's a computer somewhere that I forgot about which might conflict. no change [04:47] I've disabled ipv6 completely, no change. [04:53] every danged time....Whenever I spend time asking for help, typing out all the things I've done, I seemingly without fail find the solution to my problem. I'm sorry to waste your time! I found a 'band' option in an "advanced network settings" app that isn't in other applets. Anyhow, switching to b/g fixed the issue. I'm in a back room! [04:56] hm..or maybe not. I just got a dropout, and a test showed 97% loss [05:05] I'm trying to install VirtualBox manually because the one in apt is broken. Which distribution is 20.04? Is it eoan, bionic, xenial, buster, or stretch? The instructions aren't clear about this. Thanks. [05:05] Seven_Six_Two: that's a very common thing to happen. 'Rubber-ducking' refers to talking to a rubber duck to get the same effect [05:07] Randolf, the virtualbox download site suggests to use eoan [05:07] aeplus: Okay, thanks. [05:07] Randolf: 20.04 is focal. See https://en.wikipedia.org/wiki/List_of_Ubuntu_releases [05:07] deltab: Ah, that will be helpful in the future. [05:11] Well, the "deb" command can't be found. These instructions seem to be in need of some improvements: https://www.virtualbox.org/wiki/Linux_Downloads [05:11] All I want to do is virtualize Windows 10 on my daughter's computer (she's in elementary school) so she can play games that only run in Windows (they don't work with WINE); stuff like Roblox and whatnot. [05:12] Whoops, I misread. Never mind. [05:13] sounds like you should dualboot or get another machine altogether [05:14] No, I'm not dual booting. No f---ing way I'm letting Windows run bare metal on any box as much as I can help it -- it f---s up everything way too much. I'm done with trusting Microsoft. [05:14] Windows has trashed my systems way too many times. They can go to hell. === RandolfR is now known as Randolf [05:18] hi I installed kitty (terminal) and htop via snap [05:18] but when running htop in kitty I get "Error opening terminal: xterm-kitty" [05:21] Nope, this manual installation fails too. [05:22] Never had any problems running VirtualBox on Ubuntu 18, but under Ubuntu 20 it just won't work. Even when I try to sign keys for EFI and all that jazz. This sucks. [05:22] Maybe I'll try VMWare. [05:37] VMware fails too. [05:37] Is it even possible to virtualize Windows anymore? (I'm using Ubuntu Linux 20.04.) [05:45] it seems the ubuntu software couldn't find kitty as a snap so it installed it via apt instead and then installed htop as a snap [05:45] removing the snap of htop then installing it with apt fixed the issue [05:45] thought snaps were supposed to be easier [05:47] Snaps are a nightmare. [05:47] I've had software installed with snaps that failed, and then after removing them before re-installing the same application from apt without snap it couldn't read the data (this was with Mozilla Thunderbird). This was my introduction to snap, and it was a disaster. [05:48] I find that getting updates breaks snap applications too. So I always try to use apt so I don't get the snap version, and then everything works properly. [05:48] I don't understand why snaps are the default if they're so problematic [05:51] https://github.com/maxiberta/htop-snap/issues/9 [05:51] fun [05:54] hey I totally figured out my packet loss problems!! Oh man.. It was my router! I've got a D-Link with a feature called Smart Connect that serves 2.4 and 5 on the same SSID. As soon as I disabled that, my packet loss stopped. [05:57] does the ubuntu software package work without snaps? [06:00] I'm trying to create a virtual machine in KVM now. But it's failing when I tell it the maximum size of the disk (I increased from 40 GBs to 250 GBs because Windows 10 needs more than 40 GBs once you get all the updates in), and I'm getting the error "A storage path must be specified" but there's no option to specify a storage path. How can I fix this? Or do I need to do a manual installation somehow because KVM's GUI is b0rked? [06:01] Rebooting Linux resolved this problem. [06:09] tomreyn: do you think there's some benefit to using xubuntu over xfce? I thought xfce might be lighter and less chance of it interfering with the underlying ubuntu server in some way. Also thanks to you and Bashing-om and deltab for all the help thus far [06:19] my fn+pgup doesn't seem to work in ubuntu 20.04 and the key combo produces no output in xev any ideas? === wodenturkey is now known as wodencafe === mIk3_09 is now known as mIk3_08 === remy^ is now known as Remy === Hackerpcs is now known as Hackerpcs_5 === Hackerpcs_5 is now known as Hackerpcs === denningsrogue8 is now known as denningsrogue [07:59] fixed it and made a pull commit for upstread https://github.com/systemd/systemd/pull/17750 [07:59] upstream* [08:00] pull request* I think the summer heat is melting me [08:34] I tried asking in #ubuntu-server but got no response. I guess it might be on topic here as well: How do I make my server request an IP address from DHCP on boot up? [08:35] otisolsen70 set up the network interface to use dhcp? [08:36] pho}e{nix, I already did during install. When I installed it, the machine got an IP address from the DHCP server. The I took down the server and moved it to a different network on this network, the server will also receive network config via DHCP. The problem it, however, that when I boot up the server, for some reason it just configures the network with the original IP address that it got form the DHCP server. [08:36] *from the other dhcp server. [08:36] And it does not request IP from current DHCP. If I run dhclient -r ; dhclient then it obtains a working IP from the DHCP server. But this does not happen automatically. [08:36] otisolsen70 also, why would you use DHCP on a server? Don't you want the server to be reachable always on the same IP? [08:37] otisolsen70 can you paste your network config file please? [08:37] pho}e{nix, dhcp server has configured a static lease for each server. [08:37] pho}e{nix, I just configured this for dhcp during install. Not sure what file to paste. [08:38] why not just set a static IP on the server itself? [08:38] so that the DHCP server does not even play a role here [08:38] otisolsen70 I think it should be under /etc/netplan/ [08:38] pho}e{nix, sure, I might do that. But shoulnd't it work? [08:39] Also, I would prefer using DHCP because this is what I do for all other machines on this network. With static leases. So I only need to manage network config in a single place. [08:40] otisolsen70 well it depends.. I NEVER do it the way you did it. I always set a static IP address for all my servers and not configure the DHCP server to mess things up [08:40] I usually set a static IP outside of the DHCP range as well so there's no IP conflict [08:41] otisolsen70 You don't need to turn off the DHCP server...just asign a static IP address on your server which is outside the DHCP IP range and you'll be fine. [08:42] "Managing network config" is not just asigning IP addresses to devices. That's a small part that shouldn't be changed often anyway. [08:42] pho}e{nix, I do understand that. And I can live with static IP addresses on these servers, but I would still prefer having DHCP work. [08:47] otisolsen70 well...have you double(triple) checked the configuration on the DHCP server that doesn't work correctly? [08:47] Is there an IP address conflict maybe? [09:07] pho}e{nix, no ip address conflict [09:09] Hi all. My Iiyama 4K monitor won't turn back on automatically after I unlock my laptop. Apparently, according to discussion on StackOverflow, this is related to DP conenctions, however DVI-D doesn't properly support 4K, so I can't switch connectors. Is there something I could tweak? My otehr full HD monitor turns back on normally and so does my laptop screen. [09:09] The 4K monitor I have to turn on manually. [09:11] pho}e{nix, the client (ubuntu server) does not request any network config from DHCP on bootup. It does when I request it manually using dhclient. This is what I am trying to fix. [09:12] pho}e{nix, the server works fine and is part of an infrastructure that have been running for a decaade. [09:18] pho}e{nix, this is the network config under netplan: http://paste.yt/p13091.html [09:41] is there anyway to have "ubuntun software" prefer apt pacakges over snap packages? [09:41] aka if it can't find a apt package then it gets the snap version as opposed to what it seems to do at the moment which is prefer snaps over debs [09:51] Konomi: try synaptic or gnome-software instead of ubuntu software(snap store) perhaps? [09:52] lotuspsychje: yeah I did a bit of reading if I install gnome-software and then install gnome-software-plugin-snap will that allow me toinstall debs first then snaps later etc? [09:53] Konomi: i dont think there's an easy workaround to 'prefer' snaps vs debs [09:54] Konomi: you best use the tools that completely seperate them [09:54] that's kind of lame [09:54] okay [09:54] so possible gnome-software and snap-store [09:54] Konomi: there are wishlists/bugs on that, feel free to affect them [09:54] Konomi: yes, you can install any software manager you like [09:54] I'm new to ubuntu so I'll wait on doing that long term debian user [09:55] Konomi: you can divide easy from terminal apt vs snap too [09:55] yeah the terminal is easy it's just the store bothering me [09:55] apt-cache search foo - snap find foo [09:57] Konomi: bug #1789943 [09:57] bug 1789943 in gnome-software (Ubuntu) "Ubuntu Software only shows snap app's without any explanations or advices" [Undecided,Opinion] https://launchpad.net/bugs/1789943 [10:19] hi there. Did anything changed in the CPU handling behavior between 18 and 20? Because if i start a vm with bionic beaver i can see all my CPUS (248) and use them. With 20.04 i can see only a max of 64. Same behavior i have at debian. But not sure what is the problem here. Seems to be kernel related. Missing Flags or maybe a bug? dunno [10:30] tacco: so `nproc` only yields 64 and not 248 as expected? [10:33] how to find bind9 user ? [10:33] tacco: What does `lscpu` yield? [10:33] I've enabled logging and want to allow that user access to file [10:34] ace_me1: `ps aux|grep bind` should show you which user runs the process I think. [10:34] I installed Ubuntu 4 times yesterday and Elementary OS 1 time. They all lead to same problem: works fine up until I install all the latest updates, after which system freezes on next boot with only a black glowing screen (display is working) or with my laptop brand logo showing in the center of the screen. What could this be? I have tried installing with and without Nvidia proprietary drivers and packages, there's no difference. [10:34] BlueEagle: true && thx\ [10:34] lusrx: Did you try to boot with the 'nomodeset' option? [10:35] BlueEagle: still show wne bind9 restart isc_stdio_open '/var/log/named_querylog' failed: permission denied [10:35] rwxrwxrwx 1 root bind 0 Nov 27 12:32 /var/log/named_querylog [10:37] BlueEagle: to nproc, yes it shows 64 with --all it shows 248 as expected. [10:37] means generaly they are there. but not online. [10:37] lscpu shows that the CPUs that are missing marked as "offline" [10:37] tacco: Are you booting with nolapic? [10:38] if i try to manual enable i got a cannot allocate memory [10:38] What is cron's behavior if the system was turned off when a job was supposed to run? Does it simply drop it or immediately runs it on next boot? [10:39] not sure. have to take a look. using the cloud image without any change for now [10:39] BlueEagle: I did. However, I did not get consistent results. It was like... it worked in 1 out of 5 attempts (including power cycling). I had better luck with removing "quiet splash" and adding "debug systemd.log_level=info" but even that only worked sometimes. [10:40] I don't remember how I did it but I get the usual stream of kernel and system messages instead of a splash screen now [10:40] I think it involved unstinstalling some package via apt [10:41] pikapika: cron does not keep track of previously run jobs so it cannot run a "missed" job as far as I know. [10:41] So the only way a job would run is if cron is running (which presupposes the system being online of course) as well as it being the right time? Otherwise its simply dropped? [10:42] I was just wondering if things like mlocate updatedb simply not happen for many days if we hit the unlucky shutdown times [10:42] its a desktop not server obviously, so it isn't up 24x7 [10:43] pikapika: from the man page: "Cron examines all stored crontabs and checks each job [10:43] to see if it needs to be run in the current minute." [10:44] pikapika: The obvious workaround is to have a job run at startup that checks when the job in question was last run. That again would require the cron job to leave a time stamp somewhere to be checked. [10:45] I am puzzled with this problem. How come both Ubuntu and Elementary have the same problem with my laptop, and only after installing all the latest updates? I have now installed Debian 10.6 and so far so good, no problem. But I did install using the net install image (meaning no overwrites or updates needed as everything is pulled in from get go). [10:45] is there some general reason that some of my keyboard kees seem no tto work under ubuntu 20.04? i have a run of the mill logitech usb keyboard that works fine under windows and other distros. i have also tested my wifes keyboard on my system with the same "dead" keys. there may be others but the ones ive noticed are ALT, F10, and F12. i do know F5. Shift, CTRL work. [10:46] neorpheus, try a live boot environment on the same laptop [10:46] oh [10:46] hmm [10:46] Try to see at various points [10:46] such as type some shit in bios time before os boots [10:46] to see if its os fault or something deeper [10:47] neorpheus, also believe it or not, sometimes wifi and such signals can interfere even with wired keyboards [10:47] I've had it happen to me [10:48] i mean its def OS fault. as stated ive tested this keyboard and know its good on other hardware. or same hardware with other OS. also tried a second known good keyboard and it shows the same nonresponsive keys in ubuntu 20.04. but works fine on same desktop with different os [10:48] neorpheus: If you open xev does it also show no events reaching the X server for those keys? [10:48] neorpheus, no [10:48] You can't be sure until you have tested it on same laptop [10:48] yes xev is a good test [10:48] After that try bios [10:48] It could in fact be a looseness of usb connection or similar [10:49] I have had some really strange keyboard shenanigans so trust me you have to test on same hardware [10:49] same laptop/pc that is [10:49] BlueEagle: nolapic isn't set in grub.conf [10:49] to be fully sure [10:50] and here is my lscpu http://paste.openstack.org/show/800491/ [10:50] the series of tests is as he stated xev, then bios, then live boot environment [10:52] maybe i didnt explain myself fully. the keyboard as well as all 8 usb ports on the desktop have been ruled out as the cause of the error. i have tested 2 keyboards on 2 differnt computers. both keyboards work fine under other os's on both systems. neither keyboard works full on the problem system that is running ubuntu20.04. i cannot test the keyboards against ubuntu on the other system. i will look into this [10:52] Norkle: So xev does not show any events for the keypresses? [10:53] Norkle: Sorry, wrong target [10:53] lscpu from the HV, there is also ubuntu http://paste.openstack.org/show/800492/ but 18.04 [10:53] neorpheus: so xev does not show any events for the keypresses? [10:53] tacco: echo on > /sys/devices/system/cpu/smt/control [10:53] tacco: That appears to have solved a similar problem. [10:54] tacco: https://www.nixcraft.com/t/i-only-have-8-cores-cpu-but-linux-kernel-only-4-cores-when-i-run-top-htop-and-gui-tools/2822/10 [10:54] echo on > /sys/devices/system/cpu/smt/control [10:54] -bash: echo: write error: No such device [10:54] You can use showkeys instead of xev to pick up keys xev can't see [10:55] tacco: Then I have extended the length of my google-fu for this issue. :/ [10:55] neorpheus: how did you install Ubuntu? What keyboard layout did you select? Maybe you selected the hacker version that says it excludes dead keys? Perhaps by mistake? [10:55] But it has to be done in a vt not xorg/waylabd [10:56] I would reinstall Ubuntu... [10:58] sorry, this is the output from xev: https://pastebin.com/hfGvh9qt [10:59] it seems to see the keypress [11:00] trying to map these keys in games acts like the key was never pressed. same results for example when trying to use F10 to exit cli progs. F10 works fine in BIOS [11:01] neorpheus: Ok, so then it is something else trapping these keypresses before they reach the game. Not sure what that would be, though. [11:02] neorpheus: Sorry but I don't understand any of that. What am I looking at? What keys did you press? [11:02] BlueEagle: im 100% sure this hat nothing to do with SMT because in ubuntu 18.04 i have also smt/control -> notsupported and see all cpus in the VM as expected. [11:02] and in the HV i already can see all cpus. [11:03] left alt. it calls out ALT_L [11:03] thats not the point. I can do a 1:1 diff between ubuntu cloud-image bionic and focal. They have the same machine description and so on. Only the volume differs. one with focal the other with beaver. beaver shows 248 CPUs and focal only 64. [11:04] and have no clue why. because nproc --all or --hardware shows that there would be more CPUs than available/online [11:05] Ah OK, "KeyPress event" and "KeyRelease event". That I do understand. You pressed "Alt_L" (left Alt) and then released it. [11:07] neorpheus: I would say you definitely pressed that left Alt key then. But I don't know how to help you resolve the problem (other than being a voice of reason). [11:08] I don't even know what xev is, but if this is some kind of judge on what key was pressed, then it has given its verdict: the key was pressed. What now?... [11:08] yeah, i got same results for F-10, F12, "Backslash", and "Scroll Lock". no worries. ive found other keys te rebind my game controls until i figure it out. just a pain not having half my F keys [11:08] tacco: what does this report in terms of max CPUS "journalctl -k | grep smpboot" [11:10] neorpheus: have you ensured the keyboard map is set correctly? Might be worth trying "sudo dpkg-reconfigure keyboard-configuration" [11:11] neorpheus: I am not sure of a good way of finding which application traps keys. It would be possible to start a "clean" X-server and start one and one application to see when the key response disappears. [11:11] man that would be a pain but your right it would probably work. [11:13] I did configure a bind9 like is shown here https://www.digitalocean.com/community/tutorials/how-to-configure-bind-as-an-authoritative-only-dns-server-on-ubuntu-14-04 [11:13] and I try to nslookup from local to the bind9 ip address: nslookup, then server xxx.xx.xx.xx and then I query www.configureddomain.com but it answer server can';t find www..... SERVFAIL [11:13] any hints please ? [11:18] anyone a little help please with bind9 ? [11:18] !patience | ace_me1 [11:18] ace_me1: Don't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or https://ubuntuforums.org or https://askubuntu.com/ [11:18] sure ubottu [11:19] Every time I install Ubuntu 20.04 (using 20.04 or the 20.04.1 installer, with or without Nvidia drivers and packages) it works perfectly for my needs. But then I go and install all the latest updates and it causes the laptop to freeze during bootup, leaving me with either a black glowing screen (display working) or with my computer brand name glowing in the center of the screen. What's causing this? Installing Debian 10.6 worked perfectly and still [11:19] does (but I used net installer so there were no updates to install). [11:23] Sorry to bother you guys. If someone is familiar with this problem please ping me. I would like to go back to using Ubuntu. But for now I will be using Debian. Not being able to update the system without risking breaking the boot process doesn't seem like a sane or reliable choice. [11:45] lusrx: when it happens, as an alternative, are you able to intercept the boot process and get to the GRUB menu? if so then it tells us the issue is likely something to do with a) updated kernel b) updates in the initialramfs (initrd.img file) [11:51] TJ-: when it happens it hangs itself, there is not much I can do at that point other than force a power off. The magic sysrq key combo does not work to kill it off gently. I can anticipate when it will happen. It will happen every time I install latest updates to a new Ubuntu 20.04 installation, and on every fifth or so bootup thereafter. Not sure how I would intercept it?... [11:51] where I can find a bind zone file to use it as an example ? [11:53] ace_me1: Typically examples are in /usr/share/doc/ or there abouts [11:54] ace_me1: also googling found this site: https://ubuntu.com/server/docs/service-domain-name-service-dns [11:57] TJ-: I would like to try what I did with Debian. I used a special iso image called firmware-10.6.0-amd64-netinst.iso that includes drivers for my Intel Wifi antenna, and it boots a minimal (I think it's called core) system that then pulls down all the latest packages to my laptop and installs them. So there is no update later on that breaks my installation. Does Ubuntu have something like this? I'm looking at "Netbooting the live server installer" [11:57] instructions and it seems to be a different kind of net install using PXE boot. I don't think this is the same thing?... [11:57] https://discourse.ubuntu.com/t/netbooting-the-live-server-installer/14510 [11:58] BlueEagle: thx... also found a online validator https://bind.jamiewood.io/# [12:04] This is for installing a server? I want to install a desktop Ubuntu. I found this: https://askubuntu.com/questions/1233746/download-ubuntu-minimal-iso-20-04lts [12:04] Will this help me install desktop version of Ubuntu? Is the mini ISO no longer supported? [12:06] Does it include drivers for Intel Wifi antennas? [12:07] lusrx: mini iso can let you install desktop, but it doesnt support uefi just so you know [12:13] lusrx: I don't think that is going to help - better to identify the root cause. As I said above, we need to know if this is at the boot-loader (GRUB) or kernel/OS stage. If it happens "on every fifth or so boot" that suggests it is a kernel/OS issue and therefore we ought to be able to narrow it down quickly [12:14] set weechat.color.chat_delimiters 29 [12:14] oops [12:15] EriC^^: thanks! I enabled CSM and now I can boot it. This looks familiar. It's just like the Debian, but with very simple graphics and no mouse support. But it does support my Intel Wifi antenna so that's good. [12:16] Hi all. My Iiyama 4K monitor won't turn back on automatically after I unlock my laptop. Apparently, according to discussion on StackOverflow, this is related to DP conenctions, however DVI-D doesn't properly support 4K, so I can't switch connectors. Is there something I could tweak? My otehr full HD monitor turns back on normally and so does my laptop screen. [12:16] lusrx: What I'd do is add "break=top" to the kernel command-line to be able to pause booting at the initialramfs stage [12:16] The 4K monitor I have to turn on manually. [12:17] I disable dpms in .xinitrc, which works, but it's not a solution, it's a pretty grim workaround [12:17] lusrx: no problem, alright sounds good [12:18] TJ-: OK. So that's the linux line in GRUB cmd config. When or how do you suggest I add that in? I mean it freezes first after the update and on first reboot, before it allows me to look at the GRUB menu and edit boot parameters. So I need to add that line from within Ubuntu then? To catch it early on? [12:20] locsmif_work: maybe DPMS tooling could help: "xset dpms on" (see 'man xset') [12:20] lusrx: If you can boot to a live cd and then chroot into the installed environment you should be able to update grub I think. [12:20] lusrx: based on what you've just said it sounds like your issue is UEFI boot [12:22] locsmif_work: typo! should be "xset dpms force on" [12:25] TJ-: maybe so... I don't know. What could be the issue though? I mean it works the first time around. Up until I decide to install latest updates. And Debian makes it look like a child's play, and even supports UEFI in its mini bootable image. Not that I would want to switch to Debian... [12:27] I have not tried other derivatives of Debian, other than Ubuntu and Elementary. And Elementary displays the same issue. I can clean install it using its regular image and reboot it many times. Up until I update it... then it starts freezing my laptop on bootup. [12:29] TJ-: http://paste.openstack.org/show/800497/ here we go. sorry for the late response [12:29] i posted poth bionic beaver with all CPUs and focal that only showup with 64 CPUs [12:30] as i told you thats the same machine only changing the underlying image from focal to bionic [12:35] Is there a known linux hardware store reseller which sells external blu-ray burners? [12:35] it came to my mind that this could propably have something to do with CPU-Bug mitigation or something similar? [12:36] coconut: usualy you shouldn't have mouch trouble with them et all [12:36] tacco: that output suggests only physical CPUs are recognised [12:37] tacco: how many physical cores does the host have? [12:37] i have 256 cores in physical [12:37] tacco: cores or threads ? [12:38] 2 sockets with Core(s) per socket 64 and 2 threads each core [12:38] AMD EPYC 7742 64-Core Processor [12:38] without any problems at bionic only focal won't work [12:39] tacco, ok but i rather have this guaranteed one way or another :) [12:40] no problem. Wanna see the lcspu from the host system as well? [12:40] or anything else i can show. [12:41] http://paste.openstack.org/show/800498/ thats the host CPU. and this is running on bionic. [12:42] this is my openstack HV, with qemu/KVM and as VM i tested with bionic, all fine, but focal not. [12:42] i could try to ignore this and only use bionic, but i'm almost sure that this maybe could be a kernel bug. [12:42] because on debian i have exactly the same issue. [12:43] but there i only tested with buster. [12:43] but buster has a never kernel version then bionic. [12:43] maybe the difference can be found between 4.19 and 4.15 [12:44] tacco: can you give us the entire kernel log from the focal guest? "pastebinit <( journalctl -k )" [12:46] sure. :) give me a minute [12:47] oh.. pastebinit is nice. [12:47] https://paste.ubuntu.com/p/pny9253m3g/ [12:47] every day something new. :D [12:54] Hi all [12:55] Hi, I am trying to configure a live media to have a persistent partition only for snaps. Initially I tried creating a mount point for /var/lib/snapd, but many files are added to /etc, which were lost on shutdown. Is it possible to make snaps persist and work? [12:57] tacco: I've looked at the kernel source code, and it looks like topology_update_die_map() isn't called for the remaining CPUs. That is called from validate_apic_and_package_id() called from identify_secondary_cpu() from smp_store_cpu_info() from .... rabbit-hole! [12:58] tacco: good news from kernel-log is, it sees all the APICs [13:02] tacco: looks like ti could be a KVM/NUMA issue [13:21] tacco: seems you're not alone https://forum.mikrotik.com/viewtopic.php?p=826858 [13:34] is there a nice ui for maintaining multiple machines through ssh - which shows update/upgrades are pending etc? [13:40] TJ-: thanks a lot for your help. Numa was my fist tought, but what makes me totaly confused is that with newer version of ubuntu i get only 64 but with a older version i'm able to get all cpus. means, it isn't a general issue with the setup or that i missed something. [13:40] geosmile: I use Tinycp for managing my two servers. [13:42] geosmile: Doesn't use SSH, but you can set it up on SSL I guess. [13:48] TJ-: and this behavior also happend to debian and fedora, maybe a CPU problem, i guess not many people have this CPU that cost around 6.5k [13:48] BlueEagle, will look at tinycp, thank you! [13:49] still think it could be cpu-bug mitigation [13:54] tacco: smp: Brought up 2 nodes, 64 CPUs [13:54] tacco: and compared to other systems, it looks like you have 2 relevant issues. 1) node #1 isn't being brought up [13:57] tacco: 2) the logical cpus (threads) on the real CPUs aren't being reported in that number, but may still be available via other means. I say this after comparing your output with my (admittedly smaller example): "smpboot: Allowing 16 CPUs, 8 hotplug CPUs" ... "smpboot: CPU0: AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx" -> "smp: Brought up 1 node, 8 CPUs" [13:58] Hi, I am trying to configure a live media to have a persistent partition only for snaps. Initially I tried creating a mount point for /var/lib/snapd, but many files are added to /etc, which were lost on shutdown. Is it possible to make snaps persist and work? Currently the snaps are saved but they don't start after rebooting [13:59] tacco: however there are other indications all 248 CPUs are available (I'm comparing your VM guest kernel log to mine on bare hardware) -> "SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=248, Nodes=2" [13:59] tacco: also you have "rcu: RCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=248" [13:59] FurretUber: yuo tried creating it with mkusb? [14:00] 2 nodes because of the numa nodes. that was defined by myself [14:00] in the flavor. [14:01] tacco: right; 2 sockets [14:01] tacco: 2 (sockets) x 64 (cores per socket) x 2 (threads per core) [14:02] i know. I've also tried to define this verry exact in the flavor but didn't helped [14:03] tacco: it feels like in the guest node 1 isn't being brought online [14:03] LiveWire: I created a FAT32 partition with the squashfs with the system and SYSLINUX, and a partition which is mounted with a systemd service [14:03] but only with 20.04 [14:06] FurretUber : I created quite a few persistent live usb sticks using mkusb. Not sure what your trying to accomplish though [14:06] tacco: hmmm, look what I've found on mine: /sys/devices/system/cpu/offline:8-15 [14:07] uhh strange [14:07] tacco: this is v5.10-rc5 with Ryzen 7 3700U (8 cores, 16 threads) [14:09] Hey all [14:09] Ubuntu on my machine takes around 1 minute and 40 seconds to boot [14:10] is there a way to speed this up? [14:10] LiveWire: I want only snaps persisting and the bas OS (/usr, /lib, ...) not persisting. It's for computers with 4 GB storage only [14:11] So I was thinking on keeping the browsers installed as snaps, which would be always updated, while keeping the base system intact [14:11] Also, it's storage slower than 1 MB/s write speed... [14:11] N3bulaK, yeah you can replace your hdd with an pci-e nvme ssd. [14:12] that would boots speeds with booting [14:12] *boost [14:13] N3bulaK: sudo apt install preload haveged stacer and start tweaking your startup items + systemd services [14:20] tacco: what does this show? "grep . /sys/devices/system/cpu/cpu*/topology/thread_siblings_list" [14:20] tacco: this Ryzen 7 3700U actually has 4 cores and 8 threads, so not sure how it is getting reported as 8-core 16 thread [14:25] TJ-: I just looked my 3700 shows that also [14:27] LiveWire: weird! [14:30] TJ-: guess im a dumb ass "AMD RYZEN 7 3700X 8-Core 3.6 GHz" is what i bought [14:38] TJ-: https://pastebin.ubuntu.com/p/gMbkrFMHQJ/ [14:42] N3bulaK: https://www.freedesktop.org/software/systemd/man/systemd-analyze.html#systemd-analyze%20blame [14:44] LiveWire: :) [14:45] Hi, after upgrading ubuntu to 20.10 on a Lenovo D330-10IGM, the Goodix Capacitive TouchScreen stopped working. It is not found by xinput anymore. Dmesg shows https://paste.ubuntu.com/p/H8BpTgTt3Y/ [14:45] tacco: extremely weird! what are the 2 kernel versions (working/not-working) [14:47] 4.15 working (bionic) 4.19 not working (debian buster) 5.4 not working (debian buster backports) 5.4 not working (focal) [14:48] has anyone else encountered problems with goodix touchscreen on ubuntu 20.10? Or any idea? [14:54] SimAV: we dont have much touchscreen bugs for gnome yet, so i would advice, if it was working before, i would file a new bug for that to help yourself and the community [14:55] Is there a way to make files in a certain directory non-executable while in that dir, but executable when outside of it (i.e. while keeping their (+)x flags intact)? [14:57] N3bulaK: pastebin <( systemd-analyze blame ) [14:57] I'd also like to be able to easily add/remove files from that dir. [14:57] lotuspsychje, it is completely independent of the desktop environment. It doesn't work on KDE either nor does it on the login screen. [14:58] SimAV: but you said it was working before your upgrade? [14:58] yes, the touchscreen worked before. [14:59] SimAV: so i would consider that as an (upgrade) bug [15:00] Me too, as it was working on eoan [15:01] SimAV: ubuntu-bug package from a terminal to file a !bug [15:03] lotuspsychje, thanks for the pointer. Is this dist-upgrade or release-upgrade or rather Other problem? [15:05] SimAV: in this stage, we need to investigate more, filing the bug will import more info about your system, so volunteers and devs can start search/debug your issue [15:06] When choosing "Other problem", the question is which package. I'm tempted to suspect the kernel module, as I can provoke the error message a second time in the dmesg using rmmod goodix; modprobe goodix [15:07] SimAV: not sure wich package they use exactly for touchscreen, maybe linux or xorg [15:10] TJ-: will try what happend if i jump from 4.15 to 4.18 in bionic [15:14] lotuspsychje, linux-image-5.8.0-25-generic seems to be the culprit. When booting 5.4.0-26-generic the touchscreen works. [15:16] TJ-: so with bionic. i was able to install 4.18 with all 248 CPUs. now i upgraded to 5.4 to see what happend, and it's only 64 CPUs. [15:21] tacco: so, now to find out what changed! [15:24] TJ-: so 100% sure in bionic 4.18(248 cpus) is the laters 4. version upgraded to the first 5. version 5.0.0-15 (64 cpus) no luck [15:24] and in debian buster with 4.19 i had the same issue. maybe something changed between 4.18 and 4.19 will crawl trough the change logs [15:27] and 4.19 is from late 2018 and in this time i immediately think about spectre and meltdown mitigations. [15:33] TJ-: maybe related https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1734249.html [15:36] https://lkml.org/lkml/2018/8/14/731 [15:50] Is there any software in the repo for burning blu-ray discs? [15:51] tacco: no, the kvm parts (looking at your kernel log) seems OK [15:54] TJ-: ok. puuh.. i'm so done with this week. Wish you all a nice weekend. will keep my hands away from computer until monday. See you then and stay safe! [15:55] i installed this copy of ubuntu ~2 years ago with encrypted disk. i regularly change my os level password. how do i cycle the encryption password for my disk? [15:56] coconut: https://help.ubuntu.com/community/CdDvd/Burning This may help it references a ppas so that Brasero and K3b can burn blueray discs, not sure whether its been superceeded simce it was written though [15:56] *click* [15:56] is blank blu-ray media cost effective? [15:59] tacco: this info might help us: "grep . /sys/devices/system/cpu/cpu2/topology/* " [16:01] tacco: even more helpful to use * and list all cores! "grep . /sys/devices/system/cpu/cpu*/topology/* " [16:04] http://paste.ubuntu.com/p/qXbBvdHxYB/ [16:04] i've tested on bionic, that with 4.18 i have all cpus with 4.19 not anymore. [16:04] So the problem exists since 4.19 [16:05] jwash, i have not looked at that [16:11] tacco: thanks! I'm working my way through the commits between those two versions that affect SMP [16:11] tacco: how about creating a quick ubuntu bug report so I can keep you updated there and we can get the kernel team involved? [16:12] TJ-: hope you have a buy me a coffee link for me. [16:13] tacco: "ubuntu-bug linux" and give me the bug # [16:14] tacco: there appear to be only 6 related commits between those versions [16:15] tacco: My gut feel is its commit bc2d8d262cba5736332cbc866acb11b1c5748aa9 [16:18] tacco: there's something wrong with your topology for the guest, for v4.19+ -- your pastebin shows that it thinks you've got all those CPUs on the same core! [16:20] tacco: -"/sys/devices/system/cpu/cpu63/topology/core_id:0" -- for physical cores that would be core_id:63 (no SMT) or core_id:32 (2 thread SMT) [16:21] tacco: if it is possible, it would be 'interesting' to boot that host with the same OS/release/kernel and capture the kernel log and the sysfs topology as above, then compare with the guest view [16:21] jwash I guess it really depends on what your goal is with blu rays. imho it's a cheap way for getting a ro backup strat for example [16:22] quadrathoch2: that was my idea [16:22] i've got about 35gb of compressed data which will grow to about 50gb in the next year [16:22] by 2022 [16:23] jwash look imho into m-disc, it's the data storage variant of bd, I get 100gb discs for 13c/gb [16:26] TJ-: would it help to have the virsh dumpxml of the VM? [16:28] tacco: indeed [16:32] TJ-: here we go. https://pastebin.ubuntu.com/p/pFp7zGjJPf/ [16:35] tacco: this doesn't look correct to me "" [16:37] hm.. will try to fix this. for 248 CPUs this would be 62 cores and 2 threads right? [16:38] tacco: I'd think so, yes, with 2 sockets [16:40] tacco: from what I can see, "openstack image set $IMAGE_ID --property hw_cpu_sockets=2 --property hw_cpu_cores=62 --property hw_cpu_threads=2" [16:42] when I query my new DNS server I try to configure I get [16:42] server can't find www.domain.com: SERVFAIL [16:42] where that domain.com is a type master zone [16:43] TJ-: recreated the flavor and used hw:cpu.. but yes. it ends at the same. Thanks for the help [16:46] tacco: OK, so that seems to indicate the KVM topology isn't being passed through. what kernel version is on the host (where the kvm module lives) [16:50] TJ-: https://pastebin.ubuntu.com/p/sPWHVMn5FX/ [16:54] tacco: looks OK - and you say the guest kernel log for v4.18 on that looks the same as the earlier kernel log? [16:54] TJ-: http://paste.ubuntu.com/p/5txHGPHpBT/ [16:55] with 4.18 i had no issues because all 248 CPUs came up. [16:55] tacco: yeah. that topology output indicates the kernel thinks there are 32 cores with 2 threads each! [16:56] tacco: which is an improvement! [16:56] :) [16:56] tacco: "64" seems to be a limit of some kind here. That was the 1st thing I looked for earlier in kernel CONFIG_* in case we had an arbitrary limit, but didn't find anything [16:57] yea the flavor has now --property hw:cpu_sockets='2' --property hw:cpu_threads='2' --property hw:cpu_cores=62 [16:57] my scope was CONFIG_NR_CPUS* [16:57] in debian this is set to 64 [16:58] but at ubuntu MAXSMP is enabled and raise this values up to 8192 [16:58] but tis also don't help [16:58] tacco: yes, and then it's dynamically altered at runtime to match. The weird thing here is the per-cpu regions are done correctly [16:59] indeed [16:59] ace_me: SERVFAIL is quivalent to a HTTP servers' 5xx, an unexpected situation occurred on the server, review its logs. [17:16] Budgie related but the channel is dead, is there a way to diable Alt+Q to pop open the Quake terminal? [17:26] hi. I reported a kernel bug on ubuntu18 yesterday. now I booted from a ubuntu 20 live CD and managed to reproduce it there, too. I'd like to report it, but "ubuntu-bug" just hangs indefinitely. is there a way to skip "ubuntu-bug" and report a bug manually? [17:28] TJ-: You may only assign yourself because you are not affiliated with this project and do not have any team memberships. [17:28] TJ-: https://bugs.launchpad.net/launchpad/+bug/1905993 maybe have a look by yourself. [17:28] Launchpad bug 1905993 in Launchpad itself "Actual kernel don't want to make more than 64 cpus available" [Undecided,New] [17:29] tacco: thanks [17:29] hope this is the right place. If not. let me know. I'm off for now but you can leave a private message any time, will read it later. [17:29] TJ-: no Thank you! [17:30] tacco: I've moved it to the correct project and package: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1905993 [17:30] Launchpad bug 1905993 in linux (Ubuntu) "Actual kernel don't want to make more than 64 cpus available" [Undecided,New] [17:31] tacco: just so I'm clear; the host kernel remains at 4.18 but this occurs when you upgrade the guest kernel? [17:32] yes [17:33] or when i use another distro like focal [17:33] i don't change anything on the hypervisor. only the VM with always the same flavor settings [17:33] and with plain bionic it works.. with kernel above 4.18 not. [17:34] and a debian guy told me yesterday that he could find the same issue, but this seems not to affect intel cpus. [17:34] maybe something special with theese AMD cpus have no clue anymore but maybe the best idea to escalate this to a kernel dev. [17:42] i can see the motd by cat'ing /run/motd.dynamic. What creates that file? [17:48] nvm. ubuntu-bug works if I run it before the kernel-oops was triggered. but after the OOPS happened, ubuntu-bug will freeze collecting information. so its actually quite simple, just have to report the bug before it occurs and upload the dmesg/trace later [18:12] Having lockup issues upon waking. X1 Carbon 6th gen, integrated graphics. Happens on 20.04 stock ISO install. The activity menu still works and I can launch apps but cant control them. No keyboard/mouse inputs work below the activity menu. [18:13] I cannot alt-f2 r gnome after this lockup happens. If I reboot, all comes back as normal. [18:13] This lock up can happen mins after a wake from sleep. [18:15] I format, reinstall 20.10 ISO. Has not happened yet. About 24 hrs, multiple wake from sleeps. I stick to lts on this machine. [18:34] After installing Ubuntu after win 10 Grub does not appear boot loader does. Fast start in win 10 is disabled what else can i do? [18:35] Blade-Runner: boot up your install image and come back to the channel [18:36] ok [18:36] one possibility is that you installed GRUB somewhere other than the first boot device [18:36] so the hardware has no reason to boot it [18:36] nope i didnt choose where to install grub [18:36] one possibility is that GRUB was installed somewhere other than the first boot device [19:30] i can see the motd by cat'ing /run/motd.dynamic. What creates that file? === zutat is now known as zutat[m] === zutat[m] is now known as zutat [19:34] nedbat: http://manpages.ubuntu.com/manpages/xenial/man5/update-motd.5.html [19:34] https://wiki.debian.org/motd [19:34] BlueEagle: thanks. that says "at login", does that include when I run a command via ssh? [19:36] nedbat: I am not sure that I understand your question. [19:37] BlueEagle: when I use "ssh my-machine cat /run/motd.dynamic" i see that it changes each time. So I guess my ssh causes the file to be recreated? [19:37] nedbat: Well, I think I understand the question, but I do not undestand what you are trying to achieve. [19:38] nedbat: The opening of a shell causes the scripts in /etc/update-motd.d to be executed and they update the motd file. [19:38] BlueEagle: it's partly just curiosity. I used the ssh command to get a quick look at the state of the machine, and it seemed "live", so i was wondering how it's done [19:38] nedbat: So yes, runnign the command over a ssh link causes the motd to be updated, but it is not ssh that does it. [19:38] right, i knew it wasn't ssh directly. [20:06] how do i access irc when using live image? [20:07] Blade-Runner: just run a client, like hexchat or irssi [20:07] Blade-Runner: you can even install one on the live OS if one isn't present, but one probably is [20:07] how do i find it? [20:08] open terminal and type irssi [20:08] ok [20:08] Blade-Runner: If it is not installed: sudo apt install irssi [20:08] he's gone [20:08] Blade-Runner: you can just run the 'dash', I forget the shortcut [20:08] tab or super or windows key or something [20:09] maybe irrsi worked ;) [20:09] =D [20:10] is there any way to update the kenrel of a live CD / live USB stick? [20:10] kernel [20:10] probably, but not likely a way worth pursuing [20:11] why would you want to? [20:12] background: I'm normally running ubuntu18 LTS - i run into a kernel bug which i reported, i wanted to see if it also affects ubuntu 20, so i downloaded the live CD / USB stick, booted it, and - indeed - it is also affected... but the kernel of the live CD is not the latest version you'd have on a native install thats fully updated [20:12] i don't wanna install it, i just want to see if the latest kernel also crashes [20:13] CorvusCorax: aha, well [20:13] CorvusCorax: it's very likely you can use most any version kernel with your regular install, for testing [20:13] CorvusCorax: Is that the green "baddie" from that british cartoon that we saw to learn English back in school? [20:13] Sorry, wrong channel. [20:14] CorvusCorax: https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel [20:14] CorvusCorax I would suggest to just install ubuntu onto the usb stick, and then go from there [20:14] CorvusCorax: And it was "corvax" anyway, so there's that. [20:15] hmm, yeah that's an idea. just use a free partition on the stick as install device... it's gonna take forever ;) but who cares [20:15] CorvusCorax why would it take forever? usb2? [20:15] corvuscorax is just the latin term for "Raven" - although there's also a band by that name [20:16] yeah, USB2 [20:16] oh okay :/ [20:16] won't take that long [20:53] can i get rid of the "printer x has been added" messages in ubuntu 20.04 on every boot? printer does not need to be added every time i start my computer, does it? [20:53] it's a network printer so ubuntu sees it when it's on the same network. [20:58] lusrx look into avahi === quadrathoch28 is now known as quadrathoch2 === xclaesse7 is now known as xclaesse === SpudDogg1 is now known as SpudDogg [21:32] is it possible to save ssh detail connection on command line [21:32] password and the key [21:32] on every server i've login [21:32] ? [21:33] Hello I am trying to install go lang and it's giving problems. I did apt install golang-go, but then I run go run something and it gives errors [21:33] src/golang.org/x/net/html/render.go:8:2: cannot find package "bufio" in any of: [21:34] Oh and it's the old version [21:35] https://landscape.canonical.com/try-landscape - any alternatives? [21:37] Ok nevermind. I will not do it ubuntu repository way [21:37] geosmileus: webUI for server management? [21:37] Ok, I got 1.15 from upstream and installed it and now it works fine. [21:38] geosmileus: for the same reason you don't normally want GUI apps on a server, you don't really want webUIs with root access, IMO [21:40] I am trying to switch root device (/) to use a new disk that has an identical filesystem, i've changed /etc/fstab to do so, reinstalled to grub bootloader and update initramfs, system still boots into old system, am i missing something? [21:42] Hello. My grub crashes after like 10s in menu, and doesn't react to primary keyboard [21:42] matsaman, what is a good software so that I can remotely update/upgrade monitor things? [21:43] Ubuntu 20.04, it's been acting up in all sorts of ways after upgrading(first from 16.04 to 18.04 and now this) === Euph0ria is now known as In2ition [22:07] geosmileus: ssh [22:11] geosmileus: I use tinycp for that. [22:12] matsaman: a web ui on ssl can have the same security as a secure shell session tbh. [22:20] BlueEagle: nope [22:21] not unless it's only viewable locally [22:31] matsaman: So how is SSH more secure than SSL? [22:32] BlueEagle: you're talking about logging into a website (webUI) that's protected by "SSL", right? [22:33] matsaman: I am. [22:35] matsaman: SSL (or rather TLS as that is what all the cool kids use) both do public key encryption before any sensitive data is transmitted, and their key strengths are similar. [22:35] BlueEagle: okay so we're comparing openssh, a 20-year-old industry standard, to whatever random authentication library landscape is using _and_ whatever other _masses_ of code it uses that might have any flaw in it [22:36] matsaman: No, I am saying that a web ui can have the same security as a secure shell session. [22:37] matsaman: I have not made any look into the source code of Landscape to verify the integrity of that system. [22:37] theoretically it can, sure [22:37] you can even have a web system that uses only openssh in the backend to authenticate [22:37] but I've never seen any webUI in the wild do that [22:37] they always use some other auth lib instead [22:38] I'm not saying HTTPS and ssh aren't both encrypted, if that's what you mean [22:43] matsaman: You are replying to my comment that "a web ui on ssl can have the same security as a secure shell session tbh" which implies that ssl/tls is inherintly less secure than ssh. While there are webUIs that have attack vectors that are not available on secure shell, that is besides the point I was trying to make. [22:44] matsaman: My experience is that there are way more brute force attempts made at my secure shell server than man webui though. [22:44] I appreciate that you have clarified that is your point, but my own point was never that HTTPS and ssh are not both encrypted [22:44] merely that openssh is a much better choice than anything else [22:44] including whatever library landscape uses for authentication [22:45] matsaman: Then you should have read my comment more clearly to be honest. [22:45] should've worded it better =) [22:46] a web ui on ssl can have the same security as a secure shell session only in theory [22:46] and not because it's ssl, but because theoretically the authentication lib you're using over any protocol _can_ theoretically be as good as openssh's [22:50] matsaman: Wasn't it 2018 when SSH2_MSG_USERAUTH_SUCCESS was still accepted without a request, though? [22:51] matsaman: And when was the last time you rotated your keys anyway? [22:52] evening [22:52] Good evening, gordon. [22:52] I'm trying to boot 20.04 off a USB stick on an oldish PC that doesn't deal with UEFI [22:52] it doesn't even give me a GRUB prompt, just a flashing unhappy cursor [22:52] Alpine boots just fine [22:53] gordonjcp: Which image are you attempting to boot? [22:54] BlueEagle: x86_64 [22:54] or, amd64 as it's labelled [22:54] tried "stock" 20.10 and Ubuntu Mate 20.04, which is what I have lying about [22:54] net install? live disc? [22:55] live USB [22:56] BlueEagle: I don't use keys, so I'll never have that problem [22:58] matsaman: then your ssh is insecure [23:01] gordonjcp: Not neccessarily. A 12 character password with sufficient complexity equals a 1024-bit key, which is a common key length. [23:02] gordonjcp: nope [23:02] keys serve a couple of purposes [23:03] BlueEagle: huh, disabling Fast Boot fixed it [23:03] BlueEagle: [23:03] most people use them solely as a convenience, thereby making their entire process for logging in actually less secure [23:03] BlueEagle: a 12-character password with sufficient complexity to have 1024 bits of entropy equivalent is 100% insecure [23:03] but they can also help with not giving your typed-in password to someone pretending to be your regular remote address [23:04] BlueEagle: because you're never going to remember that jumble of mixed-case and symbols, so you'll either need to use a password manager (Whoops! There goes the security) or write it down (oopsiedaisy, cardinal sin right there) [23:04] you can somewhat mitigate that with CorrectHorseBatteryStaple passwords [23:05] basically, though, single factor authentication is like a Yale lock [23:05] it'll keep out someone who doesn't actually want in [23:05] like if someone is deliberately trying not to break into your PC, that'll be adequate [23:06] if you actually want to keep people out, MFA or GTFO [23:06] you're saying it's less secure than keys because you won't remember it? [23:07] that being said, I work in a public safety environment where barely air-gapped machines run Windows XP and have three letter passwords, so [23:07] matsaman: you have to trust something else to remember it for you [23:07] I mean I appreciate the xkcd argument, that normal people might put a sticky note with their password in plain text [23:07] but I don't do that =P [23:07] gordonjcp: nope [23:07] you could just remember it [23:07] whether you use something that makes it easier (xkcd), or not [23:07] matsaman: a separate password, for every host, from every host? [23:08] matsaman: I think you're missing the point of keys [23:08] keys don't "keep out someone who doesn't actually want in" either [23:08] no determined attacker will ever be stopped [23:08] matsaman: yes, they do [23:08] that's why the government puts their computers in highly defended compounds [23:08] matsaman: here's a host - minecraft.gjcp.net [23:08] matsaman: here's a username - admgordon [23:09] do you imagine the location of this server is a secret? [23:09] matsaman: here's a password - quetup]Orv5 [23:09] matsaman: go to it and good luck [23:09] gordonjcp: A good enough password combined with brute force mitigation should prove insurmountable. As for having a password writen down, if the attack vector you're working against is not internal, then writing down a password is completely legitimate. If someone wants my data and are willing to break in to my house to get it, then they can probably just take the server with them. [23:09] matsaman: you'll find a VM running a desktop, which I'm currently driving through Guacamole [23:10] matsaman: have your CV on my ~/Desktop and you've got a job as a pentester [23:10] gordonjcp: cool good to know [23:10] matsaman: that is the genuine username and password for it [23:10] fire in [23:10] seriously [23:10] literally anyone who wants a crack it it [23:10] *at it [23:12] I just got done saying openssh is great, so why would I bother [23:13] gordonjcp: Your minecraft server is so secure I can't even play Minecraft on it. [23:13] BlueEagle: really? [23:14] gordonjcp: Connection was forcibly closed by remote host. [23:14] BlueEagle: hm, maybe the service has stopped [23:14] BlueEagle: although I would say taking a server is likely to be less effective than some kind of evil-maid-style attack [23:14] since disk encryption can be pretty tedious to deal with [23:14] seing a lot of valiant efforts from someone on hinet.net [23:14] *seeing [23:14] matsaman: anyway the point is, that username and password is useless without ssh keys [23:15] matsaman: It is at this point you should try to log in to the server and bank that gordonjcp is logging in at the same time and wrongfully authorizes MFA on your login. [23:15] matsaman: since your machine can't prove it has the right to be doing anything [23:15] gordonjcp: and I could give you a key that's useless without my password [23:15] because everything I use is useless without my password [23:15] since nobody knows my password and can't prove they're me [23:15] matsaman: right but a key and password is lazy 2FA [23:15] 'cause it's a password =) [23:16] lazy 2fa is more annoying than it is helpful [23:16] and honestly, 2fa has the same problem we've already talked about [23:16] if you can break into a person's house, you can damn sure steal their phone or watch them authenticate [23:16] matsaman: A key is used in lieu of a password, so a 1024 bit key is the same as a password like: My milksh akc br1n gs all th3 bois to t#e jard [23:16] BlueEagle: should be on minecraft.gjcp.net:25565 [23:17] or borrow their phone and duplicate it entirely, etc., etc. [23:17] BlueEagle: should be running 1.16.4 [23:17] gordonjcp: Who plays 1.16.4 o.+ [23:17] BlueEagle: weird and slighly worrying if you can't get in but maybe $teenager has set it whitelisted again [23:17] BlueEagle: what do you recommend? [23:17] if you allow enough unthrottled attempts to crack even a short password, you're already doing it wrong [23:18] BlueEagle: 35565 has usually got the current snapshot [23:18] Shit. I fucked up. I have 18.04 on my laptop and I started do-release-upgrade last night before going to sleep, but I forgot to plug my laptop in and there was no big fat warning telling me that I wasn't plugged in. [23:18] gordonjcp: Minecraft peaked at 1.12.2 [23:18] BlueEagle: valid [23:18] gordonjcp: any good mods on at least? [23:18] BlueEagle: bone stock, always interested to hear about decent mods [23:19] I'm not sure whether do-release-upgrade had started installing new packages yet. [23:19] BlueEagle: I set it up as a kind of experiment and now use it instead of Skype to chat to some friends [23:19] gordonjcp: Not sure there are any. I run 1.12.2 with ic2. Got to get buildcraft in too though. [23:19] BlueEagle: nod [23:19] gordonjcp: We should prolly move this to offtopic, though. [23:20] BlueEagle: sure [23:21] And if I run do-release-upgrade, it tells me I have to finish installing updates first. [23:21] If I run `lsb_release -a`, it tells me that I'm still on bionic. [23:25] k_sze: chances are your apt sources point to the target release already, but packages haven't been installed, yet. there should be a log at /var/log/ though [23:26] Do I just run `apt full-upgrade`? [23:27] *if* my theory is correct (which you should confirm by inspecting the logs), you could just undo the change to the apt sources, pointing them to bionic again, as they used to. [23:27] was impressed with minetest [23:32] And people wonder why Linux does not gain desktop market share. Even one of the most user-friendly distros does not implement something as fundamental as warning the user about plugging in before starting a long upgrade.