[00:00] sarnold: and since i have no idea what I'm doing I don't believe it will work consistently either :D [00:00] shepherd_: the general shape of this script feels like it should work [00:00] it's just not super-friendly.. [00:17] Hi all. Want to automatically send an email containing the text of a file when that file is uploaded to a specified directory. Currently am using incron to monitor this directory, but having trouble getting the text to be included in the email. [00:17] dir/being/watched      IN_CLOSE_WRITE      cat $# | msmtp email@email.com [00:17] The following sends an email when a file is created, but said file is blank. [00:17] Running the command outside of incrontab sends an email that is populated with the desired text. [00:23] chazzo: it's kind of gross, but maybe adding a sleep 1 ; before the cat would help [00:28] sarnold no dice with varying lengths [00:28] :( [00:29] on the one hand, that's probably best, it was a gross idea :) but it's harder to think what else would work then [00:29] Do you have a standalone script? : 'avoiding the use of pipes inside incrontab file:' ..... Could or could not be related. https://askubuntu.com/a/368182 [00:29] I'm so lost with this.. getting ready to go at it with a reallllyyy gross cron work-around [00:29] Tried with a script as well without much luck, gonna read through that and revisit nuala2 [00:30] wait a second... [00:30] is the email ALWAYS blank? or occasionally blank? [00:32] Always blank when it sends via automation. Never blank when I run the same exact command outside of incron (whether or not via script) [00:32] cool! [00:33] chazzo: try: dir/being/watched      IN_CLOSE_WRITE sh -c 'cat $# | msmtp email@email.com' and see if this does anything.. [00:35] Still blank :/ [00:36] well bugger [00:36] Got it!!!! [00:36] Holy moly [00:36] One sec [00:38] dir/being/watched    IN_CLOSE_WRITE    /path/to/script $@/$# [00:38] Script: [00:38] cat $1 | msmtp email@email [00:38] *why* [00:38] still, that's not horrible [00:38] nuala2: nice find :D [00:38] I think I was omitting $@/$# at the end of the incron, was originally just using $# which omits the path before it [00:39] nuala2 sarnold Thank you both for the assistance [00:39] ohhhhh so it's possible the pipes aren't actually the issue? it might 'just' be three missing chars? :)( [00:40] And by including $@/$# at the end of incron, calling $1 in the script actually pulls up the appropriate filepath to copy contents from [00:40] I'm gonna try without the script now to see [00:41] 🙈 honestly I just skimmed the question but pipe looked suspicious. But hmmmm. Shouldn't a script or `sh -c` be kinda equivalent (well maybe not equal)? Also you assume same: at IN_CLOSE_WRITE file is just not fully written yet and it needs this small 'delay'? [00:42] I'd *really* hope the linux kernel would show all of the write to other processes by the time the close is sent to inotify clients [00:44] piping cat from incron also confirmed works. Super embarrassing misunderstanding of syntax. [00:44] Needs to be [00:45] cat $@/$# | msmtp [00:45] Instead of [00:45] cat $# | msmtp [00:45] was just supplying a filename with no path [00:46] chazzo: thanks! :) I don't think I *ever* would have spotted that :( [00:49] Spent so long overthinking that lol.. gonna sleep good tn === genii is now known as genii-core === pamela22 is now known as homura === hays is now known as h_ [03:37] hello to All [03:38] I mean if Somebody can tell me about the changes of sudo from Ubuntu 18.04 to 20.04 [03:41] because I found THAT sudo -H is not necessary and -H come as default for Ubuntu 20.04, [03:41] as with Ubuntu 18.04, you shound/must use sudo -H, am I right? [04:48] hii [04:48] uh... [04:48] i want to change the bootlogo in 20.10 [04:48] i did that once in linuxmint, but now it completly different so i need help [04:49] oh and also i need help to change the grubmenu's background [04:49] any help? === Abrax- is now known as Abrax === boubou_ is now known as boubou === pasiz8 is now known as pasiz === tofran7 is now known as tofran === arhue5 is now known as arhue === adamus1red_ is now known as adamus1red === _miruoy is now known as miruoy === buzelAzul is now known as buzel === Trieste_ is now known as Trieste === martums56 is now known as martums5 [06:55] https://www.reddit.com/r/chrome/comments/rwfmpb/just_installed_970469271_on_kubuntu_when_i_try_to/ <- i saw theres a bugfix for it already. any idea when this comes? super annoying [07:16] I've accepted and installed upgrades via gnome gui prompt a couple of hours ago, all went good and it asked me to reboot, so I did. Now I want to check the log of that operation as I'm having problems in compilation of a project, but /var/log/apt stuff seems not containing that [07:17] also /var/log/dpkg.log stops way before a couple of hours ago [07:20] something really fishy is going on here. Ubuntu installed some software that is NOT present in logs [07:22] so /var/log/apt/* logs stops ~16 hours ago, but "stat /var/lib/apt/periodic/upgrade-stamp" correctly shows that an upgrade happened 2 hours ago [07:25] my trust in ubuntu just went zero [07:50] That should technically be your trust in GNOME, as it's likely GNOME software which used packagekit. I'd guess at least, I don't use GNOME so can't really say. [07:52] JackFrost: well, gnome is the default desktop for ubuntu, moreover is the piece of software where canonical pushes their own products, so it's even more fishy [07:53] OK™ [08:12] arkanoid: `stat --format="%n: %y" /var/log/apt/*` === manwhowouldbekin is now known as YourNick === YourNick is now known as manwhowouldbekin [08:34] KBar: it's off. [08:43] arkanoid: what do you mean it's off? [08:44] that the log doesn't match with reality. The last upgrade in log is way before the one I've executed via gui [08:44] hi [08:44] could anyone please tell me how I can get /dev/kvm into existence? [08:44] the package "qemu-kvm" has been installed via "apt" [08:45] yet, there is no /dev/kvm [08:50] Nobrem: sudo modprobe kvm [08:50] arkanoid: can you post the output of `lsof /var/log/apt/history.log`? or post any output instead of being a pointless Karen? [08:51] arkanoid, thank you for your response! [08:52] arkanoid, I ran the command you told me to run, and it ran _without_ errors (so it looked good) [08:52] but, /dev/kvm still does not exist [08:52] $ sudo ls /dev/kvm [08:52] ls: cannot access '/dev/kvm': No such file or directory [08:53] Nobrem: it depends on your cpu, try sudo modprobe kvm-intel [08:53] modprobe: ERROR: could not insert 'kvm_intel': Operation not supported [08:53] Nobrem: maybe your hardware doesn't support it? Check out this wiki article: https://help.ubuntu.com/community/KVM/Installation [08:54] KBar: Nobrem also here https://wiki.ubuntu.com/kvm [08:54] Thank you very much, arkanoid and KBar [08:54] Nobrem: please call me Karen [08:54] You're most welcome Nobrem [08:54] sure, Karen, thank you! === henry404089 is now known as henry40408 [08:55] you're welcome [10:35] Hello why did you name ubuntu ubuntu? [10:35] Seems to be some sort of a tribal name [10:35] !discuss | Guest36 [10:35] Guest36: Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks! [10:36] ubuntu african for freindly [10:36] I m not gonna join another channel [10:36] I m here to talk it s a free country [10:36] At least the one i am in [10:36] Yemen [10:38] thats not what this channel is for Guest36 [10:38] only support questions [10:38] It is [10:38] I m in charge of this channel [10:39] I m very powerful [10:40] !guidelines | guest36 [10:40] guest36: The guidelines for using the Ubuntu channels can be found at https://wiki.ubuntu.com/IRC/Guidelines [10:40] I wrote them [10:40] I can break them [10:41] !ops [10:41] Help! Channel emergency! (ONLY use this trigger in emergencies) - Pici, Myrtti, jrib, Amaranth, tonyyarusso, Nalioth, lamont, CarlK, elky, mneptok, Tm_T, jpds, ikonia, Flannel, wgrant, stdin, h00k, IdleOne, Jordan_U, popey, Corey, ocean, cprofitt, djones, Madpilot, gnomefreak, lhavelund, phunyguy, chu [11:32] https://pastebin.ubuntu.com/p/7dsw9PmW66/ apt complains I have held packages that don't meet the requirements. apt also tells me I have the versions required. What am I missing? [11:34] Seems to come down to " libc6-dev : Depends: libc6 (= 2.31-0ubuntu9.2) but 2.31-0ubuntu9.3 is to be installed [11:35] Pricey: Can you run that with -o Debug::pkgProblemResolver=yes ? [11:35] AH. [11:36] apt-cache policy shows libc6 "2.31-0ubuntu9.3" installed, but nothing from the archive. How on earth have I managed that... [11:37] focal-updates only has 9.2... [11:38] Aha https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1926918 answers everything! " [11:38] Launchpad bug 1926918 in glibc (Ubuntu) "cannot install libc6-dev, requires old libc6 version" [Undecided, In Progress] [11:38] Please downgrade libc6 to the version in focal-updates. The one installed has been removed from -updates because it caused regressions and the new version superseding 2.31-0ubuntu9.3 is not yet released. [11:38] Pricey: ppas? subscribed to focal-proposed? [11:38] ah [11:40] Sorted. [11:40] Tip: apt list | grep ed,loc [11:40] And yeah, they "withdrew" an update, which is...I don't really think that's ideal. [11:44] My dick is 17 centimetres [11:47] * ogra hugs JackFrost [11:48] Heya. [11:49] JackFrost: thanks [11:51] Hello [11:51] "adb devices" does not list my phone [11:51] sudo adb kill-server && sudo adb start-server [11:51] ^ did not help [12:19] hi folks, if i save a file without an extension it is not visible in Nautilus. Is that something known? [12:28] gebbione, definitely unexpected unless the filename starts with a dot it should be visible [12:29] extensions are moot on linux [12:30] strange, i moved the files under a separate folder and it shows [12:30] i can see the problem only on Downloads [12:30] i ll move it back and try again [12:31] now i can see ... really dont know what was happening there [12:31] i did CTRL + R after i downloaded the file [12:31] but the window didnt show it [12:31] strange === [Pokey] is now known as Pokey [13:24] . === pah is now known as pa === klebers_ is now known as klebers [13:57] Hi folks [14:08] a minimized installation method is provided as of 21.10 server. Is a preseed-value existing for this method? === mIk3_09 is now known as mIk3_08 === mIk3_09 is now known as mIk3_08 [14:28] when typing long paths on the cli, isn't there a keyboard shortcut to "paste" the previously typed path? [14:29] up and down arrows do last commands you type [14:30] or just last thing you typed after you pressed enter i mean [14:32] afraid that's not what i'm looking for. [14:32] you can drag and drop folders in the terminal [14:32] then it puts the path in [14:35] i want *just* the path. for example. $cp /etc/apache2/sites-available/000-default.conf *here i would press a key combo to "paste"* /etc/apache2/sites-available/000-default.conf [14:35] so i could then just append a .bak to the filename for a backup [14:36] im looking for a quick way to "paste" the *last* typed *path* [14:36] i dont think there is such a function [14:36] stupid question, I'm trying to uninstall linux-image-5.4.0-91-generic, but it's saying it'll install linux-image-unsigned-5.4.0-91-generic instead :/ [14:36] which... kinda defeats the purpose of uninstalling [14:38] Manouchehri: make sure you also remove the meta package. linux-image-generic [14:39] and of course that you have another meta package installed so you will get updates in the future [14:39] ravage: linux-image-generic is not installed [14:40] I already have linux-image-5.4.0-94-generic installed, so I just want to get rid of linux-image-5.4.0-91-generic [14:41] Manouchehri, just let it do that install ... *then* remove the unsigned package (and as ravage said, make sure all meta packages like linux-generic, linux-image-generic etc are gone) [14:42] Manouchehri, and indeed make sure to have some other kernel installed (i.e. the hwe stack) so yu dont end up with an unbootable system [14:42] ogra: cool, thanks, trying1 [14:42] ogra: ya, the issue is my /boot keeps filling up [14:42] it shouldnt [14:42] the system is set to keep exactly three kernels around [14:42] unless you changed something around that [14:43] I have three of my own kernels as well [14:43] ah, you changed something around that then 🙂 [14:43] (own kernels) [14:43] mhm, I have to run mainline kernels for some of my hardware sometimes [14:44] speaking of which, time to test out thunderbolt hotplugging again lol [14:44] well, as long as you build them with the ubuntu sauce patchest on top and the ubuntu config, this is surely fine [14:45] (i.e. *not* any stuff from the mainline PPA) === genii-core is now known as genii [15:04] I recently updated a machine and now when trying to boot it is stuck on "Mounting Kernel Configuration File System..." [15:07] this is before grub. Not sure how to troubleshoot. I would prefer to roll back my packages over reinstalling [15:07] almostdvs: before GRUB is the BIOS or EFI [15:07] which isn't Ubuntu [15:08] maybe I am mistaken then [15:09] I just rebooted and now it is stuck on Started Create Static Device Nodes in /dev [15:09] I don't see a grub menu [15:10] 这么多人的吗 [15:10] 这是干啥的 [15:10] just straight into the kernel and system startup scripts [15:11] almostdvs: what version of ubuntu is this and exactly how did you update it? [15:11] 我用的depin,不用ubuntu [15:11] xwj: no [15:11] deepin [15:11] xwj, this is an english speaking channel [15:11] xwj: no [15:11] 我不会英文啊 [15:12] 我只会中文 [15:12] 20.04 and I upgraded some nvidia packages that were held to troubleshoot another issue === ctrlbreak_MAD is now known as ctrlbreak [15:16] ok, so it is not before grub. The menu must have a 0 timer [15:16] almostdvs: maybe try booting getting into the grub menu and booting to the previous kernel === Sven_vB_ is now known as Sven_vB [15:24] ogra: thanks, your idea of removing the unsigned one too worked! [15:25] yay [15:25] ogra: I'm sadly using this script to get a mainline kernel, as my eGPU setup refuses to work with Ubuntu's stock kernels. https://github.com/pimlie/ubuntu-mainline-kernel.sh [15:27] Manouchehri, well, thats definitely wrong .. the mainline kernels miss a *lot* of things get no QA, dont have any security and are solely to verify bugs if a kernel team person asks yu to install them for a single tests ... nothing you should use in production [15:28] that said ... if you dont have any graphics on normal ubuntu kernels thats indeed bad [15:29] ogra: yeah, it's a tad frustrating, but sadly AMD really sucks at drivers. [15:29] have you tried the linux-generic-hwe-20.04-edge package yet ? [15:30] (5.13 based currently) [15:30] I'm on 18.04 atm [15:32] well, there hould be a hwe version for 18.04 that is 5.13 based ... [15:32] check the -edge ones [15:33] pretty sure I tried the hwe [15:33] the -edge build ? [15:33] yeah linux-generic-hwe-18.04-edge [15:34] what's frustrating is that only around 5.12.x works [15:34] iirc up to 5.12.19 [15:35] did you consider simply moving to 20.04 ? there is clearly a 5.13 available [15:36] or reinstall the system in april with 22.04 and possibly get 5.17 :) [15:37] well, that means 4 months with an insecure/inclomplete kernel ... === genii is now known as genii-core [15:38] i'd move to 20.04 first [15:42] aakashi2001, wiggle the cable ! (your ntwork seems unstable) [15:43] .oO( or get k-lined ... ) [15:48] is there a way i can fix the darkplaces texture issue? they are all small and everywhere. compiled version works fine though. [15:48] darkplaces - Game engine for Quake and similar 3D first person shooter games === guntbert_ is now known as guntbert === Guest5435 is now known as pong === shokohsc5 is now known as shokohsc [16:03] lavaball: could find more knowledge in their help channels? https://github.com/darkplacesengine/darkplaces#helpsupport [16:05] oerheks, just wanted to say that my nvidia-340 problems seems to have resolved on its own after steam, system update... now steam correctly detects the nvidia driver and game performance is more in line with expectations.. system shutdown abruptly after 10 minutes but i think that might be unrelated (maybe aging harware power issues) [16:06] i didnt find the 32-bit libraries but native games seem to be working.. need to further test proton/wine though [16:07] pitchshifter: i could imagine someone tried that before. maybe someone in #bash or #linux would know [16:12] actually one steam play game that worked yesterday (with incorrect driver configuration) now stops working.. maybe 32-bit libs needed afterall.. will need to test further. [16:12] it could also be wrong proton configs, or old gpu, driver related.. as i said need to test/diagnose further [16:17] First, thanks for your support of this project :)  https://cdimage.ubuntu.com/releases/ seems to be having problems. [16:19] ravage: ya, might do a full reinstall when 22.04 comes out [16:20] The archives fail to download. [16:21] Yeah, 22 will be good. [16:21] 22.04* or something [16:23] cdimage site works fine here [16:23] I am trying to see if this could go into systemd and have inotify watch for the file and then execute script if someone could take a look at this please. I dont think this is it but maybe im close? https://paste.ubuntu.com/p/5QJKbTQdy4/ === diskin_ is now known as diskin [16:25] Guest5033: What process are you using to download, and what specific errors do you get? [16:25] Nevermind, think the comp was out of disk space so not  https://cdimage.ubuntu.com/releases/ [16:26] updated: https://paste.ubuntu.com/p/6s2pKzpm2D/ [16:26] Manouchehri: Why would you reinstall for a new release? Apt is entirely capable of smooth in-place upgrades. [16:27] indeed === genii-core is now known as genii [16:27] Manouchehri, nerds do both, upgrade and fresh install [16:28] For the paste bin, perhaps add a sleep for a while loop could be resource intensive. [16:28] However, I'm not sure about everything in the script. [16:29] Unless the "inotifywait" does that already. [16:29] Guest5033, me either. I know I have something wrong. I just want to add inotify to systemd but have a script that executes if 'foo.mlt' is copied into said directory [16:30] Needed a fresh image [16:31] On a side note, Do the newer releases upgrade well? [16:31] do* [16:31] did they ever not ? [16:32] http://paste.debian.net/1226870/ [16:32] is there any fix for that? [16:33] ogra: 21.10 had a _NASTY_ data corruption bug for a few weeks [16:33] in the update-manager ? [16:33] no, in the update itself [16:33] (or do you mean general package updates) [16:34] https://news.ycombinator.com/item?id=28886897 [16:34] ah, zfs [16:34] exotic nonsense 😛 [16:34] nah [16:34] ext4 is enough for everyone ! [16:34] zfs is the main reason to use ubuntu :) [16:34] (as are 640kb) [16:34] Perhaps the older releases sometimes had a problem (like before 18)? (not sure about this) [16:35] Guest5033: I'm sure there are always problems [16:35] and reading the release notes should show a few of those [16:35] yeah [16:35] As in the boot sequence would get messed up but perhaps due to EFI/ the other method doing strang things. [16:35] ok whatever, the config was inproper [16:35] there are definitely always known issues freshly after release ... [16:35] which is why you should use LTS if you care ... [16:36] It seems like the different vendors have different implementations of EFI. [16:36] Yeah to LTS [16:36] (LTS upgrades are only happening at the .1 releases so there are chances some of the worst known issues are fixed when you upgrade) [16:37] yes. [16:45] for the dns proxy, I was going to suggest looking at the configuration or if you had something else installed but it looks like you already replied === Ricardus_ is now known as Ricardus [16:52] does snap automatically update installed snap apps? [16:53] ice9: it is supposed to [16:56] jhutchins: eh, I like to reinstall sometimes to free up disk space and crap I've forgotten about [17:32] hi, [17:33] hi darkeye [17:33] is it possible to change apt loading bar #### with another char [17:35] like pacman-hearts the loading bar turn to heats instead of #### [17:35] *hearts not heats [17:42] darkeye: Yes, it's possible. It's not a configurable item, you would have to edit the source code and recompile. [17:42] use the source, Luke [17:43] * genii skedaddles away [17:43] so that's mean I have to do it over and over after every update [17:45] is it possible to patch the package? [17:46] Hello. Is it possible to completely disable snap, and use only apt and .debs [17:46] ? [17:47] sudo apt purge snapd [17:47] what does this hourly cron do? /bin/sh -c [ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi [17:48] ogra: But some deb packages like chromium just reinstall snap again anyways [17:48] MarvinTheMartian, the above will remove all snaps and snap support ... though note that you have to find replacemnts for the removed bits [17:48] ogra: does it also remove all snap installed apps, and it will survive updates? [17:48] yes, with the limitation that genii mentioned above [17:49] the chromium deb installs the snap (and snap support) [17:49] and there is no way to block/blacklist snapd? [17:49] you could probably do something in apt .. [17:49] is there any particular reason wh you want that ? [17:50] (i mean running ubuntu without snap support) [17:51] I find multiple package managers to a be less then elegant solution, plus a few snaps ate 20 gigabytes. It's as if I'm using windows and battling winsxs all over again. [17:52] wow, what snaps were that ? [17:53] not even sure anymore, but mostly dev related [17:53] (having 103 snaps installed here (some pretty big ones) and they all tgether only occupy 20G in /var/lib/snapd/snaps (which is the only place snaps actually take space on disk) [17:54] in general snaps usually occipy a lot less space than their deb equivalent [17:54] *occupy [17:55] and I dislike the way it installs 3rd party software [17:55] due to being compressed binary images that are never unpacked but only loop mounted [17:55] what 3rd party software ?? [17:56] debs all come from ubuntu's repo (unless you add other repos) [17:56] i know [17:56] Snaps are packaged by 3rd parties [17:56] i still dont understand where "snaps istall 3rd party software" [17:57] yes, but they dont install themselves 🙂 [17:57] dependencies do [17:57] you must conciously have picked to install it [17:57] dependencies ? [17:57] snaps are self contained [17:57] There are certain things that get directed to snapd by apt, such as chromium, and for VERY good reason. [17:58] there is exacly one package ... not "certain things" [17:58] slippery slope [17:58] that that was even announced long in advance (just that nobody read the announcement) [17:58] MarvinTheMartian: Doing something for a very good reason isn't really what that phrase means. [17:59] if one deb can do it, why not others? [17:59] is there a safeguard for that? [17:59] oh, others will [17:59] ogra: I phrased it the way I did very much on purpose. I'm aware of the one, but I didn't know if there were any additions. [17:59] it is the only way to keep your software selection functional on release to release upgrades [17:59] MarvinTheMartian: It wasn't something that some random person did. This was a very intentional thing, and you can't just "do it." [18:00] if some SW switches to snap, the only proper way to trasitio people is to use the deb to install the snap [18:00] jkc, well, firefox will go the same path with 22.04 [18:00] but to date there is exactly one package ... [18:00] MarvinTheMartian: I suggest you actually understand what snaps provide instead of trying to blanket disable the whole thing because NEW THING BAD. [18:01] ogra: I'm just going to refer you to the last thing I tagged you in, and move on. [18:01] 🙂 [18:02] I'm sensitive to supply chain attacks, and having worked with teams that were burned by npm and pypi, I'm biased [18:02] MarvinTheMartian: Good to know. This is not npm or pypi. [18:02] heh, you cant really compare these [18:02] hi! anyone have the Night Light feature not working on ubuntu 21.10? [18:03] * ogra has the night light feature not working on 21.10 ... (i didnt even know there os one 😛 ) [18:03] *is [18:04] it's well hidden on some title bar [18:04] (well, i wouldnt use it anyway ... i just found the phrasing of the question really funny 🙂 ) [18:05] yeah i configured it in display settings but somehow when it turns on my screen stays the same [18:08] anzer: whats your graphics driver? is this in a VM? [18:09] uh im a noob in all this, it is a tkinkpad 5 from lenovo with amd rayzen. It works well as a preview when I configure it, but doesn't work when i enable it/when it auto enables at night [18:09] no vm [18:10] hmm, not sure then, maybe file a bug [18:10] !bug [18:10] 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. === tomaw_ is now known as tomaw === qa6_ is now known as qa6 === Duck- is now known as Duck === lord4163- is now known as lord4163 === aaguhagegaooeg is now known as westor === Razva_ is now known as Razva === LarsErik1 is now known as LarsErikP === mongole_ is now known as mongole === dabbill_ is now known as dabbill === kantlive- is now known as kantlivelong === mmx_in_orbit_ is now known as mmx_in_orbit === ASap_ is now known as ASap === gandalf1 is now known as gandalf === patviafore_ is now known as patviafore === StoneMonarch_ is now known as StoneMonarch === h00k_ is now known as h00k === rpittau_ is now known as rpittau === holbrode_ is now known as holbrode === PotatoGim_ is now known as PotatoGim === tomreyn- is now known as tomreyn === AsenMx_ is now known as AsenMx === madhens_ is now known as madhens === mort8 is now known as mort === cryocaustik76 is now known as cryocaustik7 === KnownSyntax_ is now known as KnownSyntax === westor is now known as Guest6475 === frickler_ is now known as frickler === oerheks_ is now known as oerheks === tisiphone is now known as onepict === ogra` is now known as ogra [18:40] hello chan, got a bit of a headscratcher with kernel patch 5.11.0-44 on hirsute apparently breaking usb, any ideas? [18:41] seems rolling back to a snapshot of 5.11.0-41 fixes the issue but upgrading to impish/5.13 does not [18:42] balticsun: almost end of life, perhaps move to another ubuntu release? [18:42] lotuspsychje: same issue on impish unfortunately === rvgate3 is now known as rvgate === mort1 is now known as mort === TonyL is now known as DarkG === tomreyn_ is now known as tomreyn [18:44] balticsun: use a non EOL release, we don't support EOL ones [18:44] tomreyn: i have upgaded to impish but that didn't fix it. only rolling back to a previous snapshot has achieved usb working again on my device [18:45] impish has 5.13 though [18:45] the issue is present when running 5.13 [18:46] balticsun: so whatever happens also happens on 5.13? [18:46] balticsun: feel free to share a dmesg booting 5.13, and maybe volunteers can trace useful errors [18:46] and your device is? and whats the difference in logging for this device on the working vs non working kernel? [18:46] have you tried different devices, usb ports, usb hubs? [18:48] thanks for the tips, i will go pull the logs [18:48] all the usb ports on my intel laptop stopped working after an update [18:49] add yourself to https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1956849 ? [18:49] Launchpad bug 1956849 in linux (Ubuntu) "Almost all USB ports suddenly stopped working; unbootable" [Undecided, New] [18:50] nice find oerheks [18:50] oops, i wasn't aware [18:51] yeah nice find, thanks. it has killed usb2 as well as 3.0 in my case as well [18:51] balticsun: do you know howto affect a bug? === l0de_ is now known as l0de [18:52] lotuspsychje: affect it? in what sense, sorry [18:53] balticsun: on the bug ID oerheks found, press, yes this bug affects me in the left upper corner [18:53] how to "me too" a bug 🙂 [18:53] ah! yes i will do that then [18:54] tnx balticsun that will also auto confirm it === BlessJah_ is now known as BlessJah [18:59] got a question i got a dual cpu mainboard and i play games on it each cpu has 4 cores and 8 threads so times two that would be 8 cores and 16 threads now if i wrote this into steam would it use 8 cores and 16 threads. [19:00] in short how do i get steam to use all the cores [19:03] marc_, what have you tried so far? [19:03] if they are enabled, no need to do something special? dmidecode -t4 | egrep 'Designation|Status' [19:04] https://pastebin.com/71EMizBE [19:04] which ubuntu + kernel version are you on? [19:04] and i wrote this in steam options -cpucount=8 -exthreads=16 [19:05] 5.13.0-25-generic #26-Ubuntu SMP [19:06] that's the kernel version. and lsb_release -ds says? [19:06] how do i get that up [19:06] just run the command and post its output [19:07] should be just one line [19:07] i have the dmesg logs now if anyone is interested in taking a look! many thanks https://pastebin.com/Wp0s8ry6 [19:08] i can already see the xHCI host controller is reported as not responding [19:08] https://pastebin.com/Ke8n4Gmj [19:12] anyone having problems with the latest firefox closing on it's own? come to think of it, gedit closed when i clcked on minimize icon the other day [19:15] marc_: so you're on Ubuntu 21.10 with kernel 5.13.0-25-generic #26-Ubuntu SMP. and you know that all cores ar enot being used because what? [19:17] they are all working, but one canot assign *all* cores to steam, what does ubuntu have to use? [19:17] i could understand a dedicated cpu to steam.. [19:19] I will be upgrading to E5-2687W v2 soon so it will have more cores to use [19:20] ok i seem to have lost the old kernel, what's the best way to reinstall 5.11.0-41-generic, as its unavailable in apt? [19:21] i could set it to this for now -cpucount=6 -exthreads=12 [19:22] I just had a crash while running a system upgrade (lubuntu 20.04.3). In syslog, the line that starts it looks like this: kernel: [ 7266.781137] invalid opcode: 0000 [#1] SMP NOPTI [19:22] What would cause that kind of thing? Full messages here: https://paste.ubuntu.com/p/KRthXzmrxF/ [19:23] trying to find that specific kernel release on kernel.ubuntu.com so i can just dpkg the debs but im kinda lost tbh, i can find 5.11 but not ...-0-41-generic [19:23] old kernel images are removed off mirrors after a while [19:25] what does that mean 'invalid opcode' [19:25] is there anywhere else i can source it then? i need that version again for my old snapshot to boot [19:26] balticsun: the sources should still be on launchpad.net, if you're happy to build it [19:29] i dont really know how to build it but i guess ill look into it, thanks [19:29] sem: the latest amd64 5.4 kernel image is -94, you had -92 there. but this looks more like you should be running a memory test. [19:30] https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.11/ [19:30] is that it [19:30] tomreyn, this crash happened as I was upgrading. I'll try to fix dkpg -a and run the memtest from bios [19:31] tomreyn, for some reason I can find linux-headers for -92 but not -94 in apt [19:32] my graphics driver depends on the linux-headers to install [19:33] sem: maybe your apt mirror is outdated and you're not using security.ubuntu.com as a mirror for security updates? [19:34] marc_: those are unsupported test builds [19:34] i found it - I was using Muon package manager which somehow did not find it with the search 'linux header ' but it found the others. I am installing it now [19:36] I also installed the 'linux-headers-generic' package now so hopefully future updates will also bring in the latest version of the headers [19:40] Running memtest... Should I have forced SMP, or does that not matter [19:44] Probably since the error opcode mentioned smp [19:45] Hmm memtest may have crashed. [19:46] Stuck on 72% on test #2 [19:48] Hey guys. I'm trying to run xen-utils-common but when I try to install it says it's at the most recent version. But I cannot find a configuration file which everyone says is located at /etc/xen [19:48] (everyone on google search anyways) [19:50] and your ubuntu version is? [19:50] 20.04 LTS [19:52] dpkg -L xen-utils-common | grep ^/etc will list the files installed by the package [19:52] thanks tomreyn [19:54] amazoniantoad: you may have manually removed the configuration files. if so, you can sudo apt install --reinstall -o Dpkg::Options::="--force-confask,confnew,confmiss" xen-utils-common [19:54] Thanks. The config file is definitely missing [19:54] Let me try that [19:56] tomreyn, I ran that command but I get an error: need an action to perform [19:56] I just double checked the command and I entered it in as you had written it [19:57] amazoniantoad: sounds like you missed "install" or the hyphons in front of "reinstall" [19:58] that's two hyphons, in case oyu have a bad font there [19:59] Hm... [19:59] Let me try and copy and paste your command [20:00] tomreyn, my computer just shut down? Unrelated to this obviously but I think the computer is failing. This is a fresh install as well so I think it's the hardware. [20:00] brb === Leoneof|2 is now known as Leoneof [20:02] amazoniantoad: nothing i can do there. yes, unrelated. [20:03] I'm going to continue inside of a virtual machine, so I can see how this all works. [20:04] xl.cfg perhaps? http://manpages.ubuntu.com/manpages/trusty/man5/xl.cfg.5.html [20:05] Memtest86+ keeps freezing at the same spot: test 2, 72% [20:05] Does this indicate a faulty memory stick [20:05] probably, yes [20:06] sem: quite likely. but we're reallyjust dealing with ubuntu here. try #hardware [20:06] Hmm ok [20:06] it's also not unheard of with 15yo hardware [20:15] sem: you might try swapping slots, see if the error follows the module. [20:24] Thanks jhutchins I'll try [20:25] how to set a custom dns server for my connection with a custom dns port? [20:26] what have you found sofar, mannequin ? [20:27] mannequin: https://askubuntu.com/questions/1296750/how-to-specify-a-port-number-for-dns-servers-with-netplan [20:28] leftyfb: how to set a custom port there? === Cueball_ is now known as Cueball [20:28] mannequin: why do you have a dns server running on a non-standard port? [20:29] yes [20:29] mannequin: why? [20:29] does not matter [20:29] it does [20:29] it's dnsproxy [20:29] i want my requests go trought tor [20:30] you could probably get iptables or nftables to do port forwarding for you to run things on nonstandard ports [20:31] there is a port number secion in dnsproxy.conf [20:32] This should be somewhere in the tor documentation. [20:32] the port is taken by systemd-resolved [20:32] it wont work [20:33] and if i disable systemd-resolved i wont have dns at all [20:33] mannequin: so disable systemd-resolved if you're going to be using the proxy [20:33] then i will have no dns at all [20:33] it's mandatory [20:33] you will, you just need to relink /etc/resolv.conf [20:33] it's not mandatory [20:40] How to do that, leftyfb ? [20:41] mannequin: https://gist.github.com/zoilomora/f7d264cefbb589f3f1b1fc2cea2c844c # first result on google for "ubuntu disable systemd-resolved" [20:42] mannequin: or https://support.tools/post/how-to-disable-systemd-resolved/ 2nd result. I think you might need to create resolv.conf yourself. If you're configuring your own dns anyway, do it through there [20:46] hi again, also my jack headphones don't work on ubuntu 21.10? [20:46] I still get no małe resolution [20:46] is this also a bug or i'm doing something wrong [20:47] mannequin: ls -l /etc/resolv.conf | nc termbin.com 9999 [20:49] I got It set to 127.0.0.1 [20:50] mannequin: that is wrong and isn't what I asked for [20:51] mannequin: it also shows that you didn't follow either of the links with instructions I posted for you [20:51] Its not wrong i want to use dnsproxy [20:51] mannequin: ls -l /etc/resolv.conf | nc termbin.com 9999 [20:52] I have no dns running [20:52] Do you understand [20:52] then edit /etc/resolv.conf and point it to 1.1.1.1 [20:54] ok i want it to be at 127.0.0.1 since i want my dns go trought tor [20:55] mannequin: ok, so unless you know exactly what you are doing and do not need any help with this, then I suggest we take this 1 step at a time and follow the given instructions in order to accomplish your end goal [20:57] mannequin: cp /etc/resolv.conf ~/ && echo "nameserver 1.1.1.1" |sudo tee /etc/resolv.conf [20:57] mannequin: the first step is to disable systemd-resolv.conf and confirm it's been done properly and completely [20:58] if the end goal is a system which provides you with actual privacy without leaking dns or other requests, then you you should be using TAILS, not try to re-engineer that. [20:58] or that ^ === PonyBlocks-_- is now known as PonyBlocks [20:58] dnsproxy ánd tor.. dns-tor-proxy ? [20:58] Dude the service is disabled and dnsproxy is running [20:59] anyone see anything wrong with this script for incron? :) https://pastebin.ubuntu.com/p/MSgnVnw2tx/ [20:59] mannequin: dude, do you want help or not? [20:59] mannequin: if you answer yes, we will proceed [21:01] Of course thats why im Herę [21:01] Here [21:02] mannequin: cp /etc/resolv.conf ~/ && echo "nameserver 1.1.1.1" |sudo tee /etc/resolv.conf && ( ls -l /etc/resolv.conf ; host ubuntu.com ) | nc.termbin.com 9999 [21:03] well, don't run the first part if you already ran it before [21:03] sorry [21:03] no big deal either way === PonyBlocks is now known as purple_sarco [21:07] mannequin: it should take under 2 seconds for that command to run and give you a URL to post here [21:08] yeah it's not working [21:08] d'oh [21:08] mannequin: define not working. There should be an error of some sort somewhere [21:08] nc.termbin.com [21:08] bah [21:08] the commang just hangs in there doing notjing [21:09] mannequin: ( ls -l /etc/resolv.conf ; host ubuntu.com ) | nc termbin.com 9999 [21:14] mannequin: ? [21:16] mannequin: if the command is still hanging, then we need to take smaller steps [21:26] i will take this to ##networking at this point [21:26] this is not ubuntu issue anymore [21:26] this is dnsproxy configuration issue [21:27] :/ === gry_ is now known as gry [21:39] hey, sorry i was interrupting, but anyone has an idea why my jack headphones won't work in ubuntu 21.10? is it a bug? [21:40] i do not understand why this wouldn't work lol [21:41] is there unsupported drivers for jack ports or wtf [21:42] sorry anzer, it's just that most people don't use jack, so knowledge around it is pretty thin :( [21:43] anzer: you could try the #lau channel -- folks with more adventurous audio needs hang out there and may have suggestions [21:45] anzer: are you running "jack" server for your audio on your machine or are you just referring to headphones as "jack headphones" because they plug into a "headphone jack"? [21:46] oh lol good question [21:46] sorry for being french lol :) i mean my headphones connected to the port, not a server leftyfb [21:47] like headphones with a cable and you connect it to the computer lol === RikMills__ is now known as RikMills [21:47] try running pavucontrol and looking around it a bit while audio is supposed to be playing -- it's usually enough to figure out what's wrong [21:50] this works with pavucontrol, but gnome settings don't show the option to play on headphones, why? [21:50] additionnally, only one hear works, i think something is wrong with the computer itself? headphones work great with my iPod [21:51] anzer: ubuntu cannot be expected to fix hardware issues [21:51] yeah that was my question [21:51] anzer: when it comes out of only one side, that's usually fixable by wiggling the connector or the wires [21:53] ok, thanks for the help mates, stay safe! [21:53] good luck :) sorry for the trouble [21:53] you're helping me i won't complain! [21:57] it's my first time in years using linux on a laptop and ubuntu (gnome) has changed so much for the better, really incredible === jje7 is now known as jje [23:24] anzer: Sometimes the plugs don't match the sockets, sometimes the drivers don't really line up with the hardware. [23:25] anzer: Are you using stereo headphones, or headphones with a mic? [23:25] hi jhutchins, i'm using headphones with a mic. Apple Earpods [23:29] anzer: Any interesting effects depending on how far in the plug goes? Push it in a little farther, or listen while you slowly move it in and out? [23:30] jhutchins, actually yes. It's like the jack is broken or something, but it works great on my iPod. I'm starting to think it is hardware problem. [23:30] look at the rings. are there two rings? one ring? 3 rings on the hack [23:30] jack* [23:30] there are 3 rings [23:31] inserted in green port on the sound card? [23:34] anzer: Jack on motherboard or on separate card? [23:35] I have no idea for both questions, sorry. :( Can I check that? [23:35] (thanks for trying to help me) [23:36] anyone having problems with the latest firefox closing on it's own? come to think of it, gedit closed when i clcked on minimize icon the other day [23:37] Hi there [23:38] Question - how can I check which programs use the audio? Seems there is a program that makes the audio to interupt and I want to see all programs that use the audio and delete the one makes troubles [23:39] maybe you're mixing ALSA & OSS audio [23:40] maybe you have an application that's not even using audio, but is causing a lot of disk traffic, and that causes the system to stutter [23:43] No, because it makes it with the online sound as well - like YouTube and with localc - from hard disk [23:47] I have ALSA https://i.imgur.com/3oQrI7z.png [23:54] I see the cards, but not the applications that use them [23:54] fuser -v /dev/snd/*