=== spit1 is now known as banjoOFpancakes [00:23] what package provides cryptsetup? `apt-file search $(which cryptsetup)` returns nothing [00:24] dabbler: try it without the 'which' [00:24] dabbler: my guess is that the path that 'which' returns to you is not the path that the file is stored with in the dpkg database; it's related to, but different than, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=134758 [00:24] -ubottu:#ubuntu- Debian bug 134758 in dpkg "dpkg-query: Make -S handle unowned symlinks resolving to owned pathnames" [Wishlist, Open] [00:25] can you not include a path to narrow the results? [00:25] you can [00:25] you just have to use the exact path that's in the dpkg database [00:25] dabbler: the package name is cryptsetup [00:27] ... well that's odd. I expected to find it with apt-file search /usr/bin/cryptsetup. [00:27] sarnold: thanks for explaining with that bug report. i get the issue [00:27] dabbler: dpkg -S $(which cryptsetup) [00:28] .. sbin, not bin, but now wtf :) [00:28] i've been having an evening of "wtf" lmao [00:29] aaaaaaa there we go, I'm back to normal now. man I hate this mess. === rbmarliere_ is now known as marliere === marliere is now known as zaratustra [00:35] my cryptsetup isn't a symlink, but apt-file still turns up nothing [00:35] try to apt-file update [00:35] leftyfb: i did see your answer. thanks :) [00:36] it's not in the apt-file database [00:36] actually, I THINK the file is actually part of the snap core now [00:37] the apt cryptsetup package says " This package provides the cryptdisks_start and _stop wrappers, as well as luksformat" [00:37] https://packages.ubuntu.com/jammy-updates/amd64/cryptsetup-bin/filelist [00:37] *-bin* [00:38] except that's not even the right path [00:38] oh right [00:38] what i set out to determine is the best forum in which to ask about cryptsetup hanging when it didn't use to do so with the same command on the same system [00:39] is the answer "here"? :) [00:39] hanging, during boot? which command? [00:39] amd gpu ? [00:39] https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/2029396 [00:39] -ubottu:#ubuntu- Launchpad bug 2029396 in linux-firmware (Ubuntu) "20230323.gitbcdcfbcf-0ubuntu1.4 borks amdgpu" [Undecided, Confirmed] [00:40] reverse firmware update, seen this before today === chris14_ is now known as chris14 [00:41] oops, wrong channel, ignore [00:41] `cryptsetup luksFormat --type luks2 --hash sha512 --cipher aes-xts-plain64 --key-size 512 --pbkdf-memory 1327968 --pbkdf-force-iterations 42890 /dev/sdb5` [00:41] dabbler: so, you're going to hate this so very very much. https://termbin.com/weet [00:42] dabbler: why do you need all those very specific paramters? [00:42] dabbler: the cryptsetup-bin package puts the cryptsetup executable in /sbin. but that's a symbolic link to /usr/sbin these days because of course it is :( [00:43] dabbler: have you tried running luksFormat without all the custom parameters? Maybe process of elimination to see if one of them is causing the issue? [00:44] leftyfb: i don't need those exact numbers. they're just the result of the automatic benchmarking it did when i formatted another partition on the same device. i'm just trying to format another one with about the same level of security without having to worry about whatever else my comp might be doing in the background [00:44] dabbler: process of elimination [00:44] the option that causes the hang is --pbkdf-force-iterations [00:45] ok, so now you have a starting point [00:45] are you sure it's hanging or just taking a long time? [00:46] dabbler: https://gitlab.com/cryptsetup/cryptsetup/-/issues/567 someone there says upgrading their bios solved it for them [00:46] -ubottu:#ubuntu- Issue 567 in cryptsetup/cryptsetup "cryptsetup freezes with 100%CPU usage on luksFormat" [Closed] [00:46] https://gitlab.com/cryptsetup/cryptsetup/-/issues/610 [00:46] -ubottu:#ubuntu- Issue 610 in cryptsetup/cryptsetup "--pbkdf-force-iterations is broken - seemingly locks up cryptsetup" [Closed] [00:46] "Sorry, but it works as expected... if you wait a few hundred years, it will finish, eventually " [00:46] time could be a problem :) [00:46] ravage: lol === shokohsc5103 is now known as shokohsc510 [00:48] that last link suggests maybe a different kernel? [00:48] what doesn't make any sense to me is that if i specify the same benchmarking interval i used before, 4 seconds, instead of forcing the number of iterations, it completes as expected in <5 secs. it ends up using something like 25k or 30k iterations. but if i force 43k, it'll use half the computing power of my machine for as long as it takes me to kill it. (i think i've waited 30 mins before.) [00:48] dabbler: which release of ubuntu? [00:48] 23.04 [00:49] why do you need this much custom hardened security on a release that will be EOL in less than 5 months? [00:50] leftyfb: I don't. It's just the release I have installed [00:50] I don't want to downgrade just to luksFormat [00:51] Just use the defaults and it will probably finish within a few seconds [00:51] You really make it "harder" than it needs to be [00:53] if there's a bug, isn't it better to learn it sooner rather than later? :) [00:53] !bug | dabbler [00:53] dabbler: 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. [00:54] you initially discussed that this is about "cryptsetup hanging when it didn't use to do so with the same command on the same system". something else will have changed, though, i'd suggest trying to find out what did. [00:55] I'm gonna guess a kernel update [00:55] that's my guess too [00:55] it could also be cryptsetup defaults, such as a different default pbkdf [00:56] (your command did not specify which algorithm to use) [00:56] there will have been a few hotfix updates. default pbkdf hasn't changed: argon2id [00:57] dabbler: I would try booting to a previous kernel [01:02] leftyfb: good idea. know a good way to get release dates of releases within 6.2? [01:02] dabbler: I would just start with booting into the previous kernel already on your machine [01:03] ok. i think i may need to go back further, but i'll try it. bbs [01:05] Unfortunately I only made by /boot large enough to comfortably hold 2 kernels [01:05] :( [01:06] So many to-dos 😣 [01:12] 6.2.0-25 still affected. It's ok to remove the same kernel version I'm running when I still have installed a later version that I know works (other than this issue), right? [01:13] aptitude's warning's just is making me second guess [01:14] do not use aptitude [01:14] ever [01:14] How come? [01:14] because it causes huge problems [01:17] dabbler: if you need one of those kernel modules that's not currently loaded, you can have a sad time [01:24] Hi! what happened with vlc (snap edition)? not working anymore. How to check what happened? [01:25] alevykh: what happens when you type "vlc" into a terminal and hit enter? [01:27] leftyfb, https://pastebin.ubuntu.com/p/2XY7mpZwhK/ === spyspirit0 is now known as spyspirit [01:32] alevykh: maybe try reinstalling it [01:34] alevykh: you could also try https://github.com/keshavbhatt/olivia/issues/95#issuecomment-774747492 [01:34] -ubottu:#ubuntu- Issue 95 in keshavbhatt/olivia "Fontconfig warning: FcPattern object weight does not accept value [0 205)" [Closed] [01:34] leftyfb, no effect. dmesg here https://pastebin.ubuntu.com/p/R4WC5qRTGB/ [01:35] alevykh: did you try the commands in the github link? [01:36] alevykh: it might be worth asking in #videolan -- they advertise that channel on https://www.videolan.org/support/ === deepSleep is now known as Guest1212 [01:40] leftyfb, omg, thanks! https://github.com/keshavbhatt/olivia/issues/95#issuecomment-774747492 helps me [01:40] -ubottu:#ubuntu- Issue 95 in keshavbhatt/olivia "Fontconfig warning: FcPattern object weight does not accept value [0 205)" [Closed] [01:45] Trying to boot 6.2.0-24 throws me into recovery [01:46] Idk what's a problem and what isn't in the log it refers to === gnuself1 is now known as gnuself === gnuself1 is now known as gnuself [01:57] Why would systemd-remount-fs.service fail to start under 6.2.0-24, but work fine under 6.2.0-26, when linux-image-6.2.0-24 reinstalled without error? [01:58] what error does the service give === spyspirit4 is now known as spyspirit [02:14] rbox: none that I can see in the log [02:14] systemd just says it failed to start [02:15] check the journal [02:15] journalctl -u [02:16] Oh, sorry it was up farther. "tmpfs: unknown parameter 'subvol'" [02:17] "tmpfs" does not appear in my fstab [02:21] Or it's "/bin/mount for /run exited with exit status 32" [02:47] thrice: ^ [02:49] sorry, I'm not sure about your error, was only describing how to fetch the log [02:50] thrice: gotcha. Thanks [02:50] hello, the august 1st gcc update broke fontforge, it's not working properly, there are rounding errors and it crashes [02:59] Yukinoroh: you mean fontforge no longer builds properly using the updated gcc? [03:00] Yukinoroh, without release details we can't know/guess what upgrade you're asking about; package or at least release details are always useful (also which repos you're using; eg. is this a proposed upgrade? or just hit updates/security etc?) [03:04] dabbler: package in ubuntu is broken, a fontforge based script that I used just a few days before the gcc update now crashes with errors... didn't modify anything in that script [03:05] it goes like " Winding number did not return to 0 when x=77.9998", and googling tells me that it has to see with float rounding errors... but this compiled just fine few days before the gcc update [03:07] Does fontforge itself use gcc at runtime? [03:07] dabbler, I think so [03:08] https://pastebin.com/yHyqd6ZF [03:08] these are the updates that now cause fontforge to malfunction [03:08] https://pastebin.com/yHyqd6ZF [03:08] somethign in there definitely... because I didn't change anything in that fontforge script :( [03:09] and it's also the public ubuntu release of fontforge [03:09] 2019 version [03:11] Fontforge may need updating, rather than gcc being broken. I'd ask about it in a support channel specific to fontforge [03:11] that's exactly what I'm thinking [03:11] last version is of 2023.01.01 [03:11] quite outdated IMO [03:11] I'm trying to run the script out of the AppImage but it's not working well with command line [03:13] Distro versions of software generally lag a bit, especially when the distro is based on debian like Ubuntu is. Check what version is in the current stable debian repo [03:13] dabbler, I think the issue is that ubuntu is packaging a quite old version of fontforge [03:14] let me try to do the same operation within the GUI, see if even the newest appimage does the same thing [03:14] Packages generally need to be updated in debian before Ubuntu can pick them up [03:16] Is there a snap for fontforge? [03:17] dabbler, it's an appimage [03:17] which doesn't work in command line [03:17] that's why I'm stuck [03:18] Understood, but snaps might not have the same limitation. (I haven't played with any, so idk) [03:18] right, the appimage seems to work, if I perform the same operation in the UI version of fontforge [03:18] it's annoying to do that by hand for 20 fonts though [03:19] If there's no snap version and/or a snap version wouldn't work via command line either, your fallback is building a more recent version of fontforge from source [03:20] there's no snap it's an appimage [03:22] Yukinoroh: https://github.com/fontforge/fontforge/blob/master/INSTALL.md [03:24] weird, even the older version doesn't bug in the UI [03:24] not sure what's going on [03:28] maybe the .pe script uses gcc as a backend, should try with a .py python script [03:40] dabble: seems to work... changing the script to a python script works [03:40] so probably linked to gcc indeed [03:41] oops no [03:41] nevermind (¬_¬) [03:41] damn [04:38] Hi, just a quick question on ubuntu pro. What do I need to do if I've cloned a VM that was already attached to pro i.e. what do I need to do on the new Vm so it's treated as a new server with its own subscription? === deepSleep is now known as Guest3005 === JanC_ is now known as JanC [06:09] arf... even the newest version of FontForge is broken with the new gcc === lubuntu is now known as pb95 [06:24] Sudo pro command not found [06:24] How can I fix that in 14.04 ? [06:24] !14.04 [06:24] Ubuntu 14.04 LTS (Trusty Tahr) was the 20th release of Ubuntu. !End-of-life was April 25th, 2019. Paid support (ESM) is available. See also !esm, !eol, !eolupgrade [06:25] Yes I am trying to link esm but it says pro command not found [06:26] It's only supported as a paid subscription so contact sales [06:26] We don't support ESM/Pro... but UA is available for14.04 (UA is the older version of Pro) [06:28] last version of gcc broke fontforge [06:28] both the ubuntu version and the newest version cannot remove overlaps properly [06:29] I'm stuck :/ [06:29] Yukinoroh: which version of fontforge? [06:29] tarzeau: both the newest appimage and the one in the ubuntu repository [06:29] I end up with "Winding number did not return to 0" and "monotonic is both needed and unneeded", while I didn't just a few days ago... witht he same build script [06:30] so 20230101 ? [06:30] hello [06:30] yes [06:30] do you have a test case i can try myself? [06:30] before the august 1st gcc release I could remove overlap with no errors [06:31] can you help me to figure out the reason for my ubuntu server reboot frequently [06:31] what has gcc to do with fonts? [06:31] webchat94: dmesg -Tw output? [06:31] My server has ubuntu 20.04LTS [06:31] tarzeau, I think fontforge uses gcc ... well it's the only possible explanation, I used this build script on july 30th, and today it just bugs [06:32] meanwhile there was a gcc security update [06:32] Yukinoroh: no gcc builds fontforge binary. that's it [06:32] or clang, or any c compiler. [06:32] Yukinoroh: maybe you're lucky at https://github.com/fontforge/fontforge issues searching? [06:32] i just think your input data broke. but *shrugs* [06:32] can anyone help me to resolve my ubuntu server reboot issue? [06:32] webchat94: i just did === webchat94 is now known as Jerfin [06:33] tarzeau, could be gcc or something else within the release [06:33] I wish I could downgrade to check :/ [06:33] all the previous gcc versions are zapped from the internet [06:33] in just 2 days [06:33] Jerfin, please don't repeat requests, and reply to questions you were asked (eg. request dmesg outpot via pastebin link for example) [06:34] Yukinoroh: do you see some helpful msgs when you run fontforge from commandline? [06:34] tarzeau, no, it just bugs [06:34] so you can't start fontforge at all? [06:35] tarzeau, https://pastebin.com/J1vkHVWq [06:35] I didn't get this just on july 29th [06:35] now after the gcc upgrade this is what I get [06:35] Yukinoroh: that's when you load a font? [06:36] that's when I remove the overlaps [06:36] can you share your font or not so much? [06:36] not the whole file it's too big, japanese font [06:36] https://pastebin.com/rxEZHGrE [06:37] these are the updates that went on august 1st [06:37] well if you're on 20.04 how come you have fontforge 20230101 and not 20201107? [06:37] Yukinoroh: dpkg -l fontforge ? [06:38] tarzeau, as I said, I tried with both the current ubuntu version and the new appimage [06:38] same result [06:38] same errors [06:38] i don't care for appimage [06:38] well be it 20201107 then [06:38] it started bugging this month [06:39] for me whole file is not too big.. so share if you can [06:41] sorry I can't share the font [06:41] sorry I can't help you [06:41] thanks anyway, gonna try looking for other solutions [06:48] ok what now :F [06:49] gdm login screen, does not list my username, then asks for smartcard password?! :'D [06:49] I did not enable any such things [06:49] can use console login only :'D [06:50] in general, if people are going to use legacy systems, it is usually because there is some tricky application they depend on that requires nothing ever change (or some other dream state that simply can't be attained). when this occurs, you need to plan for disaster. you setup the system, get it working perfectly, then clone the system volume regularaly and store those backup clones offsite. then 5 years later, when some update or other problem occurs, you [06:50] are back up and running 20 mins later from that clone. or, make it a VM and do a snapshot. [06:54] ok so *now* if I've got yubikey plucked in when rebooting, gdm thinks I *want* to login with that [06:54] of course I *don't want* [06:54] because it is always plugged in, it is just external protection :D === markthomas1 is now known as markthomas === lesbraz is now known as sbraz === Bebef is now known as Guest7767 === tomaw_ is now known as tomaw === Fisher244599 is now known as Fisher24459 === JanC_ is now known as JanC === nishit is now known as nishit_ [08:39] Hi my partitions in ubuntu is showing encrypted(before it was windows OS, NTFS) there was no data in the 2nd HDD partitions so how can I get rid of encrypted partitions? [08:39] wanna mention linux is installed on 1st SSD which is working just fine(ext4 formatted). [08:58] how to automatically execute a script whenever update-initramfs has finished running? === black_ is now known as scottpedia === Vercas1 is now known as Vercas [09:50] Has anyone faced an issue of Steam Launcher lagging on Ubuntu inspite of having a High End PC? Do you know any Possible Fix? [09:50] Lagging? Can you describe the issue? [09:53] My Ubuntu runs smoothly. But whenever I open Steam Launcher, it will start lagging (like it will process on 1 FPS lol) [10:40] I'm trying to setup LUKS without nuking my windows partition. I've done this before on arch, but I can't figure out how to convince the ubuntu installer to do this [10:40] Anyone got any pointers? [10:48] leont: can this help? https://linuxconfig.org/basic-guide-to-encrypting-linux-partitions-with-luks [10:56] also https://cryptsetup-team.pages.debian.net/cryptsetup/ [11:35] hello all, I was getting the source code for glibc packages when I tried to build it's generating an error  tthe programs are missing or too old: gcc and make [11:40] Niclos: why not use the glibc that comes with ubuntu? (glibc-tools)? [11:45] weedmic:the default one is not compatible with the gcc 9.2.0 and Python 3.6.8. [11:46] ic - I'll give you the archive location - just a sec [11:49] http://archive.ubuntu.com/ubuntu/pool/main/ === JanC is now known as Guest8450 === JanC_ is now known as JanC [11:58] Hi all [11:59] weedmic: I already build python3 version 3.6.8 and gcc version 9.2.0 and I download the tar.gz files for glibc version 2.17 but when I tried to build the Glibc is generating an error " the programs are missing or too old: gcc and make" === remy_ is now known as Remy [12:17] hello. are multiple version of glibc installed as default on ubuntu? If so, how can I list them? [12:19] there is only one version installed. maybe 32 and 64 bit [12:22] ravage: yeah, just checked that I can obtain che compatibility list with strings /usr/lib/libstdc++.so.6 | grep LIBCXX === onepict is now known as tisiphone === tisiphone is now known as onepict === incomming_calls is now known as zerotwo === vcxza is now known as p4o0op === tofohty1 is now known as tofohty === Reign` is now known as Reign === shokohsc5102 is now known as shokohsc510 [12:48] I tried to build glibc version 2.17 using the source code and its generating an error " the programs are missing or too old: gcc and make" [12:48] Hi all! Anyone here uses Sanoid/Syncoid? [12:50] Niclos, on what ? and is that for your hackish attempt to force an unsupported python into your ubuntu again (about which you were told a few times now that this can not be supported here) ? [12:52] (2.17 is very old and as not been in a supported ubuntu release since 10y or so) [12:52] s/as/has/ [12:57] ogra: I know that is old version but We need for dev. [12:58] well, it has only been supported in EOL releases (12.04 or 14.04 i think) tat are 10+ years old .... nothing that can be supported here ... and even if you get it built, you wont be able to install it without breaking the whole distro [12:59] every lib and binary is linked against glibc ... if you swap it out th world will break [13:02] so I can not build from the source code in a separate environment? [13:03] you can even build it on the current env (if you find the correct versions of tools it expects) but you wont be able to install it anywhere [13:04] one could do it by creating symlinks where the old code points to x (which no longer exists), but x.x does. however, it takes a very long time to get it done (and might not even work) Niclos [13:05] but either way this is nothing we can really support in this channel ... [13:05] can't you go back to a backup of a state where the machine was working, restore it, and work from there - perhaps convert it to a vm and create a snapshot? [13:05] true - dat is waar og [13:05] ogra [13:09] Have the test VM, but when I tried it generate the error. === abcX is now known as Guest1856 === Guest1856 is now known as abcX [15:09] how to automatically execute a script whenever update-initramfs has finished running? [15:15] ice9: there should be a hook and a directory to place scripts in for this hook in /etc [15:20] ice9: https://manpages.ubuntu.com/manpages/xenial/man8/initramfs-tools.8.html#hook%20scripts - those don't just run on updates only, though. [15:20] hook scripts go into /etc/initramfs-tools/hooks/ [15:21] hook scripts installe dby packages go into /usr/share/initramfs-tools/hooks - where you can find several examples, too. [15:24] helper functions exist in /usr/share/initramfs-tools/hook-functions [15:45] I read that ubuntu may omit core apps like libreoffice/thunderbird from 10.23. Will they replace them with lighter apps like Abiword/Gnumeric and I guess Seamonkey? [15:45] where do you read that? [15:45] https://debugpointnews.com/ubuntu-drops-libreoffice/?amp=1 [15:48] mantic is in development, and the bugreport is just a bugreport. no talk about removal at all...? [15:49] Yep I am trying to get UA in ubuntu 14.04 but it says pro command not found on "sudo pro attach " [15:50] stolen: in 14.04 is was still called "ua" [15:51] so the command will be "sudo ua attach " ? [15:51] a quick google confirms it [15:51] good [15:53] do understand, EOL releases even under ua/pro are still unsupported by the community. You'll need to reach out to Canonical for any further support with 14.04. Which btw, 10 years will be in 8 months. After that, you have zero support from anyone for it === Rockwood_ is now known as Rockwood [15:55] Not my machine, it's at my university. they are revamping the machines soon [15:55] they have 8 months :) [15:55] it's a public uni running dry on funds [15:56] they've had 5+ years to work on this [15:58] the people of my state are just outright lazy tbh. They still think ubuntu 14.04... duh works... no need to upgrade [15:59] stolen: keep running an eol release is bad practice, they will punish themselfs soon [17:15] Hey! I cannot boot the Ubuntu 22.04.2 iso on Dell 7370 in UEFI mode. I tried flashing the iso in many ways. Any ideas? [17:15] Perhaps it's because the EFI partition is the 2nd one? [17:15] bitbinge: use dd [17:16] bitbinge: after dd is done, run sync [17:16] the location of the EFI system partition does not matter when booting from removable media. [17:16] what happens when you try to boot what you have? [17:17] bitbinge: after you've run dd, check sudo dmesg for possible errors [17:19] akik, I did. [17:20] tomreyn, Windows boots, despite the fact I chose Ubuntu. [17:20] owner's manual, system setup: https://www.dell.com/support/manuals/en-uk/latitude-13-7370-laptop/latitude7370_om/system-setup?guid=guid-e21a2de4-c7db-4cb2-8f3e-4ff8ec4e4a1b&lang=en-us [17:20] And even if I disable Windows boot in the bios. [17:21] you may want to disable secure boot and fast boot [17:21] Secure boot is disabled. [17:21] how did you install ubuntu with fast boot on ? Through windows recovery ? [17:21] computrace, too [17:22] Disabled too. [17:22] Do you have grub up and running ? [17:23] bitbinge: use the keyboard hot key that gives you a bootable device list on computer startup [17:23] before booting, bring up the one-time boot menu by pressing F12 key, and choose the ubuntu installer media. [17:23] see "boot sequence" for details [17:24] I hit the F12 to get the boot menu, and choose UEFI USD blah blah Partition 2 which is the only non-Windows UEFI option. [17:24] Pop-os 22.04 boots just fine even without using dd. [17:24] bitbinge: don't select a partition but the usb stick [17:24] sounds like your ubuntu iso was not properly written to the usb [17:24] I just started another dd run and will check the dmesg once that's done and also the fast boot status (but I doubt that's enabled). [17:25] akik, there's no other option. [17:25] oh boy [17:25] And BTW the Ubuntu stick boots fine if I select the legacy option. [17:25] i usually recomend using balena etcher for downloading the ISO as well as writing it to the installation media. [17:28] on the bios setup, System Configuration screen options, make sure USB is set to allow Boot Support [17:28] (enabled by default) [17:29] howdy, should `sudo systemctl start someservice` return immediately to prompt while the service runs in background? [17:29] because I thought so, but starting this unit that I made I see the prompt is waiting https://termbin.com/knfa [17:29] bitbinge: do you need to disable bios/mbr boot in the uefi? [17:34] bitbinge: csm too [17:36] I have a default install of lubuntu , and I want to know how to override the DNS settings that I get from DHCP, but I want to do it preferably in a configuration file that I can place and remove. [17:37] I've googled for it, and I haven't found exactly what I'm looking for; I think I need to mkdir /etc/systemd/resolved.conf.d , and put a config file there. [17:38] w/msg ubottu dns [17:38] thanks [17:39] Guest3051: you open the connection editor, specify "dhcp addresses only", and in the dns text box, you enter the dns server [17:39] anddam, reading the systemctl.service man page, it says oneshot means "manager will consider the unit started when the main process exits", as opposed to simple which is "started when the main process forks off". Maybe you want simple? [17:39] https://help.ubuntu.com/lts/serverguide/dns.html redirects to somewherese else [17:40] Guest31: see above [17:40] Do you mean I should ask in #lubuntu ? [17:40] oh right [17:40] No [17:40] I want simple [17:41] Guest31: you open the connection editor, specify "dhcp addresses only", and in the dns text box, you enter the dns server [17:41] rfm: thx [17:41] alkisg I want to configure this using a file. [17:41] Guest31: well after you use the gui, it'll create a file called /etc/NetworkManager/system-connections/name.nmconnection [17:41] Guest31: you can also create that file manually, or with nmcli, or with nmtui [17:43] So, if /etc/netplan is saying to use NetworkManager, and NetworkManager is then controling systemd-resolvd or whatever, then I guess NetworkManager is where to attack this from [17:43] Guest3051: in desktop installations, ONLY network-manager is used. Not the other two at all. [17:44] Guest31: just use the GUI [17:44] *sigh* kids these days ;) [17:44] try again [17:44] ...yeah there are people with grandchildren here... [17:45] Guest31: why do you insist on using the CLI to make a 1 time configuration change to a network profile? [17:45] leftyfb try again [17:46] you didn't answer the question [17:46] I need to be able to swap back and forth between DHCP DNS and hard-coded DNS [17:46] why? [17:46] there might be better ways to achieve your end goal [17:47] If you must know:  My org uses DNS blocking services.  I'm trying to build a lab environment where I can switch a machine from using DHCP DNS to a hard-coded server. [17:47] ola [17:47] I want to be able to do something like "sudo activate_raw_dns.sh" [17:47] brazil??? [17:48] Guest31: nmcli con up con-with-dhcp-dns, or nmcli con up con-with-static-dns [17:48] Or just click in the menu to change the active connection [17:49] Guest31: or add or omit the following lines from your profile file https://pastebin.ubuntu.com/p/BTSWZb2gJG/ [17:50] Guest31, yes, you can try to edit /etc/systemd/resolved.conf or a dedicated file in resolved.conf.d, then a bash script (with sudo priv) that backup the file and restore it again but i guess you'll need to restart NM and seems to me a bit cumbersome [17:51] You want cumbersome?  I'm gonna make a package that drops the file, so all I have to do is install or remove the package. [17:51] ho, yes that is cumbersome :þ [17:51] Just can't figure out what to put where.  I think I tried the stuff from leftyb already [17:52] sounds unnecessary [17:52] There are certain things I'm pretty good at.  Packaging happens to be one of them. [17:52] apt install raw-dns ; apt remove raw-dns . [17:53] alternative, switch to networkd and use sed on the yaml file to change the dns line [17:54] could do the same with nmcli or editing the nm file using sed [17:54] switching to networkd seem completely overkill for this [17:54] Or by just dropping two files in /etc/NetworkManager/system-connections [17:55] No sudo needed, and people can swap the connection using the menus and the mouse [17:55] ah right, just have 2 different profiles, duh [17:56] you'll stillnedd to restart Nm, and maybe drop the connection [17:56] ioria: not restart nm. It's just `nmcli con reload` [17:56] maybe, never tried that [17:57] leftyfb by placing a similar file from your link above into /etc/NetworkManager/conf.d , I was able to get the nameserver to show up under the Global section of "resolvectl status" [17:57] however, it looks like the "link" is still using the old nameserver [17:57] and I restarted both network manager and systemd-resolved [17:57] BUT; I think there's a section in network manager to apply it to all links or something; more stuff to read [17:58] * alkisg gives up, Guest31 isn't listening [17:58] Guest31: make 2 different profiles [17:58] just switch between them as needed [17:59] An administrator should be able to create files to get the job done.  I'll stop asking for help on this topic and mentioning my progress if that's what you want. [18:00] we've given you like half a dozen ways to skin this cat. You choose the one that best suites you. Good luck [18:10] rfm: hrmm actually my service is triggered by its corresponding .timer so my reasoning (likely) was that the oneshot kept the service and if an execution was too long there were not going to be two instances of the service called [18:11] b ' [18:12] sorry, an actual 3yo stomping on the keys [18:12] *kids these days* [18:13] "Use the gui, dad!" [18:13] Guest31: lets not [18:25] OK; so, [18:25] whoops; didn't mean to send [18:32] the "OK; so," was fine, the controversial lines were the other ones [18:33] leftyfb, alkisg , Thanks for your help.  I was not paying attention to the complete output of resolvectl , and I was having caching issues.  This ended up being what I used: https://pastebin.com/urP8zkdk [18:34] Guest31: that won't work [18:34] It does; and I've tested it. [18:34] not in the way you typed it in the pastebin it won't [18:34] there is no systemd.resolved service. You are properly referring to systemd-resolved [18:34] ugh; resolved.conf.d/ [18:34] just some random file under there, like 05-override-dns [18:35] properly/probably [18:35] sure; s/\./-/ [18:36] Guest31: that will also run into issues down the road [18:37] I'm all ears. [18:37] (probably less than 5% ears literally) [18:37] Guest31: DHCP is still controlling your DNS. When your DHCP lease renews on it's own, it's going to override your changes [18:37] I can test that. [18:38] I believe I restarted network manager and got the same results.  NetworkManager (depending on the tricky symlink of /etc/resolv.conf stuff) informs things of things.  In my case, I think NetworkManager is informing systemd-resolved (no . ) ; but the override ends up being in place. [18:38] The networkmanager approach is also cool; I could make a config file for that too. [18:39] Again, just make 2 network profiles and just switch between them using nmcli [18:39] nmcli con down dhcp-dns ; nmcli con up no-dhcl-dns [18:41] ubuntu server doesn't seem to have a lot of stuff under /etc/NetworkManager .  It does seem to have stuff under /etc/systemd/ , mainly resolved.conf [18:42] "I have a default install of lubuntu" .. that is not server [18:42] ubuntu server doesn't use network-manager [18:43] ubuntu server uses netplan [18:43] Yeah, I'm on lubuntu .  And the solution I have also might work for ubuntu server [18:44] not unless you make a mess of your server and install and setup network-manager [18:45] I've done dumber things in more critical situations. [18:47] we don't encourage dumb things here [18:51] In all seriousness, I appreciate the help and the opinions. [18:56] This has been happening a lot lately and the only remedy I know is to restart the machine. I don't like restarting bc I loose the open programs / window I have and have to spend time setting everything up again only to have the situation occur again after a while. You don't necessarily SEE it happen but you notice it the next time you look at it. Is there some way to either 1. correct the problem so it [18:56] does not happen again or 2. refreshes something (the window system?) to get the content back without having to restart the machine? [18:56] sorry ignore that... [18:56] here what I meant to say.... [18:56] I keep having where the launcher bar (left side on my machine) and toolbar (top on my machine) contente disappears (sort of). I have a screenshot to show what I mean: https://imgur.com/a/yjhEKrC [18:56] This has been happening a lot lately and the only remedy I know is to restart the machine. I don't like restarting bc I loose the open programs / window I have and have to spend time setting everything up again only to have the situation occur again after a while. You don't necessarily SEE it happen but you notice it the next time you look at it. Is there some way to either 1. correct the problem so it [18:56] does not happen again or 2. refreshes something (the window system?) to get the content back without having to restart the machine? [18:57] Try restarting the display manager [18:57] ps wwaux | grep -i dm ; service gdm3 restart (?) [18:58] you won't need to reboot that way [18:58] You will lose your "open programs" if they're open in the X-windows system (wayland?) [18:58] Guest31: command is to include the `(?)` as well? [18:59] Guest31: If I lose my open windows then that is no better than restarting [19:00] My advice was bad; I thought you were having a problem with X and that you wanted to restart it without rebooting. [19:00] To clarify the desire was to either stop the problem from happening or to not lose open programs / windows when trying to get it back [19:00] Gnome uses plugins; I forget what that bar name is.  You might be able to restart the plugin associated with it?  That's where I'd look first. [19:03] blahboybaz: I would start with video drivers [19:04] leftyfb: I notice that vid drivers were updated (seems like a couple times) in the last few weeks. And microcode was updated a few days ago [19:13] akik: that's what I see in dmesg after dding ubuntu iso: [74155.744692] GPT:Primary header thinks Alt. header is not at the end of the disk. [19:13] [74155.744698] GPT:9624191 != 15116735 [19:13] [74155.744701] GPT:Alternate GPT header not at the end of the disk. [19:13] [74155.744702] GPT:9624191 != 15116735 [19:13] [74155.744703] GPT: Use GNU Parted to correct GPT errors. [19:13] [74155.744715] sda: sda1 sda2 sda3 [19:14] bitbinge: that alternate gpt header doesn't matter [19:14] bitbinge: but i'm not sure about those mismatching numbers [19:20] 12 Million Backlinks For Only $49.95 BLOW UP Your YouTube Channel Or Website! Visit: https://vidlauncher.com UNDERGROUND Safe Promo Package --- 12 Million Backlinks For Only $49.95!!!!!!!!!!!!! [19:27] Hi all, having some automount nfs trouble. I can go into the automounted directory but no files show up. Config is here. Open to suggestions: https://pastebin.com/RhR4352B [19:27] How do I determine I booted in UEFI mode? Ubuntu logo under the Dell logo on the spinner booting screen? [19:29] bitbinge: ls /sys/firmware/efi [19:30] That exists. [19:31] bitbinge: you're booted in uefi mode then [19:32] I guess what worked on this Dell Latitude is either disabling all legacy boot options or that coupled with deleting the boot entry for this pendrive. FYI before I disabled legacy even if I deleted that entry it would be recreated pointing to a path that had Microsoft in it, probably the typical path for windows booting. [19:32] This Dell BIOS is literally the worst I've ever worked with. [19:32] nelgin: here's my autofs config: https://paste.linux.chat/?d74a55e40e3e2f11#D6ZhGMd4vZXh6nG8P35r9gmTk9Sn1mEvGaYvg743xFyA [19:32] Thanks for the help everyone. [19:33] bitbinge: my acer uefi beats you any day... in the worst way [19:36] akik, thanks but I'm using autofs not systemd for automounting. I did try it and it didn't give me access to the mountpoint and I couldn't be bothered. systemd is good for parallel startup but I don't like using it for other stuff. [19:37] nelgin: thanks but i'm also using autofs [19:37] x-systemd.automount says you're using systemd's automount. [19:38] nelgin: i'll remove that and see what happens [19:39] You have autofs installed? [19:39] nelgin: didn't you see the files i pasted? === qrst is now known as plomb [19:41] nelgin: yes autofs still works now that i removed the x-systemd.automount mount option [19:41] I am trying to install https://github.com/vysheng/tg and I keep getting `error: ‘write’ reading 18 bytes from a region of size 17` the issues only mention installing libpython-dev but that has no installation candidate; I tried installing libpython3-dev but that led to the same error; I tried it uninstalling libpython3-dev and installing libpython2-dev same result [19:43] ash_m, project from 2016. .... [19:43] good luck, if it fails over python3 [19:45] ash_m, have you tried telegram-cli instead ? [19:45] nelgin: https://paste.linux.chat/?f00d80cdbab55273#9ULfM34TbwcCVRVrPn8AeRbYmP9MtjhaNP28aJ7o6mep [19:46] oh ioria it is in the repos :-D [19:46] !info telegram-cli [19:46] telegram-cli (1.3.1+git20160323.6547c0b21-3.1, lunar): Command-line interface for Telegram messenger. In component universe, is optional. Built by telegram-cli. Size 110 kB / 404 kB [19:49] Let me give something like that a go. [19:49] nelgin: it's an old asustor nas that i'm using. it doesn't do nfs v4 [19:56] Still nothing. [19:57] nelgin: try mounting it manually [19:58] It works manually, I tested it before changing to automount [19:58] nelgin: also: sudo automount --dumpmaps [19:59] Shows map is /etc/auto.nfs which shows my config. [20:00] nelgin: do you see "Mount point:" and it exists? [20:01] nelgin: also: journalctl -b 0 -u autofs -e [20:01] Hmm interesting [20:01] mounting www.sysadmininc.com:/export/bbs failed, reason given by server: No such file or directory [20:01] # showmount -e [20:01] Export list for www.sysadmininc.com: [20:02] /export/bbs 192.138.210.158 [20:02] I am using nfs4 btw. [20:03] maybe I'll restart the server with debugging and see what it throws out. This is very strange. [20:07] Ah [20:08] re: telegram-cli, I thought that _was_ telegram-cli? [20:08] nelgin: you fixed it? [20:08] No, but I think I know what it is. Hang on [20:09] showmount -e nfs_server shows the exports from remote [20:09] Oddly, that just hangs. Doesn't seem a way to specify a port for showmount [20:10] nelgin: this is for my client/server: https://paste.linux.chat/?31f5f8ca4dbf8608#3rjKp7hWK2GcrLbgivbqUeWgVhKJF9cnQpeX7aFQbyay [20:11] nfs v4 just uses one port 2049 [20:11] ash_m, no [20:12] it is on git now, see the version naming [20:13] https://pastebin.com/Lf9YJQ3b [20:13] Now THIS doesn't make any sense. [20:14] nfs4 or nfs4.2 ? [20:15] nelgin: shouldn't the "server" in the beginning of the line say "bbs" ? [20:15] Oh, I thought that was a literal, hang on [20:16] i pasted my active config [20:16] so i use "cd /mounts/asus_data4" [20:16] Nope, that wasn't it. [20:17] Ah [20:17] nelgin: this is as basic as it gets https://paste.linux.chat/?f00d80cdbab55273#9ULfM34TbwcCVRVrPn8AeRbYmP9MtjhaNP28aJ7o6mep [20:18] i don't even use any variables [20:18] one export, on mount [20:23] I give up. [20:23] nooooooooooooooooooooo [20:24] nelgin: journalctl -b 0 -u autofs -e [20:24] nelgin: nc -vz nfs_server 2049 <- from your nfs client [20:25] nelgin: something's missing if showmount -e nfs_server doesn't work [20:25] Aug 03 15:24:59 bbs.endofthelinebbs.com systemd[1]: Starting Automounts filesystems on demand... [20:25] Aug 03 15:25:00 bbs.endofthelinebbs.com systemd[1]: Started Automounts filesystems on demand. [20:29] Hi, Im learning to use the terminal. Any cool or interesting tutorial for dummies like me? [20:31] learn about pipes [20:31] root@bbs:/etc/default# nc -vz www.sysadmininc.com 2049 [20:31] Connection to www.sysadmininc.com (192.138.210.162) 2049 port [tcp/nfs] succeeded! [20:32] nelgin: something's wrong with your autofs config then if the manual mount works [20:33] nelgin: https://paste.linux.chat/?1ab06744804f1108#J6DvXHUHbq7dFJViJVDN7b2JRp6QtxQHRWjsAK8Uv519 [20:34] https://pastebin.com/e0L8AqxP [20:35] I'm not sure adding all the extra options you have would help, since the file system mounts. [20:35] tarzeau what do you mean? [20:35] nelgin: mount mount point: just says /mounts [20:35] nelgin: my mount point [20:36] nelgin: your's says /nfs/bbs [20:36] nelgin: so it probably means you should try to cd to /nfs/bbs/bbs [20:37] btw. i would not recommend exposing nfs to the internet, but only in a LAN, and use a vpn to access it remotely, if needed. [20:37] It's not exposed to the internet, it's firewalled. [20:38] Ahh, ok. Now /nfs/bbs/bbs works. [20:39] That's obviously not what I intended [20:39] i noticed it's generally firewalled, am just not sure whether you may have punched a hole into this firewall for yourself to access it from the Internet (which I would recommend against). [20:40] How would you recommend I nfs across the internet then? [20:40] a vpn [20:41] Actually, it's not across the internet, it's two servers in the same data center. [20:41] that's much better already. [20:42] nelgin: understand that cifs is easier and faster than nfs [20:42] I don't need speed. [20:44] root@bbs:/nfs/bbs# ls [20:44] testfile.txt [20:44] Alright there we go. It was my misunderstanding of the master.auto file. All sorted thank you akik. [20:45] nelgin: excellent [20:49] The only bit of the RHCE I had problems with was the automount nfs bit. I forgot to remove the target directory haha. [20:56] OK. Now that I booted this Dell 7370, turns out suspend doesn't work. At least on this Ubuntu 22.04.2 liveUSB. Once I restore from sleep I see a Dell logo that boots the pendrive again. [20:57] not the best test, live and suspend [20:57] try after installing? [21:00] Ok, that'll take time, all the backing up win, installing and restoring :/ I gotta get an external ssd for testing, I guess that should be a good enough test. [21:06] Weird, it works on another ubuntu 22.04 based os iso. I honestly think there's something wrong with this latest Ubuntu iso. Did something change? === ra is now known as Guest6712 [21:09] ubuntu 23.04 any easy way to make c++20 and modules 'just work' (tm) [21:11] I'm struggling to set them up properly, I can build them manually and have a gcm.cache dir as stated here https://devicetests.com/compiling-cpp20-modules-gcc-ubuntu but a) this is local b) this gives me still errors in my IDE (which uses clangd for analyzing my code) [21:11] bit baffled it's this hard (given this is a c++20 feature and I'm on ubuntu 23.04), so I hope I'm just doing something wrong [21:12] any hints/suggestions welcome === pr3sonic is now known as highrate [21:47] Hi [21:58] Hi, I got issues with timesyncd on a plesk ubuntu 22.04 vserver. https://bpa.st/DIUA [22:02] floogy: what do the logs say? (journalctl) [22:08] https://bpa.st/X6HA [22:13] Maybe I can something do with that? "Start request repeated too quickly." [22:16] # egrep -v '#|^ *$' /etc/systemd/system.conf [22:16] [Manager] [22:16] DefaultRestartSec=100ms [22:16] DefaultStartLimitIntervalSec=10s === root is now known as Guest437 [22:42] https://askubuntu.com/questions/1166390/systemd-timesyncd-service-wont-start Doesn't works for me [22:44] update on the telegram-cli thing: I could install it, but after entering my phone number I get, "You are using an outdated app that is no longer supported. To access your messages, please update your app to the latest version. If you don’t know how to update your app, go to https://telegram.org/dl" [22:45] I suspect that client is using an out-of-date api? === halvors1 is now known as halvors [22:57] hi [22:59] leftyfb, # ldd /lib/systemd/systemd-timesyncd [22:59] linux-gate.so.1 (0xf7fa5000) [22:59] libsystemd-shared-249.so => not found === RaGE_Syria5 is now known as RaGE_Syria [23:05] floogy: maybe contact your host provider [23:05] Hm, something is wrong with systemd https://bpa.st/NUWA [23:07] /lib/systemd/systemd-timesyncd: error while loading shared libraries: libsystemd-shared-249.so: wrong ELF class: ELFCLASS64 [23:09] floogy: you’ve either done something horribly bad/wrong or this is a custom image from your hosting provider and you need to contact them for support [23:10] # LANG=C apt policy systemd-timesyncd | head -n2 [23:10] WARNING: apt does not have a stable CLI interface. Use with caution in scripts. [23:10] systemd-timesyncd: [23:10] Installed: (none) [23:12] https://bpa.st/3PHQ [23:13] leftyfb, that did the trick. Somehow it was installed as i386 [23:13] https://bpa.st/W3KA [23:16] Which package tool is stable cli interface?Could you talk about it? [23:24] stable cli interface? [23:25] https://ubuntu.com/server/docs/package-management === whoami_6 is now known as whoami_5 [23:58] hi. i've been struggling with this issue a while now, i have an ALC236 Analog card in this laptop, and no matter which kernal module i load, can't get the mute button LED to work. it's not listed in /sys/class/led/ though there is a LED listed there that I don't actually have (scroll lock). the mute button works, but not it's LED. HP Laptop