/srv/irclogs.ubuntu.com/2021/05/18/#ubuntu.txt

PoolShark_72well poop... can't boot at all now on any kernel00:00
PoolShark_7221.04 install iso can't boot either00:01
PoolShark_72Maybe a BIOS update...00:06
PoolShark_72BIOS update seems to have improved things00:10
PoolShark_72OKay now I'm getting somewhere... 5.12.4 is running but need to upgrade all the things.. doing that now, but feeling hopeful00:20
* rud0lf holds his thumbs00:21
PoolShark_72Ubuntu has come a long way.. I remember when do-release-upgrade was all but guaranteed to brick your machine00:23
ravageI usually only use LTS releases00:39
ravageBut I'm not using all the latest hardware00:39
PoolShark_72Yeah this stuff is kinda bleeding edge I think00:41
InteloHow to install caps2esc on ubuntu?00:56
sarnoldIntelo: hopefully whoever wrote it put an INSTALL file next to it00:57
Intelosarnold: i wanted to/ expected some package. Just checking it there isnt00:59
sarnoldIntelo: 'locate caps2esc' doesn't show anything on my unpacked ubuntu mirror01:00
Entelinname resolution is broken on my system, resolv.conf is nameserver 127.0.0.53, and it is listening on 53 as seen by the output of netstat -nl, however dig returns SERVFAIL.  I can dig @4.2.2.2 just fine, so there is no fundamental networking issue. Any idea?01:00
sarnoldEntelin: is there anything in journalctl -u systemd-resolved output that looks related?01:04
Entelinsarnold: nothing in two weeks01:06
tatertotsEntelin: static IP or dynamic/auto IP?01:11
tatertotsEntelin: static right?01:12
Entelinstatic01:14
Entelinec2 server with two ips I think it may have broken when I added the second01:15
sarnoldEntelin: heh, strange01:19
tatertotsEntelin: it'll work just fine after you undo the layers (of the onion) that you added before it "broke"01:32
Entelinyeah I think i'm done with ubuntu honestly. I've used it for at least 10 years as my primary server os, but between this proprietary snap nonsense and them changing how the network gets configured every couple years I think it's time to move on.01:33
Entelingoing to move my ec2 instance to alpine or arch perhaps01:33
tatertotsEntelin: ...well..good luck in your endeavors01:34
Entelinthere shouldn't be an onion to peel01:34
Entelino/01:34
sarnoldhmm, I only remember the one change, /etc/network/interfaces -> netplan to generate configs for systemd-network.. what else did I miss?01:38
tatertotsi must have missed it also, nothing that actually gets in the way or prevents production/productivity01:41
=== Roey is now known as lock-in-a-sock
=== gabkdlly_ is now known as gabkdlly
=== lock-in-a-sock is now known as Roey
InteloWhy wouldn't it work? I can still press use caps lock https://imgur.com/HeM24zY.png02:36
Intelosolved, nevermind02:52
=== Roey is now known as rock-in-a-frock
=== rock-in-a-frock is now known as Roey
Intelosomething messed up with caps2esc and now caps is always onn. any quick tips?04:25
Intelosudo /usr/bin/nice -n -20 /usr/bin/udevmon -c /etc/interception/udevmon.d/deafmute-ppa-caps2esc.yaml04:25
Intelothis doesnt help either04:25
sandman13Okay I disabled systemd-resolved service altogether, restarted dnsmasq, ran ifdown eth0 && ifup eth004:58
sandman13dhclient's lease show DNS servers but nothing is reflected in resolv.conf04:59
sandman13BTW using 20.04 Ubuntu Server04:59
sandman13I found this and editing dhclient's hook file fixed the issue: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/174546305:16
ubottuLaunchpad bug 1745463 in systemd (Ubuntu) "Disabling systemd-resolved breaks dhclient resolvconf integration" [Undecided,Confirmed]05:16
dingus-al-a-ringHello :-)  I am new to Linux and Ubuntu. I installed Ubuntu for the first time ever last week. I really love the look and feel of Ubuntu coming from windows 10.05:36
dingus-al-a-ring I have a problem when I try to move any open window they look like they are glitching or something. I also have a similar problem with youtube, scrolling webpages or playing some games. I am not sure what this problem is but after looking on google I think it might be something called screen tearing ?05:39
dingus-al-a-ringThere is plenty of fixes listed for Ubuntu but I am new and learning so I do not want to try anything that I do not understand. I hope someone here may be able to help me understand and fix this problem :-)05:41
=== denningsrogue682 is now known as denningsrogue68
heller_hey guys08:16
heller_how do you set supervisor to create logs under running users?08:16
heller_supervisord runs at root, but all child processes also create logs for root, even if child process is non-root08:16
heller_causes log issues08:16
Walexheller_: most process supervisors are designed to work like that, because they are meant to be run and used by system administrators.08:26
Walexheller_: you can run multiple instances of 'supervisord' as different users if you wish though.08:27
heller_Issue here being, that because the logs are owned by root, the child process cant write to them08:38
XATRIXHi , can you advice ? I'm trying to install ppa kernel 5.12, with it's dependencies. But got the following error.08:38
XATRIX linux-headers-5.12.0-051200-generic : Depends: libc6 (>= 2.33) but 2.27-3ubuntu1.4 is to be installed08:38
XATRIXIs it possible to find out how to install libc6-2.33 on 18.04.5 LTS08:39
heller_Walex: any ideas?08:49
Walexheller_: as I was saying you can run 'supervisord' as another user.08:55
Walexheller_: regardless the logs that *supervisord' are creating are meant to be the 'stdout' and 'stderr' logs, so certainly the process can write to them even if 'supervisord' creates them as 'root'.08:56
Walexheller_: this is described quite explicitly here: http://supervisord.org/logging.html#child-process-logs08:57
WalexXATRIX: not a good idea.09:06
XATRIXWalex: damn, so i can't install recent kernel on a 18.04 ?09:08
WalexXATRIX: of course you can, e.g. you can build a kernel package yourself for example.09:14
XATRIXI'd like to use ppa kernel built09:14
XATRIXhttps://kernel.ubuntu.com/~kernel-ppa/mainline/v5.12/09:14
WalexXATRIX: then find a PPA that builds recent kernels for 18.04 :-)09:14
XATRIXI downloaded a kernel from the link i provided. is it supported by ?09:15
WalexXATRIX: "supported" is a difficult word, especially for a PPA, especially for a PPA with "Test" in its name :-)09:16
WalexXATRIX: there is a convenient 'ubuntu-support-status' tool for checking.09:17
WalexXATRIX: perhaps the 'edge' kernels from the 18.04 "official" repositories has already advanced to 5.1209:18
XATRIXYou have 2032 packages (65.4%) supported until April 2023 (Canonical - 5y)09:19
XATRIXYou have 187 packages (6.0%) that can not/no-longer be downloaded09:19
XATRIXYou have 886 packages (28.5%) that are unsupported09:19
WalexXATRIX: look at the options and check for yourself :-)09:20
XATRIXcopy. thanks09:20
WalexXATRIX: but PPAs are unlikely to be "supported", as a ruly "main" and "restricted" get some support.09:22
WalexXATRIX: https://ubuntu.com/about/release-cycle "Maintenance and security status" section09:23
lnielsenOpenvpn adds routes when it starts. Can I prevent or alter that?09:23
WalexXATRIX: 'apt-cache policy linux-image-generic-hwe-18.04-edge' might also be useful in general09:28
XATRIXWalex: it's a bit dated kernel09:29
XATRIX:)09:29
WalexXATRIX: note that Debian and Ubuntu often backport significant new features to "official" kernels, and as a rule backport security fixes.09:30
XATRIXyea, got it09:30
WalexXATRIX: LTS releases are meant to be "stable".09:30
WalexXATRIX: so it depends a lot on why you need a newer kernel.09:31
WalexXATRIX: but if you *really* need a latest, unsupported kernel, downloading the source package from the PPA and rebuilding it should not give problems.09:32
XATRIXOk, i'll try to09:32
XATRIXthanks09:32
lnielsendisregard my earlier question, found options09:34
WalexXATRIX: for example I am trying out 'bcachefs' so I am occasionally using a patched mainline kernel, and rebuilding it with something like " nice make -j 8 KERNELRELEASE=5.11.0-20210509 bindeb-pkg"09:34
XATRIXyou mean, i have to compile kernel myself ?09:35
ograXATRIX, the mainline kernels are explicitly not supported and lack a lot of ubuntu patches and settings ... they are for verifing kernel bugfixes only and should not be used on production devices09:35
XATRIXogra: i'm trying to run it on my own laptop09:36
ogranewer supported kernels are in the linux-hwe stack ...09:36
WalexXATRIX: if you want the very latest... otherwise rebuild the PPA source package.09:36
ograwell, unless you want to verify a bug, dont do that ...09:36
ograjust re-building the PPA package wont give you the ubuntu patchset either ...09:37
lotuspsychjeyeah please dont advice compile and rebuilding kernels to users Walex, not really the ubuntu way right09:38
WalexXATRIX: depending on why you want a newer kernel, it might help to have a look at the "linux-modules-extra" packages09:38
XATRIXWalex: just like to be running a latest one. nothing special09:38
ograwell, the latest supported one is 5.8 ...09:39
WalexXATRIX: on 18.04? :-)09:39
XATRIXWalex: yes, i'm planning to upgrade to 20., but it's not about in a few days :)09:40
ogra(though not sure if 5.8 made it into the xenial hwe stack already)09:40
Walexfor low values of "supported" there is the "-oem" line of kernel packages, that on 20.04 reaches 5.1009:41
Bullrichwith this kernel 5.4.0-73-generic #82-Ubuntu the BlueDevil-Assistent never identifies my headphones09:41
ogra*especially* if you want to ugrade soon, do not switch to an unsupported deb ...09:41
ograthat will cause headdaches during the upgrade09:41
XATRIX:(09:41
XATRIXyea, i can rollback to a supported one, during upgrade. but i'd like to use the recent one after09:42
ograwell, it is your system after all ... and you can do what you want ... but note that these kernels do not get updated, do not get any security fixes at all and do lack a lot of patches and defaults .... and will likely cause problems for release-to-release upgrades09:43
Walexand it is most likely pointless too...09:43
ograsome userspace things will not work with them as well09:43
ograsince the patches are expected09:43
XATRIXogra: i usually leave one official kernel to boot in case of. and one recent to use all the modern features09:50
ograwhat "modern features" ?09:50
ograyou will be lacking features ...09:50
ograarticulary security ones that come from ubuntu patches and integrate with userspace bits09:51
ogra*particulary09:51
ograif there is some HW not working it probably makes sense to run such a kernel temporary and report the missing bit in launchpad so it can be added to the next supported kernel, thats about the only reason why you should run such a kernel09:52
CryptoSiDhi guys, whats the network and channel for ubuntu 21.10?09:52
ogra(or if a kernel team member asks you in a bug to use it to verify the bugs is gone with a mainline build)09:52
jeremy31CryptoSiD: #ubuntu+109:56
nomad_frHi, after upgrade to 21.04 I lost resume from swap09:58
nomad_frHi, after upgrade to 21.04 I lost resume from swapduring boot I have : gave up waiting for suspend/resume device09:59
nomad_frIf I disable encypt swap and use normal swap it works09:59
Walexnomad_fr: do you encrypt the swap with a randomly generated key? :-)10:05
nomad_frWalex: like this cryptsetup luksFormat --cipher aes-xts-plain64 --verify-passphrase --key-size 256 /dev/nvme0n1p210:08
nomad_frWalex: so not a generated one, I set up it in the prompt10:14
Walexnomad_fr: have you checkd the steps in https://rephlex.de/blog/2019/12/27/how-to-hibernate-and-resume-from-swap-file-in-ubuntu-20-04-using-full-disk-encryption/ it might help.But your error message "gave up waiting for suspend/resume device" seems to come from 'systemd' and perhaps indicates that you have not configured 'systemd' to decrypt the swap. But I don't have 21.04 so cannot check.10:21
heller_Walex: but i want to run supervisor as root, but have the logs for child processes10:29
heller_since at the moment, they are not able to write to the logs10:29
Walexheller_: hos is "the logs that *supervisord' are creating are meant to be the 'stdout' and 'stderr' logs" not clear?10:37
Walexheller_: how is "the logs that *supervisord' are creating are meant to be the 'stdout' and 'stderr' logs" not clear?10:38
=== westor{off} is now known as westor
=== denningsrogue683 is now known as denningsrogue68
TheBigKWalex: i believe it would be configurable ? but i believe i used stdout. why u ask?11:11
TheBigKWalex: a quick look at the man page reveals what u want to know: The server piece of supervisor is named supervisord.  It is responsible for starting child programs at its own invocation, responding to commands from clients, restarting crashed  or  exited11:14
TheBigK          subprocesseses, logging its subprocess stdout and stderr output, and generating and handling "events" corresponding to points in subprocess lifetimes.11:14
ChunkyzTheBigK: paste.ubuntu.com /topic11:14
TheBigKthats 2 lines. thats fine i think?11:15
sandman13c/lose11:19
sandman13hahahah11:19
=== ghoti_ is now known as ghoti
=== westor{off} is now known as westor
WalexTheBigK: I was referring to my advice to "heller_":11:23
Walex[08:57]        Walex | heller_: this is described quite explicitly here: http://supervisord.org/logging.html#child-process-logs11:23
horribleprogramhey losers11:39
horribleprogram steamcmd:i386 : Depends: libc6:i386 (>= 2.12) but it is not going to be installed11:39
horribleprogram                 Depends: libstdc++6:i386 but it is not going to be installed11:39
horribleprogramIdk how to fix this, I have 'multiverse' distribution component is already enabled for all sources.11:39
=== LabMonkey is now known as Mechanismus
horribleprogramI didn't mean the losers comment, just tired of Ubuntu11:40
horribleprogrambeing all ... stupid11:40
Walexhorribleprogram: works for me :-)11:40
horribleprogramWalex: I'm the biggest loser here11:40
=== Walex is now known as loser_walex
loser_walexhorribleprogram: works for me :-) Pls let us know the version of Ubuntu.11:41
loser_walexhorribleprogram: have you enabled "multiarch"?11:42
horribleprogramuname?11:42
horribleprogramuname -o?11:43
loser_walexhorribleprogram: as in, do you have any other "i386" packages installed?11:43
horribleprogramhow I get the thingy11:43
horribleprogram5.4.0-73-generic11:43
horribleprogrambut that's the kernel11:43
loser_walexhorribleprogram: do, "multiarch" is a feature for DPKG+APT11:43
loser_walexhorribleprogram: 64b amd64 systems can also run 32b packages in "compatibility" mode11:43
horribleprogramsudo dpkg --add-architecture i386 ?11:44
horribleprogramsudo add-apt-repository multiverse11:44
loser_walexhorribleprogram: look good the "dpkg --add-architecture i386"11:44
Chunkyzloser_walex: "horribleprogram> Idk how to fix this, I have 'multiverse' distribution component is already enabled for all sources."11:44
loser_walexhorribleprogram: you will have found this I guess: https://help.ubuntu.com/community/MultiArch11:44
loser_walexhorribleprogram: note this is a guess.11:45
horribleprogramof course11:45
horribleprogrambut I'll read it again11:45
loser_walexhorribleprogram: if you cannot install the i386 'libc' package it must be either because you don't have multiarch enabled, or because you already have it installed but it is the wrong version and you cannot install the right version on top/along11:46
horribleprogramthere is no multiarch file11:46
horribleprogramin /etc/dpkg/dpkg.cfg.d/11:46
loser_walexhorribleprogram: so also check: dpkg -l libc611:46
horribleprogramii  libc6:amd64    2.31-0ubuntu9.3 amd64        GNU C Library: Shared libraries11:46
horribleprogramdo I create a multiarch file11:47
loser_walexhorribleprogram: so enable multiarch and then 'apt install libc6:i386' to dobulke check11:47
BluesKajHi folks11:47
loser_walexhorribleprogram: you got it right above.11:47
horribleprogramsudo dpkg --add-architecture i38611:47
horribleprogramdoesn't add the multiverse thing11:47
horribleprogrammultiarch file11:47
loser_walexhorribleprogram: don#t worry about that.11:47
a__pii'm trying to automate a ubuntu 20.04 install, but can't found in the documentation any option to allow halting not rebooting at the end. Is currently possible? I know that with halt on late_commands works, but at least the logs and not saved in the final system. I found this question https://discourse.ubuntu.com/t/how-to-poweroff-autoinstall-instead-of-reboot/17449 but no answer11:47
loser_walexhorribleprogram: you also have to run 'apt update' "of course".11:47
horribleprogramof course11:48
horribleprogramstill doesn't work11:48
horribleprogram steamcmd:i386 : Depends: libc6:i386 (>= 2.12) but it is not going to be installed11:48
horribleprogramsame output11:48
horribleprogramE: Unable to correct problems, you have held broken packages.11:48
loser_walexhorribleprogram: ahhh that is a different thing.11:48
loser_walexhorribleprogram: your package set is in an iffy state so DPKG+APT are hilding back11:49
loser_walexhorribleprogram: that's what I have: https://paste.ubuntu.com/p/GzFPn5xtyQ/11:49
horribleprogramueah ur output is way better11:50
horribleprogramit shows the i386 installed as well11:50
horribleprogrammine just has the amd6411:50
loser_walexhorribleprogram: pls install 'aptitude' too then we can look at which packages are broken more easily11:51
horribleprogramsounds good ty, installing as we speak11:51
horribleprogramwait wait11:52
horribleprogramis sudo apt update11:52
horribleprogramthe same as sudo apt-get update11:52
horribleprogramcuz I always use apt11:52
loser_walexyes same11:52
horribleprogramkk sweet11:52
PoolShark_Anyone know why the nvidia driver might be stuck at 640x480 after upgrading to 21.04?11:53
horribleprogramhonestly it seems like an ez fix11:53
horribleprogramadd the i386 architecture, update, and install11:53
horribleprogrambut I have broken packages11:53
loser_walexhorribleprogram: aptitude search '~b'11:53
horribleprogramto not it's about resolving broken packages11:53
horribleprogramno output11:53
horribleprogramactually it didn't work11:54
horribleprogramecho $? returned 111:54
horribleprogramthere was some prompts that flashed really quickly [100%] building dependency tree11:54
horribleprogramwas one11:54
loser_walexhorribleprogram: what does 'aptitude install steam-launcher |& pastebinit' say?11:55
horribleprogramhttps://paste.ubuntu.com/p/b9kqmhgctd/11:56
horribleprogramthat's11:56
horribleprogramembarassing11:56
loser_walexhorribleprogram: what does 'sudo aptitude install steam-launcher |& pastebinit' say?11:56
horribleprogramhttps://paste.ubuntu.com/p/Jns2wjX7Qn/11:56
horribleprogramloser_walex: don't do that...11:56
loser_walexhorribleprogram: did you add the "steampowered.com" repo?11:57
horribleprogramno :'(11:58
horribleprogramhttps://developer.valvesoftware.com/wiki/SteamCMD#Linux11:58
horribleprogramI'm following this guide11:58
loser_walexhorribleprogram: https://repo.steampowered.com/steam/11:58
horribleprogramty :D11:58
loser_walexhorribleprogram: you can boostrap by doing "wget steam_latest.deb" and then "sudo dpkg --install steam_latest.deb", "sudo apt update", "sudo apt upgrade"11:59
loser_walexhorribleprogram: or just follow the manual steps in "Installing via apt" in that page.12:00
horribleprogramyeah it's really ez12:01
horribleprogramtysm12:01
horribleprogramjust out of curiosity12:01
horribleprogramdo u even know how to install a .gpg12:01
loser_walexhorribleprogram: in that case it just means "just copy it there"12:02
horribleprogramjust testing u :D12:03
horribleprogramloser_walex: omfg it worked ur the best lol12:05
horribleprogramI wanna host a sweet GMod Server12:06
loser_walexcool!12:06
loser_walexSteam for Ubuntu LTS works really well here.12:06
horribleprogram:D yeah apart from some driver issues Linux is damn near on par with Windows12:07
loser_walexI found that with Valve's version of WINE even latest DOOM works pretty decently.12:08
loser_walexhorribleprogram: BTW make sure that you got the vulkan drivers installed, they seem to be fine.12:08
loser_walexhorribleprogram: ahhh but you want to run a server, not the graphical game.12:08
horribleprogramloser_walex: server on the Linux box12:09
horribleprogrambut yeah I have the nvidia ppa and did all that :D12:09
horribleprogramvulkan-utils and those packages12:09
loser_walexhorribleprogram: BTW 'aptitude' in full-screen mode is really good for looking at available packages, package status, dependencies etc. and I wrote a nice guide here: http://www.sabi.co.uk/blog/13-one.html?130414#13041412:12
horribleprogramloser_walex: tysm reading it now :D12:12
horribleprogramloser_walex: uk some pretty deep syntax lol12:13
horribleprogram~i(!~M!~E)(~R~i)12:13
horribleprogramjesus...12:13
horribleprogramlol that's deep af12:13
loser_walexhorribleprogram: that's computer engineering stuff12:13
horribleprogramboolean algebra12:14
loser_walexhorribleprogram: the syntax look bad, but each ~thing has a simple meaning and the expression is pretty clear actually12:14
horribleprogramab means a AND b?12:14
horribleprogramlike ~i(M) for example would mean NOT i AND M12:15
horribleprogram?12:15
loser_walexhorribleprogram: yes concatenation means AND12:15
horribleprogramthat's cool12:15
horribleprogramI think they do that for the .deb clauses too12:15
loser_walexhorribleprogram: but "NOT" is "!", "~" means "match" more or less12:15
jvavahow to let adjusting brightness works? or check where go wrong, thanks12:15
horribleprogramlike Recommends: Depends: etc12:15
horribleprogramahhh12:16
loser_walexhorribleprogram: the latest versions of 'apt' have an 'aptitude' like query language too12:16
loser_walexhorribleprogram: so "NOT i AND M" is: "(!~i)~M"12:16
horribleprogramdescribing dependencies requires a couple of things right12:17
horribleprogrambut ultimately, NOT, AND, OR, a way to express package names, and then package version of that name12:17
loser_walexhorribleprogram: ywes indeed12:17
horribleprogramso like a POM syntax with package:version, but also expressing stuff like... libgcc >= 2.412:17
loser_walexhorribleprogram: that is indeed quite useful in manay cases12:18
horribleprogramyeah, it's actually something I'm going to dive deeper into soon12:18
horribleprogrampackage management12:18
horribleprogramI hate not knowing why stuff doesn't work12:18
loser_walexhorribleprogram: with the fullscreen interface you can look directly at package dependencies and see what happens, and then 'aptitude' stages installations in a list so you can see exactly what is going to happen or cancel it.12:19
jvavame too12:19
jvavaI hate not knowing why stuff doesn't work12:19
horribleprogramjvava: ikr12:19
horribleprogramalso yeah12:19
horribleprogramvisualization for these sorts of complex dependency graphs is probably the best bet12:20
horribleprogrambrb 20 mins anyways gotta restart12:20
horribleprogramtysm tc12:20
jvavawhat is ikr, horribleprogram12:20
loser_walexhorribleprogram: jvava: while DPKG is a bit rubbish, APT works really well.12:20
jvavaI dare not say that, loser_walex12:20
jvavabasically, I think dpkg can do more12:21
=== ghoti_ is now known as ghoti
raubI've always thought apt was built on the top of dpkg12:31
BluesKajit is12:37
=== mateen1 is now known as mateen
aienawhat is better with kvm vm's Spice ot VNC?13:13
aiena*or13:14
aienaassuming viwing vm on the same host13:15
TheBigKaiena: i would connect via ssh and use the kvm virtmanager?13:19
aienamy vm's are on the same host. So I can run the virtmanager as a GUI app.13:20
TheBigKthats fine as well. why then using vnc?13:21
TheBigKdo u need specific features ?13:21
aienaTheBigK: because kvm offers a choice between SPICE and VNC13:21
aienaand my VM is a desktop OS13:21
aienaI was unfamiliar with spice which it defaults to and wasn't sure about the differences13:22
TheBigKlooking at the wikipedia page... it has some advantages over vnc13:23
TheBigKu can forward usb over that ... which u cant do with vnc13:23
TheBigKcopy paste things are also possible over that... so the default choice seems fine to me13:23
aienayes looks like spice is superior to vnc13:24
TheBigKim using virtualbox for that matter... but i dont like oracle... and i thought switching to kvm as well ;D13:24
aienavirtualbox was my favourite too but I think kvm is more secure and smoother13:25
TheBigKwouldnt be suprising considering its from oracle :D13:25
aienaI found that I need to passthrough pulse for guest to avoid latency13:25
aienawith kvm13:25
aienabut that's about it not bothered with GPU passthrough at this point13:25
aienain some regard virtualbox is better13:26
aienaif if you setup right kvm is incredible13:26
aienavirtualbox is very noob friendly13:26
TheBigKim a kvm user already... i know :)13:26
TheBigKbut i didnt use it on desktop yet13:26
aienaAh. Actually not sure about the difference between a desktop and server OS in ubuntu13:27
aienaas in either can be made the other and all desktops are half servers13:27
aienaare the desktop kernel's different from the server ones13:28
aienadoesn't look like13:30
=== thinkofher1 is now known as thinkofher
=== grimple_ is now known as grimple
=== jcnmark6_ is now known as jcnmark6
=== westor{off} is now known as westor
enychrrm, ubuntu 21.04 on ausus x201e netbook -- probelm seems to be in kernel 5.11 with blackscreening unless 'nomodeset' used...14:02
=== jrm2 is now known as jrm
enycmanually installing debian LTS kernel 5.10.0-6 debian package ... booting into that, 'solves' issue14:02
enycwondering if 21.04 users of various versions seen this sort of thing, I wonder what erms to best look for bug14:02
=== blackest_mamba_ is now known as blackest_mamba
bluesceadaenyc, probably it totally depends on which graphics adapter you have .... specifically nvidia is known to get problems now and then because they are not very supportive about opensource14:05
enycbluesceada: this case something like 3rd gen intel integrated graphics14:15
Antoine_Hello, say I'm logged in through ssh to a laptop and someone else is also using the computer "normally" (as in, logged in through the gnome session and not remotely). Can I launch app on the user's screen and session?14:17
Antoine_Like, can I launch firefox on the user's screen?14:17
Antoine_Ah I got it `DISPLAY=:0 gnome-terminal`14:20
=== ghoti_ is now known as ghoti
=== bildramer1 is now known as bildramer
loser_walexAntoine_: indeed, also often better 'env DISPLAY=:0 ...'15:30
=== loser_walex is now known as Walex
=== sauvin_ is now known as Sauvin
Walexjvava: DPKG does (mostly) packages, APT does dependencies among packages, and then uses DPKG. But there is for example a version of APT that uses RPM as the package manager instead of DPKG.15:33
=== lotuspsychje_ is now known as lotuspsychje
=== Scotty_Trees2 is now known as Scotty_Trees
jo-erlendWalex: There's a version of APT that uses RPM? :)  I knew there was a version for Microsoft Windows, but RPM?! :)16:19
sarnoldjo-erlend: yeah, apt-rpm https://en.wikipedia.org/wiki/APT-RPM -- I used it on yellowdog linux once upon a time16:32
jo-erlendYellowdog doesn't come up often. :)16:32
sarnoldjo-erlend: apt-cache search and so on where nice to have, but the entire process of apt-get update && apt-get dist-upgrade was pretty slow compared to using apt+dpkg on debian ..16:33
sarnoldindeed :) hehe16:33
Antoine_loser_walex: Is it so that I edit the environment only for that command?16:43
Antoine_I'd like to install the package that includes "biblatex-software". How can I know which package I need to install?16:44
=== ace_me1 is now known as ace_me
sarnoldAntoine_: apt-cache search is the usual tool16:46
Antoine_sarnold: I thought it looked only in the name of the packages16:48
Antoine_apt search biblatex-software returns texlive-bibtex-extra. Does it mean texlive-bibtex-extra includes biblatex-software?16:49
sarnoldAntoine_: apt-cache search by default searches descriptions, but if you've disabled downloading those (maybe disabling translations? I forget, I did it once and immediately regretted it..)16:49
sarnoldAntoine_: so, once you've got some possible choices, you can try apt-cache show texlive-bibtex-extra  or apt-file show texlive-bibtex-extra16:49
sarnoldAntoine_: apt-file show requires configuring a new service, but it's *really* useful, so it might be worth takinmg the time to set that up16:50
Antoine_Oooh, very nice. I didn't know apt show16:50
Antoine_So I confirm that biblatex-software is included in texlive-bibtex-extra :)16:51
Antoine_What is the difference between installing a library via apt and via pip3?16:58
Antoine_Do I get libraries that are better tested through apt?17:00
sarnoldAntoine_: I'm not super-good at this one.. they're different. installing the pip3 ones migth break software you've installed via apt. installing apt ones might not work for software you install via pip. I think the think is to always use virtual_env when using pip and *never* use pip to install things "outside" a virtualenv17:04
sarnoldAntoine_: but it'd be best to find advice from someone who actually knows pythonland17:04
shugohi17:06
Antoine_sarnold: Ok I see :)17:07
Antoine_Thanks for explaining!17:07
summonnerAntoine_, best to ask in #python17:26
HabbieAntoine_, definitely +1 to what sarnold said: NEVER use pip to install things systemwide, you will break a bunch of stuff. Always use virtualenv or similar.17:30
aienaantoine: I've even used pip3 outside a venv for dependencies which I feel I will reuse for everything. Never ever use pip3 as root though and try to avoid installing the same packages via pip3 and apt17:34
aienaantoine: worst case scenario just find the package directory in your user directory and rename it python3 will create a fresh one and your renamed one can be used for selective diagnostics or as a pointer to reinstalling oackages you need via pip17:35
sarnoldHabbie: yay, thanks for the confirmation17:40
Habbie:)17:40
=== dingir__ is now known as dingir_
InteloIs there a way to limit memory/ram usage on a certain process/application?18:22
sarnoldIntelo: several, none of them great; ulimit -m in your shell can set kernel rlimits for child processes; you can also set cgroup resource limits, systemd is the easy way to get there https://www.freedesktop.org/software/systemd/man/systemd.resource-control.html#Memory18:25
Intelohm18:30
shibbolethare there known issues with the recent bionic grub2/shim update?18:37
shibbolethi have two identical haswell boxes, only difference is the serial numbers and that one has a prev revision mobo18:38
shibbolethafter running a normal apt-get upgrade one of them seems to lock up after selecting any grub menu item18:39
shibbolethlivecd, windows all boot fine18:39
shibbolethselecting the default menu item just leads to a black screen, booting in recovery mode gets stuck on "loading inital ramdisk"18:40
robertparkerxhow to --exclude multiple path with rsync ?18:41
shibbolethi've also taken the drive from the system box, booting either drive leads to a hang in one box, booting either drive works just fine in the other18:41
shibbolethsystem/sister box18:41
sarnoldshibboleth: this is ~nine days old and not much to go on https://bugs.launchpad.net/ubuntu/+source/grub2-unsigned/+bug/192785718:43
ubottuLaunchpad bug 1927857 in grub2-unsigned (Ubuntu) "Update to grub 2.04-1ubuntu44 breaks booting" [Undecided,New]18:43
shibbolethi'd be happy to do some further troubleshooting, problem is that i get no indication what's wrong18:43
Ky0sh1r0hi there, which package provides make-kpkg in 21.04? i connot find kernel-package anymore18:45
sarnoldKy0sh1r0: it was removed; iirc the removal bug said that the kernel's makefile targets are better18:45
robertparkerxI figured my problem18:45
shibbolethsarnold, this applies to bionic? also, the issue isn't the same, grub starts/i get the menu18:45
sarnoldshibboleth: dang :/18:46
sarnoldshibboleth: with some recent grub changes, we're pushing the same package through multiple releases now18:46
Ky0sh1r0sarnold: thx18:46
shibbolethi pulled a drive from a retired box (xenial), boots fine18:49
shibbolethalso, also: i did a memtest just to be sure, no issues18:49
shibbolethrobertparkerx, rsync has an exclude flag, add paths to a "list-file"18:53
shibbolethsarnold, just for sh*ts and giggles: if i was to boot from a livecd and chroot into the installation, how would i use apt to pull the previous grub/shim and install it?18:55
robertparkerxshibboleth this https://paste.gg/p/anonymous/0e95f7eae1ed40a18910695253b7dc9f still copy folders like strands/images18:55
shibboleththe exclude list paths must correspond to pwd18:56
sarnoldshibboleth: it might already be in /var/cache/apt/archives -- you can also pull updates with apt get install grub2=versionumber  commands, if the packages are still on the archives. (they 'age out' when they aren't referred to by any of the package lists)18:58
sarnoldshibboleth: if the old ones are already gone from the mirrors, https://launchpad.net/ubuntu/+source/grub2-signed and https://launchpad.net/ubuntu/+source/grub2-unsigned are I think the packages to use to find the old binaries on launchpad18:59
shibbolethi'll try that, but... is there any way to get some debug output from grub to determine what goes awry?19:07
shibbolethif the prev version works it will be a tough sell to file a bugreport with.... "it just hangs"19:08
=== ghoti_ is now known as ghoti
foistI can't seem to figure out how to change the size of my status bar text, like the size of the clock font.20:09
foistDo I really have to edit the userchrome.css file for that?20:09
sarnoldshibboleth: I don't recall seeing any 'usual' grub debugging stuff; and yeah, "it just hangs, here's what it said" is really unsatisfying as a bug report, but we've got to start somewhere20:17
floownHello. Je galère à trouver un outil pour transformer des adresses mails en "codage" pour éviter les scans de bots20:52
floownSi quelqu'un a ça sous la main, merci20:52
hggdhfloown: on parle anglais ici20:55
unixbsdfloown: tu peux me demander en perso20:55
hggdhah :-)20:55
floownsorry =21:00
hggdhfloown: pas de probleme21:02
unixbsdon dit  monsieur:21:02
unixbsd"Pas de problemes"21:02
unixbsdpluriel21:02
hggdhoui, d'accord21:03
AavarWhen I run "ssh -X <host>" i am able to run x11 apps, but not via sudo. I only get an error regarding auternication. How can i get arround this?21:06
Aavarerror: https://paste.ubuntu.com/p/fMMnCnR7TB/21:06
sarnoldAavar: running X applications requires having the XAUTHORITY environment variable available and pointing to a file that the process can read, in addition to permissions to connect to the X11 socket21:11
remlineI'm building various in-tree kernel modules. Each one, when I run "modprobe module-name", results in "could not insert 'module-name': Exec format error".21:17
sarnoldremline: check dmesg, there may be more detailed errors there21:18
sarnoldremline: the error message itself means "The binary image supplied in module_image is not an ELF image, or is an ELF image that is invalid or for a different architecture."21:20
sarnold(from man 2 finit_module)21:20
remlinesarnold: There are. "Skipping invalid relocation target, existing value is nonzero for type 1...". I have read the corresponding source code in kernel/module.c, but the objdump of these modules seems fine.21:22
sarnoldremline: does dmesg provide more details?21:23
remlinesarnold: dmesg lists that "skipping invalid relocation target" message.21:23
remlinesarnold: objdump reveals file format elf64-x86-64, same as the .ko that comes installed from Ubuntu.21:24
unixbsdsarnold: dmesg provides already too much, you have a security breach, ideal for hackers to use these infos.21:24
sarnoldunixbsd: feel free to lock it down if you wish21:25
remlinesarnold: Also, objdump -h shows what seem to be perfectly nice section headers for my .ko.21:26
sarnoldremline: weird. are you building the kernel modules with the same compiler, linker, etc, as the main kernel?21:27
remlinesarnold: I originally had the problem on machine 1, so I am now testing in a live environment on machine 2 with all stock packages and configurations.21:28
remlinesarnold: Perhaps I am missing something simple... cp /boot/config... .config; make modules_prepare; make M=...21:28
remlineuname is 5.11.0-16-generic, gcc is 10.3.021:30
hyperknotHi, I've just installed 18.04 on a VPS with the clean installer (mini.iso) and the guided disk encryption. How can I make it automatically decrypt upon restart?21:32
sarnoldremline: do you have the necessary linux-headers-* packages installed too? iirc that's how struct randomization and so on stuff is passed around21:32
sarnoldhyperknot: just curious, what does that provide you over an unencrypted disk?21:32
hyperknotsarnold: I'm only doing it so that no traces are left on the shared host after me21:33
sarnoldhyperknot: aha, cool21:33
remlinesarnold: Yes, I do have the linux-headers packages installed. I had no troubles in groovy, so either I forgot how to do this (entirely possible!), or something changed in hirsute that I need to account for.21:34
sarnoldhyperknot: the /etc/crypttab file can have a command or a file placed in one of the fields to read the key from one of those, rather than require manual entry.. I'm not entirely sure how you'd manage the file, if it perhaps can live in the initramfs or something similar..21:36
sarnoldremline: dang. I was hopeful for that one :/21:36
hyperknotsarnold: my problem is that at this time only GRUB or something is loaded, isn't it?21:36
sarnoldhyperknot: I'm not entirely sure :/ I've only done one encrypted boot machine, and I type the password every boot :) heh21:37
tomreynhyperknot: see /etc/cryptsetup-initramfs/conf-hook21:38
tomreynand maybe the steps here https://help.ubuntu.com/community/Full_Disk_Encryption_Howto_2019#Post-Installation_Steps21:39
tomreynthis how-to is actually for encrypted /boot, so a different scenario than you'll have, but still similar enough to be useful, i think.21:40
hyperknottomreyn: I went through the howto but it confuses me that there are so many parts which I didn't have to do with the 18.04 installer21:40
hyperknotI just followed the installer and everything was done for me21:40
tomreynbecause you didn't want encrypted /boot21:40
hyperknotsure21:41
tomreynhyperknot: this looks simpler https://askubuntu.com/questions/996155/how-do-i-automatically-decrypt-an-encrypted-filesystem-on-the-next-reboot#answers21:44
remlinesarnold: Might there be some new aspects to module signing in hirsute that could trigger this error?21:45
robertparkerxdoes it usually take awhile to import sql from command line when it is large >10gb21:45
robertparkerxIt has been like 15-20 minutes21:46
sarnoldremline: if the signature is invalid I thin kthat'd return a ENOKEY 126 Required key not available21:46
hyperknottomreyn: thanks! how can I see which partition is encrypted?21:46
robertparkerxwrong channel21:47
hyperknotdev/mapper/vda5_crypt is in fdisk -l, is this the one I need to decrypt?21:47
hyperknotor it's /dev/vda521:47
remlinesarnold: Yeah, that would make sense. My module is unsigned, and hopefully that is still allowed, even though it will "taint" the kernel.21:50
sarnoldremline: unsigned --> depends on your secure boot settings; if secure boot is enabled, module signatures will be enforced21:51
remlinesarnold: I'm on BIOS, so I've assumed there is no secure boot.21:51
sarnoldremline: aha, probably a safe assumption21:51
remlinesarnold: The only other difference I have found between my built module and Ubuntu's build module is that Ubuntu's has .BTF and .gnu_debuglink sections.21:52
sarnoldremline: btf encodes type information for ebpf programs, it probably isn't mandatory21:53
sarnoldremline: same for gnu_debuglink, I don't actually know what that one is used for, but it sure has the sound of an optional thing :)21:53
remlinesarnold: My first impression is that its a way to strip debug symbols from the .ko, but still have debug symbols available elsewhere (a "separate debug info file")21:54
sarnoldremline: hmm. I wonder, could you use the dkms system for your module? I've never tried making a module rebuild via dkms, but that's a very common way to get built-on-the-computer modules to load21:55
tomreynhyperknot: /dev/vda521:55
hyperknotthanks21:56
tomreynhyperknot: /dev/mapper/vda5_crypt is the unlocked device21:56
remlinesarnold: I did investigate dkms, but found that the module I'm building (radeon) has too many drm dependencies to handle in dkms.21:56
sarnoldremline: oh bugger21:57
shibbolethsarnold, confirmed22:02
remlinesarnold: Thanks for brainstorming this with me. I think I'll install groovy in a live environment and see if my memory that building modules worked is correct. :)22:02
sarnoldshibboleth: the older grub worked, newer grub failed/22:02
sarnoldremline: I'm happy to be a rubber ducky, sometimes I even guess correctly :)22:03
shibbolethi loaded a previous filesystem snapshot and did a grub-install /dev/foo, thereby restoring the previous version of grub/shim22:03
bernalexhi. am I to take the fact that thinkbook 14 g2 itl is certified ubuntu hardware as a very good sign that I can buy https://www.dustinhome.no/product/5011207521/thinkbook-14-g2-itl-20vd and just install ubuntu lts via usb, and just have everything magically work?22:03
bernalex(it is a version of the thinkbook 14 g2 with only iris xe, no nvidia.)22:03
shibbolethsarnold, 2.02-2ubuntu8.21 works, 2.02-2ubuntu8.23 just locks up while (i assume )loading the initramfs22:05
sarnoldbernalex: https://certification.ubuntu.com/hardware/202008-28154 .. it says it was certified using the oem kernel; that may or may not be 'easy' to do during install22:05
shibbolethnow, as for why this only happens on one of two identical boxes: i have no earthly idea22:06
sarnoldheh, you anticipated my next question..22:06
sarnoldshibboleth: any chance you can file a bug report on this?22:06
bernalexsarnold: care to elaborate?22:06
shibbolethi don't have an lp account and i have no idea what to report22:06
sarnoldshibboleth: just a "2.02-2ubuntu8.23 fails on my hardware, the last lines are ...; 2.02-2ubuntu8.21 works fine" kind of note22:07
tomreynbernalex: the specific variant being sold there https://psref.lenovo.com/Detail/ThinkBook/ThinkBook_14_G2_ITL?M=20VD003EMX22:07
sarnoldbernalex: there's an -oem flavor of kernel that's got a bunch of additional drivers22:07
bernalextomreyn: it's not for sale here unfortunately.22:08
bernalexsarnold: should there be any problems installing ubuntu, and then installing that kernel?22:08
tomreynbernalex: not sure what you mean there. i'm saying this is the very model which they sell at https://www.dustinhome.no/product/5011207521/thinkbook-14-g2-itl-20vd22:09
sarnoldbernalex: I'm not sure, I *hope* the installer makes it easy to select between them, but I haven't actually seen the installer in a few years22:10
LiowenexRawr22:10
bernalextomreyn: ah, right. I misunderstood. then I don't know what you are trying to tell me. :)22:10
bernalexsarnold: hah. I haven't installed ubuntu since it was called dapper drake...22:10
sarnoldbernalex: hehe22:11
tomreynbernalex: that was just a free added service ;-), in case you want to double-check the specifications.22:11
bernalextomreyn: ah, I see. the specs are pretty detailed on the site I linked too. but there's always stupid stuff that should work that doesn't work, so I thought I'd get some hands on experience from this chan, if any available.22:12
tomreynbernalex: right. the model you chose is a different one than the one that was certified.22:13
bernalextomreyn: yes, I know.22:13
tomreyn:) ok22:14
bernalexthis one doesn't have any nvidia dedicated gfx.22:14
bernalexmy old laptop died and it's kind of depressing how I have to pay the same amount today that I did in 2013, and even have to suffer downgrades in some areas.22:15
bernalexactually, I'll have to pay lots more for this one than my old dead laptop, which I bought on sale.22:16
bernalexI guess I'll have to get this one and pray that it works with ubuntu. -_o_- the only laptop I can find with similar specs and a similarly good gnu+linux story is a dell xps 13 9305, but that's about 1.4 of the price, and would take 30 days before shipping.22:17
remlinesarnold: Well, I'm perhaps proven wrong. I can't get my compiled module to insert on groovy, either. modprobe reports "exec format error", although there is no corresponding error in dmesg.23:18
sarnoldremline: argh. I wonder if it used to work on groovy and something changed, or if you're perhaps remembering an earlier release when things were easier23:20
jeremy31remline: What module?23:22
remlinejeremy31: For experimenting, I'm trying several "in-tree" modules. The actual module of interest is radeon.23:23
jeremy31remline: If you are trying modules from other kernels that will happen23:24
jeremy31The vermagic of the module needs to match the kernel or you get exec format error23:26
tatertotsremline: which Radeon/AMD GPU are you using? You're doing all this stuff because some problems with your GPU?23:27
remlinejeremy31: Indeed, that is a strange bit, too. There is some confusion between Ubuntu's 5.8.0-25 and upstream's 5.8.14.23:28
remlinetatertots: Fairly ancient: RV515. There is a timer bug that I like to patch manually.23:29
jeremy31remline: is that is external to the kernel, it is easier to download the source code of the kernel you have and do it23:30
remlinecf. bug 1791312 . I'm sure people would like to fix the bug, but there are too many hardware variations to play whack-a-mole on.23:31
ubottuError: Could not gather data from Launchpad for bug #1791312 (https://launchpad.net/bugs/1791312). The error has been logged23:31
remlineubottu, what happened!?23:31
ubottuI am only a bot, please don't think I'm intelligent :)23:31
remlineHmm, probably relevant is that CONFIG_MODULE_FORCE_LOAD is not set for the ubuntu kernel. Maybe that means that modprobe -f is useless to avoid the vermagic error.23:47
tatertotsremline: ah i see, well good luck in your endeavors23:57

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!