/srv/irclogs.ubuntu.com/2024/09/26/#ubuntu.txt

=== Juesto is now known as Juest
Guest4333Hello00:17
=== paloma111 is now known as RYDeN
=== antonispgs3 is now known as antonispgs
andrew2048hello01:46
=== midnights is now known as lys
omega_doomHow to fix video drivers on 22.04? I cannot select any. There only "continue using a manually installed driver" in the software and update.03:33
enigma9o7what's broken?  what are you trying to do?03:33
Bashing-omomega_doom: Tell is more - what release, what graphic's card, how did you install the driver ?03:35
=== remy__ is now known as Remy
omega_doomBashing-om: 22.04 lts, nvidia 3080.I fixed it partially by purging all drivers and ubuntu-drivers install. But now i cannot install 545.04:36
omega_doomhttps://termbin.com/rer804:36
Bashing-omomega_doom: Looking ^.04:47
Bashing-omomega_doom: Pastebin ' sudo lshw -C display ' please.04:50
omega_doomBashing-om: https://termbin.com/rzg305:01
LuckyMana fresh install of Ubuntu is not possible?05:03
LuckyManit might be easier05:03
tomenglandis there a way to have the discord title bar not show? I installed discord through the snap store.05:07
LuckyMantomengland, I'm not a discord user, but probably you should ask discord support, not Ubuntu05:10
Bashing-omomega_doom: Nvida says the correct driver version is 550: https://www.nvidia.com/en-us/drivers/details/232672/ // beyond that I can not help much with AMD hybrid cards :(05:10
tomenglandsorry I mean the gnome ui05:10
tomenglandsome reason it adds it's own titlebar on top of the electron app when it has it's own menu already05:10
LuckyMantomengland, you should search for the project of your discord client and make an issue there. If it's a snap problem (I don't believe it is) you should search for the snap dev05:13
tomenglandI gotta see, I think it's ubuntu's implementation of gnome05:13
tomenglandsince it's not specific to just discord05:13
LuckyMantomengland, I just opened a electron app here and it looks ok05:15
LuckyManno two bars05:15
LuckyManwhat client are you using? the official one?05:16
Bashing-om!info nvidia-driver-550 jammy05:17
ubottunvidia-driver-550 (550.107.02-0ubuntu0.22.04.1, jammy): NVIDIA driver metapackage. In component restricted, is optional. Built by nvidia-graphics-drivers-550. Size 479 kB / 1,389 kB. (Only available for amd64, arm64.)05:17
nelginHey all. My PSU died in my server. After replacing it, I see "Loading ramdisk" or something like that then it rebooted. I booted itno knoppix and checked all my volume groups and everything is OK. Tried a previous kernel, same issue. Tried a rescue kernel. Same issue. I rebuild the initramfs and reinstalled grub. After that I added "debug" to grub and got some text, I could see as far as yama05:46
nelginbecoming mindful, apparmor initialized, mount cash and mountpoint cache hashtable entries, The rest is a bit hard to read, therman_sys registered, cpuidle using governor ...kprobe jump optimization is enabled, HugeTBL ACPI: added _OSI ... bridge window...enabling extended something then that's all I was able to capture on my phone. I'm open to ideas...05:46
chovydoes anyone know what the binary zzxordir is from?05:47
chovyi think i might be compromised05:47
mgedminnelgin: does choosing rescue mode in the grub menu help any?05:50
nelginmgedmin unfortunately, no.05:50
nelginI wonder if I installed a few too many kernels without rebooting and come across a hardware compatability issue. I may try a lower version.05:51
mgedminif you boot knoppix or something, can you look at the journal in your primary partition and see what the last logged messages were?05:51
nelginYeah, give me a few.05:51
tomenglandok. figured it out with discord.  It is indeed discord's fault and any app that uses GTK3 that hasn't yet ported over to GTK4. Vesktop is a custom app that I think is in GTK4 and allows you to use the correct discord titlebar.06:07
omega_doomIs it possible to fix this? https://termbin.com/7fe7 I cannot install nvidia-driver-545-open06:17
theoshihi06:20
nelginNothing really out of the ordinary.06:23
nelginI did load in a bunch of nvidia stuff to get CUDA working but I don't think I ever rebooted so I removed a bunch of stuff. I've got all sorts of hwe junk in there, I'm not sure what's necessary and what isn't.06:24
nelginjournalctl -b -1 shows my last successful boot was in august with 6.8.0-40-generic which I tried that failed too.06:39
nelginso it might be something I added since then.06:39
ikonianelgin: I've just read your scroll back, and a few of the keywords that are coming up, may suggest disk corruption/superblock map missing. When you botted from Knoppix is it possible to just do a disk check on each volume and make sure they are both a.) clean b.) marked as clean. The fact that you can get some journal output is great, but I wondered if you'd checked all the volumes status after am abrupt06:41
ikoniapower loss06:41
nelginUbuntu will usually fsck when it tries to boot. That said, my lvhome did require fsck. I'm just finishing the rest, but I doubt that's it.06:53
nelginEverything is now fsck'd or xfs-reapired06:56
nelginWell, let me reboot and see if that makes any difference.07:01
twelvnighnay wsp07:02
twelvnighnanyone there07:03
twelvnighnheloooooooooooooooooooooo?????????07:03
twelvnighnim just gonna spam07:03
twelvnighnuntil someone comes online07:03
twelvnighnwhich i bet my entire life savings is impossible07:03
twelvnighnda07:03
twelvnighnf07:03
twelvnighndaf07:03
twelvnighnd07:03
tomenglandlol07:04
nelginAs predicted, that didn't fix it.07:07
ikonianelgin: did you get any clearer error07:09
nelginI'm checking the video I tool, also I configued systemd to use persistent logging so I might have caught something. Let me see07:15
nelginThis is what I get to look at. Have a look while I go boot into knoppix again07:16
nelginhttps://pasteboard.co/tvbI2QSjmZAo.png07:16
nelginI don't think it even gets as far as mounting the disks so there's no going to be anything logged.07:21
mgedminwow is that the matrix?07:21
nelginyeah, tell me about it.07:21
nelginI suppose I could try a bunch of burst pictures to try and catch an individual frame refresh but that seems bit over kill. :)07:22
nelginUnless the PSU going out toasted something on the motherboard that the boot process can't get past.07:23
mgedminlooks pretty similar to my boot log: https://bpa.st/2EMS607:23
mgedminI fear you won't see the cause of the reboot that easily07:23
nelginWhat do you get after devtmpfs: initialized ?07:24
mgedmina bunch of things, including07:24
mgedminthermal_sys: Registered thermal governor 'user_space'07:24
mgedminwhich is near the top of your log07:24
nelginYup07:24
mgedminah, actually now that I look at it, the messages at the top of your picture have larger timestamps07:24
mgedminfurther log: https://bpa.st/ERJEE07:25
nelginYeah, you can see it fades out the lower text overwriting from the top. It's a pain07:25
nelgin ACPI: Added _OSI(Processor Device)This is saw in a previous video I did.07:25
mgedminsetting a serial console or netconsole might be an option, if you want to debug this further07:26
nelginYeah, putty isn't lgetting me connect to COM1 so I'm going to have to dive under the desk to figure what's not connected.07:27
nelginI can try netconsole. I assume it'll work on a virtual box linux instance.07:29
nelginWell...I did see something in the kern.log about drm_nvidia but I forgot to get a picture of it.07:48
=== n1thc8 is now known as n1thc
tsurugiexit08:02
nelgindrm:nv_drm_master_set [nvidia_drm] [ *ERROR* ]08:11
nelginhmm08:11
nelginhappens right after rfkill input handler enabled08:12
theosthere is a small blue light hidden at the top left of the screen. when the mouse pointer goes over it, it shows the running windows. whats it called? i am on ubuntu studio/plasma.08:14
himk08:18
nelginI tried netconsole and I get nothing.08:36
ikoniathe nvidia error isn't something to worry about08:39
ikonia(just reading the back scroll)08:39
ikoniawhat's the last thing you see on the bootm08:39
ikoniaboot08:39
adam_halo08:43
adam_gedagedigedagedago08:43
nelginThe kern.log is a red herring. I changed to multiuser target rather than graphical and I've removed every bit of nvidia I can find so it's something else.08:45
nelginikonia see the image I pasted earlier, that's as good as it gets I'm afraid.08:46
ikoniayeah, it's not readable08:46
ikoniawondering if a boot arg on console size/buffer may clean it up08:46
hirogen1hi anyone here rolled out cyberark epm agent to unbutnu aws, we've just patched the new version in UAT for me to test and our admin/s as it fixes some bugs like sudo-p and a few others we've been waiting months for the vendor to resolve but finalyl we can look to UAT , track and fix some existin gdefects and start rolling out and creating policies?08:46
hirogen1ubuntu08:46
nelginif I could slow the output down a bit that might help.08:47
ikoniaI've done it08:47
ikoniahirogen1: I've done it08:47
ikoniait lasted 9 months for me to build a business case to remove it08:47
hirogen1oh cool im actualyl a linux/ubuntu noob tbh, we're rolling out to macoS too just waiting on some pentest and remeidation but that is all in order08:48
hirogen1omg08:48
hirogen1why? we're quite strick here and want to use it as a binary tool YES OR NO for elevations following a cyber sec workflow as we find the tool helps find out which users are breaking best practicing, exammple on windows is uysers not code signing their QA apps, so now they're forced to do that or find an automation solution to do it!08:49
hirogen1so any reasons why as all our users are developers08:49
ikoniait's one of the worst tools possible, it's an anti-pattern for cloud, and it's beyond easy to bypass, it costs a fortune, has poor vendor support and is high maintainance08:49
ikoniabit offtopic for this channel08:49
hirogen1yeah true08:53
hirogen1ok thanks are you in #security08:53
blogVideodoes ubuntu server 24 support intel vroc09:10
blogVideocan't seem to find any guide09:11
blogVideofound this old outdated one: https://www.intel.com/content/dam/support/us/en/documents/memory-and-storage/ssd-software/VROC-Ubuntu-Setup-UserGuide-342787-US.pdf09:11
=== DSDotName is now known as info
=== info is now known as DSDotName
JanCblogVideo: that sounds like it will probably just work (and no need to update mdadm on recent Ubuntu versions)09:24
nelginOK, I have a bit more... Looks like 0000:00:01.2 PCI bridge to [bus 02-09] then someting about 0000:03:02.0 [ 00 5  3 ] type 01 class 0x060400 PCIe ... then that's about it.09:34
nelginThis is looking more and more like a reinstall scenario.09:36
blogVideoJanC: trying to set up a new server but it doesn't correctly recognize the raid array09:48
blogVideobut Fedora does09:48
nelginUrgh, I can't even get grub to not reboot. I've tried "no-reboot" panic=0 even tho there doesn't seem to be a panic, I've tried kernel.panic_on_oops=1 damn thing.09:54
mgedminI had a thinkpad that would randomly reboot for no reason once a month09:56
mgedminI never got to the bottom of it09:56
nelginIt's 5am here so I need to go to bed. Tomorrow I'll pull all the cards and USB devices and give it a boot, see if anything like that causing a problem. Failing that, looks like a fresh install.10:00
nelginWell, thank you everyone for your help.10:00
webchat28I can`t login to https://ubuntu.com/pro/dashboard i click on forgot password and no e-mail is received10:01
JanCit can take a little while to receive a mail sometimes10:02
JanCor maybe you used a different mail address to register?10:02
webchat28is there a support e-mail?10:04
ravageif you pay for a subscription you should have one10:11
ravageif not just create a new account10:11
ravageoh too late10:11
=== MrA is now known as Guest9846
JanCif you don't throw away your old e-mail, the old registration mails should still be there...10:26
xboxdescarga google chome11:03
=== DSDotName is now known as FiverBox
Guest85where to find in ubuntu help and examples for reading and writing to files with C11:19
Guest85only man 3?11:19
sweatiestThat depends on if you want to use standard library, POSIX, kernel, etc.11:21
Guest85yes standard library libc, glibc 2.3511:22
Guest85man libc?11:23
sweatiestman 3 fopen11:23
sweatiestfopen, fclose, fread, fwrite11:24
Guest85yes i found man 3 fopen but this man page has no short examples ...11:25
sweatiesthttps://www.thegeekstuff.com/2012/07/c-file-handling/11:25
Guest85ah , fread has a short example programm11:26
mgedminlibc's info pages are better than man pages11:30
mgedminyou can find them online, or read them with `pinfo libc`11:30
mgedmin(there's also `info libc`, but it's a very old-fashioned monochrome program with incomprehensible emacs style keybindings)11:30
mgedminalso, I would recommend something other than C, like Rust11:31
sweatiestwhy not both?11:32
sweatiestalso, pinfo is really cool11:32
=== DSDotName is now known as FiverBox
=== FiverBox is now known as DSDotName
=== DSDotName is now known as FiverBox
=== FiverBox is now known as DSDotName
=== DSDotName is now known as EvoBox
Guest14غروبات التلغرام :11:50
Guest14أولى:11:50
Guest14https://t.me/+HGjENwxX5illYjBk11:50
Guest14ثانية:11:50
Guest14https://t.me/+gR9oJF5X9TthZWJk11:50
Guest14ثالثة:11:50
BluesKajHi all11:52
Guest85thx for info,pinfo,rust the geek stuff has exactly examples to create a file in c11:59
fwehti installed agda in github codespaces (which run ubuntu) and the installer put `/home/codespace/.cabal/bin` into my PATH, i assume via some bash configuration, but the agda vscode extension still cant "see" the executable.  where would the vscode extension get its path variable from?12:23
fwehtthere is the `terminal.integrated.env.linux`setting, but the integrated terminal in vscode has no problem with agda, only the extension12:24
hid3Greetings everyone. I've set up a LUKS encryption for my linux installation a few years ago but unfortunately forgot the passphrase. Questions: 1) since the system is still up and wasn't rebooted, is it somehow possible to test a few variants without rebooting the server? 2) is it possible to change the passphrase without remembering the old one? Thanks12:29
mgedminyou need either the passphrase or the recovery key12:34
vlthid3: Yes, you can test but not add a new one (or change) without a known passphrase.12:35
mgedminor CIA-level resources to find the key in kernel memory by reading the contents of RAM directly12:36
mgedmingoogle tells me it's possible to extract the key from a mounted LUKS1 volume, but not from LUKS212:37
taeaadI seem to have a PDF zoom issue, both with MuPDF and Zathura, and it seems any other PDF viewer I try. What happens is that the fully zoomed out is halfway zoomed. Anyone aware of this?12:38
taeaadSorry not MuPDF, but Atril document viewer.12:38
taeaadAnd Zathura with both Poppler and MuPDF.12:39
taeaadReset zoom doesn't work, but fit width does.12:39
hid3mgedmin: this was my testbox and first LUKS setup. Not too important to invoke CIA-level tools to recover it but would be nice to remember the unlocking passphrase :)12:45
hid3vlt: by testing I assume I should try 'cryptsetup luksAddKey /dev/sdX' command, it would assk for passphrase and if I input the right one it would allow me to proceed, right?12:45
ioriataeaad, not sure, but with dconf-editor you can check the cache set for those apps; maybe modify the values12:47
mgedminhid3: yeah12:47
=== esv_ is now known as esv
vlthid3: Yes. And I remember also a --test-passphrase option but couldn’t find it in my current manpage.12:53
hid3will make some tea and give a try a few tens/hundreds of combinations, thanks guys12:55
CosmicDJhid3: I'd also start copying your data somewhere else, one kernel crash/power loss and your data will be gone12:58
hid3CosmicDJ: yeah, I've already copied over my important stuff to another server. In case I won't be able to recover, I'll just order a reinstall. It was my testbox but over time it became 'a bit important'13:00
vlthid3: If you remember a few passphrases or parts of it, you can automate this task :D13:00
hid3hell knows what was in my head 3 years ago :)13:01
hid3so I don't13:01
dhanodhhi13:18
lotuspsychjewelcome dhanodh13:19
dhanodhis this the ubuntu help channel??13:20
airmailsteamso i am in a bit of a bind. i was upgrading an ubuntu machine from 18 lts to 20 lts with the gui updater. things went rather smoothly since i already had removed all third party packages and ppas apart from tailscale. the upgrade gui said it'll remove some old packges like firefox (to transition to snap) and upgrade my nvidia drivers. it was happily chugging along then suddenly i saw the window close and i couldn't open any applications like13:20
airmailsteamsettings. i also had no network. journalctl said that the update manager was done. so i rebooted into a kernel panic13:20
lotuspsychjedhanodh: yes it is13:20
airmailsteami tried the systemd entry in grub, it was stuck at starting uid 1007. recovery mode for an older kernel worked. but i have no internet now13:21
airmailsteamhow do i properly finish the upgrade?13:21
dhanodhI'm just happy that at least some people use linux13:21
Guest89hi all13:24
Guest89pls i can't access anymore my external hd https://drive.google.com/file/d/1whco3cRWkwOk_PMZ9Li1EtXQzfeq9Uhi/view?usp=sharing13:24
Guest89i'm from live usb 24.04.113:24
airmailsteamokay, i somehow can run apt dist-upgrade from here https://discourse.ubuntu.com/t/knowledge-base-resolving-hard-upgrade-issues/44443. had to skip firefox snap installation since there is no network, but it seems to install other packages from the cache13:28
airmailsteami booted the recovery mode entry from grub for an older kernel13:29
airmailsteamapt install --fix-broken did nothing13:29
mgedminairmailsteam: to finish an interrupted upgrade you probably need a working network and then do `apt full-upgrade`13:32
mgedminpossibly also `apt install ubuntu-desktop^` to make sure all the standard packages are installed13:32
airmailsteamits still running apt dist-upgrade at 95% now13:33
mgedminbut if it was already at the point of removing obsolete software, then your issues are likely caused by something else?13:33
airmailsteami dont quite know how to the network enbaled13:33
airmailsteamit was at the point of installing/unpacking new packages13:34
airmailsteamthe terminal section of the upgrade gui was enabled and it said unpacking ...13:34
airmailsteamthen it just vanished13:34
airmailsteami ran nmtui, but apparently network manager is not isntalled13:37
airmailsteamwtf13:37
=== mrbutthead8 is now known as mrbutthead
airmailsteamshouldn't apt have downloaded everything before it began installing?13:40
airmailsteamcat /etc/lsb-release says im on jammy 22.04.513:41
=== mrbutthead0 is now known as mrbutthead
airmailsteamim out of ideas, even update-initramfs isn't available13:46
lotuspsychjeairmailsteam: are you able to share logs where you're stuck?13:47
=== hans_ is now known as hans__
airmailsteamwhat logs do you want me to share?13:50
airmailsteamright now, i am booted into a tty via the recovery mode entry from grub into an older kernel.13:51
=== hans__ is now known as hanshenrik
airmailsteami tried usb tethering from my android, but no dice. i think it needs network manager, but i cant install it without internet13:52
ravageso the problem is no network so you cant complete the upgrade?13:52
airmailsteamright now, it does seem like that. but a lot of the basic packages also seem unavilable on the shell. theres no update-initramfs for example13:53
lotuspsychjeairmailsteam: did you enable networking in recoverymode?13:53
=== hanshenrik is now known as hans_henrik
itaihi, how can I import a gnome terminal's profile configuration?13:54
ravageairmailsteam: are you able to boot the system normally to shell with any of the installed kernels?13:54
itaiI want to import it from a .dconf file13:54
airmailsteamlotuspsychje: i didn't see anything like that (networking recovery mode)13:54
airmailsteamravage: i am on a tty shell rightnow13:55
ravageok. can you paste the output of "sudo ip l"13:55
ravageor the network interface names are enough probably13:55
lotuspsychjeairmailsteam: https://static1.xdaimages.com/wordpress/wp-content/uploads/wm/2023/12/fdmng-1.png13:55
airmailsteamravage:13:55
airmailsteamthere are some interfaces like wlps69s0 f13:56
airmailsteamlotuspsychje: i didn't get this menu13:56
ravageok. are you conneted or can you connect a cable?13:56
airmailsteami dont have access to ethernet, this is a uni, and internet via ethernet is limited to a wpad proxy13:57
ravagegetting wifi to work in this state is probably not eady13:57
airmailsteamwifi works, though13:57
ravageeasy13:57
airmailsteami can also do usb tethering13:57
ravagethat should work yes13:57
ravagethe interface should show up in that command13:57
airmailsteamso my phone says tethering enabled13:58
ravageso do "sudo ip l" again and it should show up as some long interface name13:58
airmailsteami have lo , enp70s0, enp68s0, wlp69s0 as the interfaces13:58
ravagemhm. i think is should have a longer name but im not sure13:59
ravagetry "sudo journalctl -f"13:59
ravageand then reconnet tethering13:59
ravageit should show up when connecting13:59
airmailsteamnetowrkctl also lists these 4, but it also says systemd-networkd isn't running13:59
airmailsteamravage: upon connecting the usb, i see new usb device found samsung android. then i enabled tethering and it says kernel: bpf invalid name_offset and failed to validate module14:01
itaihi /names14:01
airmailsteamalso says device is not mtp, which does make sense i guess since i am not exposing the storage14:01
airmailsteami can do a reboot and try some other boot entry?14:02
ravageyep try if another kernel maybe boots or try the recovery one again14:02
itaiis it possible to import a gnome terminal configuration from file? I messed up my configs. I don't know how to reset them. I have to reset them before importing the profile.14:02
ravageusually tethering should work out of the box on kernel level14:02
ravageit should at least detect the network device14:03
airmailsteammaybe some kernel module issue14:04
airmailsteami will try rebooting14:04
ravageitai: try "dconf reset -f /org/gnome/terminal/legacy/"14:04
itaiI have done this: dconf reset -f /org/gnome/14:05
itaithanks ;)14:05
ravagethat resets everything14:05
ravagegood luck14:05
itairavage: but, how to import a temrinal profile from file? should I use dconf?14:06
ravageyes dconf can also import stuff14:07
itaiwhat is the command for the temrinal profile?14:07
ravageno idea. but im sure that is something a big search engine knows?14:08
=== hwpplayer1 is now known as pinkychocolate
=== mrbutthead7 is now known as mrbutthead
=== pinkychocolate is now known as hwpplayer1
ravagedconf dump /org/gnome/terminal/ > gnome-terminal-settings.dconf14:08
ravagedconf load /org/gnome/terminal/ < gnome-terminal-settings.dconf14:09
ravagesomething like that14:09
itairavage: I tried this, thanks14:09
itaiI have to restart my terminal14:09
airmailsteamwelp, i cant boot into the recovery entry anymore. it drops me into busybox but the keyboard doesn't work. the text on the tty is: bpf:invalid name. failed to validate module btf -22. gave up waiting for root device, uuid does not exist14:11
airmailsteamalso the systemd entries vanished from grub14:13
airmailsteami cant scroll up here but a lot of modules are failing to validate with btf -22 like ahci, r816914:13
ravagecan you get online from a 24.04 live usb?14:14
lotuspsychjeairmailsteam: try rescue your /home with a liveusb perhaps?14:14
airmailsteami am booting into a live usb  now14:14
itaiimporting a temrinal profile/configuration from file does not work. I used this command: dconf load /org/gnome/terminal/ < profile-name.dconf14:14
itaiI will have to investigate this a bit14:15
airmailsteamokay i am in  the live session14:17
ravageok. so the easy solution is to just backup /home somewhere and reinstall14:17
ravagei dont know how complex your setup is14:17
lotuspsychjeagree, backup and reinstall or install side by your existing14:18
lotuspsychjeif recoverymode is borked, its usualy not a good sign14:18
airmailsteamyeah /home is on a differnet partition, so thats also good14:22
airmailsteami would still like to fix it though. maybe chroot and force upgrade?14:22
airmailsteamthe problem is i dont understand what happened. the upgrade window just closed and i guess didn't finish14:23
lotuspsychjesome things might break14:23
lotuspsychjedepending on wich stage the upgrade was14:23
airmailsteamhow can i look at the upgrade logs from here14:24
airmailsteamalso is this still valid for chrooting? https://help.ubuntu.com/community/LiveCdRecovery last update was in 201614:25
airmailsteamis there a way to preserve the user accounts so that the people can seamlessly login and access their data after i reinstall?14:30
ravagethat should be all in /etc/shadow /etc/passwd and /etc/group14:31
airmailsteamso if i just paste these 3 files onto the new installation, should it just work?14:32
ravagechroot should still work the same in general14:32
ravagewell. you may copy things that you dont need14:32
ravagebut yes in general it should work if the home dirs exist14:32
ravagei would still recommend a full backup of that system if possible14:33
airmailsteamhmm, maybe i can just merge only the real user accounts14:33
airmailsteamyep i am making a backup of /home14:33
=== filipe is now known as Guest6897
airmailsteamdone with the bakup. iam gonna try chrooting and upgrading. any pointers on what is the right command to run in this case? as in, to upgrade correctly14:48
ravagewithin the changeroot try "sudo apt -f install" and if that all goes ok "sudo apt full-upgrade"14:49
ravagemake sure you have network connectivty first14:49
ravageyou may need to fiddle with /etc/resolv.conf14:49
ravagequick fix if usually to just to delete it and put "nameserver 8.8.8.8" in there14:50
airmailsteami do have internet, i used tethering and it works in the live env14:50
airmailsteamaah you meant in the chroot?14:50
ravageyes14:50
ravagebut maybe it just works. DNS can be a problem14:50
nelginWell shit, for anyone following along. I removed my PCIe to PCI adapter and the damn thing booted right up.15:11
lotuspsychjeplease keep the language family friendly in the support channel nelgin15:13
=== filipe is now known as Guest2472
=== Guest2472 is now known as arondknight
airmailsteamravage: sorry for the delay, the backup actually took longer than expected. i chrooted and had to delete the resolvconf symlink and added 8.8.8.8 as the dns. so internet from within the chroot works.15:49
airmailsteamboth apt -f install and apt full-upgrade did nothing15:49
airmailsteamthey say 0 for all: upgraded, newly installed and removed15:50
airmailsteamis there something like distro-sync to synchronise with jammy and then also install the missing packages from a regular installation?15:51
lotuspsychjeairmailsteam: install with a liveusb and keep your /home kind of restores your install15:55
lotuspsychjethe installer will give you multiple options15:55
=== tryfan30818 is now known as tryfan3081
lakiHey, I have a question regarding vulnerabilities on ubuntu. For example, for https://ubuntu.com/security/CVE-2022-3597 the security advisory notes the "4.4.0-6ubuntu1" version as the fix version in Ubuntu lunar, and "4.4.0-4ubuntu3.1" as the fix version for Ubuntu kinetic. However, https://answers.launchpad.net/ubuntu/lunar/amd64/libtiff5-dev/4.4.0-4ubuntu3.1 lists that the "4.4.0-4ubuntu3.1"16:00
-ubottu:#ubuntu- LibTIFF 4.4.0 has an out-of-bounds write in _TIFFmemcpy in libtiff/tif_unix.c:346 when called from extractImageSection, tools/tiffcrop.c:6826, allowing attackers to cause a denial-of-service via a crafted tiff file. For users that compile libtiff from sources, the fix is available with commit 236b7191. <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3597>16:00
lakiversion was released in Ubuntu lunar. Does that mean that for Ubuntu lunar the version "4.4.0-4ubuntu3.1" is vulnerable to the CVE, while for ubuntu kinetic the same version fixes the vulnerability?16:00
ravagelaki: https://ubuntu.com/security/cves16:00
lakiAlso, more generalized - does it ever occur that the same source package version can be considered vulnerable on one distro version, but not the other? If so, can you provide any examples?16:01
lakiravage: care to elaborate?16:01
ravagesearch the CVE. find the fixed package versions. make sure you have it installed16:01
ravagehttps://ubuntu.com/security/CVE-2022-359716:02
-ubottu:#ubuntu- LibTIFF 4.4.0 has an out-of-bounds write in _TIFFmemcpy in libtiff/tif_unix.c:346 when called from extractImageSection, tools/tiffcrop.c:6826, allowing attackers to cause a denial-of-service via a crafted tiff file. For users that compile libtiff from sources, the fix is available with commit 236b7191. <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3597>16:02
lakiI understand that, but I'm asking in general to understand how vulnerabilities are being fixed and can the same source pacakge version be vulnerable on one ubuntu release, but not the other?16:03
airmailsteamlotuspsychje: true, but no fun in that! i wanted to understand and fix this16:03
ravagesecurity fixes are backported to the version Ubuntu offers if needed16:03
lakiI understand that as well. But please refer to the above example. If "4.4.0-4ubuntu3.1" really existed in Ubuntu lunar, does that mean that the package is vulnerable?16:04
lakiAnd if it didn't exist, how come the Launchpad API says the package was released in Ubuntu lunar?16:05
ravagei dont think getting into theoretical discussions is time well spent. also 23.04 is EOL anyway16:05
ravageso not supported here16:05
ravageairmailsteam: does an "apt update" still show jammy?16:06
ravageyou wanted to upgrade from 22.04 to 24.04 right?16:06
lakiravage: well, it is in my case, as i'm doing security work and vulnerability scanning, so I'm trying to understand precisely how it all works16:06
ravagethen your case is not our case sorry 🙂16:07
lakitotally fair, can you redirect me somewhere where I can try to seek more answers? :)16:07
airmailsteamravage: yes, apt update showed jammy from within the chroot (the live usb is noble)16:07
ravagethen you may just want to make sure you have the latest kernel installed and reinstall grub16:08
ravageand maybe try that upgrade again16:08
airmailsteamit showed a lot of candidates for autoremove  like gnome-bluetooth and a lot more. i did apt install ubuntu-desktop and it pulled in a lot of packages again16:09
airmailsteamupdate initramfs failed in the end though16:09
ravageis this a normal Ubuntu Desktop system?16:09
airmailsteamravage: yes16:09
ravagein that case you can start with "sudo apt install --reinstall ubuntu-desktop"16:09
airmailsteamusing sudo says unable to resolve host ubuntu and unable to allocate pty. since i was anyway root in the chroot env, i have been running the commands without the need for priv esc16:10
ravageand does your chroot include correct mounts for /dev and /sys and /proc ?16:10
airmailsteamravage: i just did a sudo mount /dev/nv... /mnt16:11
airmailsteamnot sure about the other stuff16:11
ravagethats not enough for fixing most problems16:12
ravageespecially for boot problems16:12
airmailsteamdamn, okay. what else do i need to do/mount?16:12
ravagehttps://p.haxxors.com/dl39y5hf.txt16:13
ravagetry these16:13
airmailsteamfrom within the chroot, right?16:14
ravageno16:14
ravagefrom outside the chroot16:14
airmailsteamgood that i checked then!16:14
ravageand then chroot in again16:14
ravagethat implies that you mounted your system drive to /mnt16:14
ravageif not you need to change the paths16:14
airmailsteamyep, i did it /mnt16:15
ravagelet me know when you are in that chroot again16:15
airmailsteamthe cp command in the end failed saying that /proc/mounts and /mnt/etc/mtab are the same file'16:17
ravageok neve rmind then16:17
airmailsteamokay i did a sudo chroot /mnt again16:18
ravageok now see if that ubuntu-desktop reinstall command does anything.16:18
airmailsteamshould i reinstall the ubuntu-desktop package?16:18
ravageand can you ping ubuntu.com ?16:18
airmailsteamyep, ping works16:18
ravageyep then try the command16:18
ravageat this point you can easily paste commands here16:19
ravageapt update | nc termbin.com 999916:19
ravageas an example16:19
ravageshould output a URL16:19
airmailsteamit completed very quickly. 0 for everything else and 1 reinstalled16:19
ravageyou could also just connect to IRC from the live session16:19
ravageok then lets do: apt install --reinstall linux-image-generic16:20
airmailsteami will try logging in to web irc16:21
ravageok16:21
ravageand maybe we try the hwe kernel anyway16:21
airmailsteammeanwhile the linux-image-generic install also completed16:21
airmailsteamit unpacked and set up. but no initrd regen16:21
ravagesudo update-grub2 | nc termbin.com 999916:22
ravagewell or just paste bin the output somewhere16:23
airmailsteami did the nc thing16:23
ravageit may not work with the command16:23
airmailsteamshould there be a ":" colon16:23
ravagedoes it output a URL?16:23
airmailsteamnope, no url. doesn't 9999 need to be prefixed by a colon?16:24
ravageno the command is ok16:24
ravagejust does not work with this output16:24
ravageopen https://pastebin.com/ or so in firefox16:24
ravageand just paste it in ther16:24
airmailsteam5now from the live session via web irc16:25
ravage\o/16:25
airmailsteam5https://bpa.st/VNZQQ16:26
ravagethats interesting16:26
ravagedoes that device exist?16:26
ravageas in "ls /dev/nvme0n1p1"16:26
ravagealso maybe pastebin the output of "mount"16:27
airmailsteam5https://bpa.st/NUR2A16:27
airmailsteam5that partition is where the original root lived16:27
ravageoh16:27
airmailsteam5i can access it from outside the chroot16:28
ravagetry "sudo -i"16:28
ravageand try that grub update again maybe16:28
airmailsteam5sorry, in the chroot? sudo -i?16:28
ravageyou need to run all commands here as root anyway16:28
ravageso you can always do that first16:28
ravageand that mount was outside the chroot?16:29
airmailsteam5in the chroot env, i am already logged in as root. running sudo gives me: sudo: unable to resolve host ubuntu: Name or service not known16:29
ravageok16:29
airmailsteam5yes, the output of mount was from the live session16:29
=== nshire2 is now known as nshire
theosre:there is a small blue light hidden at the top left of the screen. when the mouse pointer goes over it, it shows the running windows. whats it called? i am on ubuntu studio/plasma.17:28
ioriatheos, maybe 'Screen Edge '17:31
fabrizziopHi, I've upgraded a couple of 22.04.5 servers to 24.04.1 and in both cases /etc/samba/smb.conf was overwritten back to defaults without asking (I didn't find the original config anywhere). Is this known issue?.17:34
ravagethere is always a backup file in the same directory?17:37
fabrizziopnope, the .dpkg-old or whatever wasn't there17:43
fabrizziopLuckily I had a backup otherwise I would be out of luck17:43
=== Juesto is now known as Juest
sibyladoes anyone else use byobu, how do you get it to stop importing .zprofile17:52
=== mrbutthead5 is now known as mrbutthead
nelginIt looks like it's my TV tuner device that's causing Ubuntu to reboot for no reason on startup. It used to work so not sure if something changed.18:54
=== Juesto is now known as Juest
BarnabasDKI had a standard update of 24.04.1 that has failed in the update of the kernel to 6.8.0-45-generic. My root system is in ZFS. After reboot half the system did not come up, and it seems quite a few files where not installed in the kernel - especially in /lib. I set the system to use the previous 44 kernel via initramfs and now the system boots.19:16
=== mrbutthead8 is now known as mrbutthead
BarnabasDKI have tried to reinstall the 45 kernel though apt, but grub still will not recognize the install and says "bad filesystem"19:16
BarnabasDKif I try to remove the 45 kernel, it tries to remove linux-generic* and linux-image-generic* as well - this seems wrong19:17
BarnabasDKhave anyone got any ideas on how to proceed with a fix, that will correctly get me to linux-image-6.8.0-45-generic19:18
BarnabasDKsort of a reinstall of the system19:18
BarnabasDKshort19:18
=== uf7 is now known as uf
=== alucardromero5 is now known as alucardromero
=== waxfire7 is now known as waxfire
=== dongcarl3 is now known as dongcarl
=== javaJake_ is now known as javaJake
BarnabasDKfor now - a working system - but on the wrong kernel patch19:21
=== kikke1 is now known as Catalin
BarnabasDKI honestly do not know what the problem is - does not happen too often - I did not notice any errors during the apt update process19:24
=== sudip_ is now known as sudip
=== mrbutthead7 is now known as mrbutthead
=== mrbutthead2 is now known as mrbutthead
=== Fooo is now known as Square
=== mrbutthead7 is now known as mrbutthead
=== ajfriesen166 is now known as ajfriesen16
=== devnz is now known as knivemare
=== mrbutthead7 is now known as mrbutthead
=== syphyr_ is now known as syphyr
=== mrbutthead1 is now known as mrbutthead
=== Guest38 is now known as kurva
=== mrbutthead5 is now known as mrbutthead
=== Sidewyz1 is now known as Sidewyz
=== mrbutthead2 is now known as mrbutthead
=== tryfan30812 is now known as tryfan3081
=== mrbutthead5 is now known as mrbutthead

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