/srv/irclogs.ubuntu.com/2024/10/23/#ubuntu.txt

MarkB2cbreak: Yes.  As soon as the computer was stable, backed up the whole HD to an SSD.  Panic averted.00:07
=== antonispgs5 is now known as antonispgs
federicohello01:02
=== kai1 is now known as kai
vortexxsweet, 24.10 fixed my GSP-670 bluetooth headset audio issue01:33
vortexxwhere's the dell-smbios-wmi module gone in 6.11? It's what I need to ajust fan speed modes on my laptop (using smbios-thermal-ctl --set-thermal-mode= )01:46
=== cambam100561 is now known as cambam10056
=== alphazone is now known as lb
=== hackhorn is now known as hackinghorn
=== Wyly7 is now known as Wyly
=== Wyly5 is now known as Wyly
=== Mibixy is now known as Mibix
=== pascalm1 is now known as pascalm
=== ancientz7 is now known as ancientz
skraitoxhi all see [ 0day (xc) Our ] From Lord Jesus Christ https://youtube.com/shorts/3yWDBXQs7TY ... . How skraito communicate with Secret Governor ... .08:58
=== assaaa is now known as skraitox
skraitoxsee how this modern technology steganography :) https://youtube.com/shorts/3yWDBXQs7TY keep on reply left and and right and turn left turn on again ... . CopyRight By Lord Jesus Christ ... .09:02
lotuspsychje!ot | skraitox09:03
ubottuskraitox: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks!09:03
skraitoxthat's for ubuntu too09:04
skraitoxfor your idea09:04
skraitoxlotuspsychje,09:04
skraitox:)09:04
skraitoxsee it yourself09:04
lotuspsychjeit doesnt fit in the support channel skraitox09:04
skraitoxto hide your source code09:04
antonispgshttps://imgur.com/a/zT2Q5y109:06
antonispgsAfter the latest kernel update, 24.10 version, the grub screen lost all customization, became generic, no longer saying ubuntu, says GNU/Linux instead, boot sequence shows the terminal stuff instead of the ubuntu logo but everything works normally09:06
antonispgsany ideas?09:06
mgedmindo you have any other OSes on this computer?09:13
antonispgsyea win 11 on different drive that works and boots fine too09:13
antonispgsthe grub menu appearance only changed after 6.11 revision 9 got installed this morning09:13
mgedmindoes /boot/grub/grub.cfg contain "menuentry 'Ubuntu'" or does it contain "menuentry 'GNU/Linux'"?09:13
mgedminhm, I'm still on 6.11.0-8.8 here, but I see there's an update09:14
mgedminok, I've apt installed the -9.9 kernel09:16
mgedminmy /boot/grub/grub.cfg still has `menuentry 'Ubuntu'`09:16
antonispgsmine has GNU/Linux09:16
antonispgsand then in the fallback options it says GNU/Linux with Linux 6.11.0-8-generic etc.09:18
antonispgsI wonder if i need some custom grub customization package09:18
mgedmincan you pastebin your /etc/default/grub somewhere?09:19
mgedminit should have a line that says09:19
mgedminGRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu`09:19
mgedmin(and /etc/os-release, of course, should have a line that says NAME="Ubuntu")09:19
antonispgsI don't have /etc/default/grub is that a file?09:20
skraitoxoff i go God bless the world ... . may all of Us be Count worthy to escape all thing worthy to stand against Him against that day ... . good bye friend ... .09:20
antonispgsand /etc/os-release does have that line09:21
=== hornhack is now known as hackinghorn
antonispgsuname -a09:23
antonispgsLinux ubuntu 6.11.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 14 13:19:59 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux09:23
MinusSevenHi. How do I change the startup sound in Ubuntu 24.10?09:24
antonispgsthere is an option in settings to turn it off09:24
MinusSevenYes, but I meant to change it to a different sound.09:25
antonispgsi don't think that's possible to be honest but maybe someone else knows09:26
antonispgshmmm fopr some reason the dummy grub-efi package is not installed on my system09:28
mgedminoh no why didn't I hear the startup sound?  I just rebooted, and the speakers are not muted09:29
mgedminantonispgs: what do you mean you don't have /etc/default/grub?  I'm surprised your machine boots at all tbh09:38
antonispgsyea09:38
antonispgsin etc/default there is only grub.d folder09:38
mgedminnot even a /etc/default/grub.ucf-old or something like that?09:38
mgedminok, to recover a lost configuration file in /etc you have to do some utter nonsense with the apt command line09:39
mgedmin... or download the .deb and open it in an archive manager of some kind (like Midnight Commander)09:39
mgedminhttps://serverfault.com/a/659211 is the command09:40
mgedminapt -o Dpkg::Options:='--force-confmiss' install --reinstall grub-common09:40
antonispgsi fi do sudo update-grub I get this on first line Sourcing file `/etc/default/grub.d/kdump-tools.cfg'09:41
antonispgsGRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M"09:42
antonispgsthese are contents of that kdump-tools.cfg file09:42
mgedminyes?09:45
mgedminsame here09:45
antonispgsso you also do not have /etc/default/grub?09:46
mgedminno, I get that in addition to Sourcing file '/etc/default/grub': https://bpa.st/PAJAC09:46
antonispgsthat line Sourcing file `/etc/default/grub' is not on mine at all and of course this file does not exist09:46
antonispgshow odd09:46
mgedminbut all of your initial complaints are explained by losing /etc/default/grub09:47
mgedminbecause the "Ubuntu" comes from the GRUB_DISTRIBUTOR setting09:47
mgedminand the boot logo comes from GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"09:47
antonispgshttps://pastebin.com/A0A8X7HH09:47
antonispgsyea09:47
antonispgsyou are right09:47
mgedminso basically restore the default /etc/default/grub via apt -o Dpkg::Options:='--force-confmiss' install --reinstall grub-common and all of your problems should be fixed09:47
antonispgsshould i run that command above? or do you think something else might be up after all09:47
mgedmin(you may need a sudo update-grub if the post-inst script doesn't run that for you)09:47
mgedminI am very curious about _why_ you don't have that file09:48
mgedmindid you accidentally delete it?  was there some filesystem corruption event?09:48
mgedminah, let me also shill some etckeeper -- amazing thing, if you know how to use git; keeps backups of all the config files in /etc in a git repo automatically whenever you apt install/remove/upgrade stuff, plus nightly commits from cron09:49
mgedminno setup needed, just sudo apt install etckeeper and forget about it09:49
mgedminthen later you can cd /etc && sudo git log -- default/grub and see when it disappeared and what it looked like before it disappeared09:49
mgedminor use a friendlier terminal git browser like tig09:50
antonispgsNo honestly I had no issue at all kernel update happens and this happens then I couldn’t tell you if I ever had that file and whether it got deleted in that update or something09:51
mgedminkernel update runs update-grub09:52
mgedminupdate-grub takes /etc/default/grub and a few other config files and generates a new /boot/grub/grub.cfg09:53
mgedminif you delete /etc/default/grub, nothing will noticeably change until the next time something runs update-grub and then you reboot09:53
mgedminthis is why you noticed issues after the kernel update - but the Mysterious Disappearance of a Config File could've happened at any time prior to that09:54
antonispgsI run that command and the file has not come back09:54
antonispgshttps://pastebin.com/MT0dxPT209:55
antonispgsgrub2 package is not installed10:02
antonispgsinstead grub-efi is could that be it?10:02
mgedminI have 8 packages named grub* installed here10:03
mgedmingrub-efi-amd64-signed is the most important one I guess?10:04
mgedmindpkg -S /etc/default/grub says it doesn't belong to any package???10:04
mgedminso does the installer create it from whole cloth or something?10:04
mgedminbut I have a /etc/default/grub.ucf-old, which means some package does manage it10:05
antonispgsweird stuff10:06
mgedminI see /var/lib/dpkg/info/grub-pc.postinst doing something with it10:07
mgedminusing /usr/share/grub/default/grub as a base10:08
mgedminso, my recommendation would be: sudo apt install --reinstall grub-pc10:08
mgedminsince it's not a conffile to dpkg, then the entire -o Dpkg::Options:=--force-confmiss bit is unnecessary10:09
antonispgsok taht seems to have brought back the missing file10:11
antonispgsbut it also removed grub-efi-amd64 in the process10:12
mgedmineeeek!10:12
mgedminreinstall10:12
mgedminno10:12
mgedminit's fine?10:12
mgedminthere's grub-efi-amd64-bin10:12
mgedminand there's grub-efi-amd6410:12
mgedminI have grub-pc and grub-efi-amd64-bin installed10:12
mgedminI don't have grub-efi-amd64 installed10:12
mgedminthis is very confusing10:13
mgedminare you on an Intel Mac?10:13
antonispgsno amd10:14
mgedminapt show grub-efi-amd64 says 'This is a dependency package for a version of GRUB that has been built for use with the EFI-AMD64 architecture, as used by Intel Macs'10:14
mgedminmaybe it's an obsolete description, written before legacy boot was replaced by UEFI10:15
mgedmingrub-pc is for legacy boot, the -efi packages are for UEFI boot10:15
mgedminyou can have more than one installed (as I said, I have grub-pc, grub-efi-amd64-bin, grub-efi-amd64-signed, grub-efi-amd64-unsigned)10:15
mgedmin(oh and grub-pc-bin, plus misc grub-common/grub2-common/grub-gfxpayload-lists)10:16
antonispgsif i try to install grub-pc it wants to remove grub-efi and vice versa10:18
antonispgsbut grub-pc did recreate that file10:19
mgedminit's ok: grub-pc and grub-efi-amd64 conflict, but grub-pc-bin and grub-efi-amd64-bin can be installed side-by-side10:22
mgedminit you had grub-efi-amd64 previously, better install it10:23
mgedminpossibly it has the same kind of postinst script that grub-pc does and it would've also restored your /etc/default/grub10:23
mgedminI just happened to have grub-pc installed here on my machine10:23
mgedminI wonder why -- older installer?  did I install it manually at some point when I was preparing bootable USB drives?10:23
antonispgsi seem to remember now10:23
antonispgsright after i did that 24.10 fresh install, grub-pc was offered in synaptic as no longer needed or something10:24
antonispgsand i removed10:24
mgedminI'm definitely not using legacy boot on this thinkpad10:24
antonispgsbut since no kernel updates happened until now10:24
antonispgsit was not noticeable10:24
mgedminhmm, could removing grub-pc remove /etc/default/grub?  plausible10:24
mgedminbut you said you had grub-efi-amd64 installed instead?10:25
antonispgsall good now10:25
antonispgsyes10:25
antonispgsprobnably an installer thing? what can i say10:25
mgedminshould I experiment on my primary machine meant for real work? (yes)10:25
mgedmininstalling grub-efi-amd64 removes grub-gfxpayload-lists grub-pc10:25
antonispgsand i definitely have secure boot uefi enabled10:25
mgedminbut /etc/default/grub still exists10:26
antonispgsso maybe the description of grub-pc is wrong?10:26
mgedminwell, "should be the primary boot loader" etc10:27
antonispgsthe grub-efi-bin package is installed as well for me10:27
mgedminthis is one of those situations where it probably only matters when you run "sudo grub-install /dev/..."10:27
mgedminwithout specifying a --target=i386-pc or --target=x86_64-efi10:27
mgedminand this never happens10:28
mgedminwell, this happens when ubuntu pushes a new grub update maybe?10:28
mgedminit's a rare thing; installer does it once10:28
mgedminand then kernel updates and such only regenerate grub.cfg without reinstalling grub itself10:28
antonispgsthanks for all the help mgedmin10:38
antonispgsthat was a fun weird thing10:39
mgedminI have learned new things today!10:39
mgedminand yeah, /var/lib/dpkg/info/grub-efi-amd64.postinst does the same thing to /etc/default/grub that grub-pc.postinst did10:40
=== tofran8 is now known as tofran
BluesKajHi all11:50
theoskHi there!11:51
kutgood morning friends12:34
lotuspsychjewelcome kut12:35
kuthows your computing life12:36
lotuspsychje!chat | kut12:37
ubottukut: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks!12:37
kut?12:38
kutthats why i said computing12:38
happymeal`shouldve said ubuntu12:38
happymeal`now youve been cast to the land of off topic12:39
kutthis is why i lurk, my mistake12:39
happymeal`lol i was jk :D12:39
kutthey arent12:39
kutyou can say hi but asking if they need help is offtopic12:40
kutlogic12:41
BluesKajboo-hoo, we have enough pedantic crybabies already ...no need for any more12:43
kutyeah, lotuspsychje12:43
=== LanDi1 is now known as LanDi
TyakuHello, I have an issue with "gedit", maybe someone here can help. I use it to create markdown files, but many times, when I write a title : "# something", the space in in fact "0xc2 0xa0" instead of "0x20". This is strange because it's not everytime and it' like 50/50 on the same document .. Someone know why it do this ?13:22
tomreynTyaku: i can't answer your question (do not know), but for what it's worth, 0xc2 0xa0 is a unicode non-breaking space character, indicating that no line break should occur at this location.13:52
tomreyn(also known as   as an HTML entity)13:53
skraitoxtest14:39
skraitoxthanks for your business ubuntu14:39
KINGI WANT GITL15:19
KINGGIRL15:19
larozAnyone got a good setup combo for linux in virtualbox? Been trying different OS`es, but can´t seem to get rid of the lag (and yes, guestaddition ok, vram set to 128 mb and ram cap is not an issue). I know it wont be as good as running linux as host, but still..16:13
larozdistros*16:14
Ben64hey whats up, just did a apt update; full upgrade and a dkms module is failing to compile. https://bpa.st/3DPSS17:13
tomreynBen64: quoting your paste: "Consult /var/lib/dkms/rtl88x2bu/5.2.4.4/build/make.log for more information"17:14
tomreynthis looks like you may be using a non ubuntu packaged module, though?17:16
Ben64haven't installed anything outside of ubuntu17:19
ioriaBen64, sudo dpkg --configure -a17:22
CarlFKI have 3 terminal windows.  somewhere.  I get 3 choices when I Super-` but 2 of them don't show up/come forward/be visible when I select them.17:30
CarlFKI'm guessing it is because I have a different 2nd display hooked up, and these 2 windows are at some location that doesn't currently have a display17:31
CarlFKis there some way to "bring to main display" or something ?17:31
System_o_PacketsHello I am running a minimal installation of Ubuntu Server 24.04 i am having DNS resolution issues which is then causing issues with timedatectl and apt and after further troubleshooting I found that the DNS issues is caused by the default deny in rule that I set in nftables, what rules do I need to set to allow DNS responses in along with apt to work on the server?17:33
CarlFKSystem_o_Packets:  it might help to post your firewall rules - how are you setting them?  like I use /etc/nftables.conf17:35
System_o_PacketsCarlFK: table inet filter {17:37
System_o_Packets        chain input {17:37
System_o_Packets                comment "Mac based filtering"17:37
System_o_Packets                type filter hook input priority filter; policy drop;17:37
System_o_Packets                ether saddr CensoredMacAddress tcp dport 2759 accept17:37
System_o_Packets        }17:37
CarlFKSystem_o_Packets: poor form to paste more than 2 lines into irc17:38
tomreyn/topic says: " Pastes to https://bpa.st "17:39
CarlFKif you pasted more than just one {}, nothing after the first } made it17:39
System_o_Packetssorry my mistake i just saw it here is the current config https://bpa.st/AEWB417:39
darkdrgn2kis it possible to create a vm that is only dm-integrity.17:40
darkdrgn2ksudo dmsetup create integrity --table "0 204800 integrity /dev/loop0 512"17:40
darkdrgn2ki get device-mapper: reload ioctl on eqty_rootfs (252:0) failed: Invalid argument17:40
darkdrgn2k(rather device-mapper: reload ioctl on integrity (252:0) failed: Invalid argument)17:41
System_o_Packetsi think i need to open an inbound rule to allow dns traffic through17:42
System_o_Packetsbut i don't know if i need to add more to allow apt to function and NTP17:43
tomreynSystem_o_Packets: it's maybe not wise to start with a default deny policy for outbound traffic, if that's what you did. you will also want to allow to allow related traffic on established connections by default.17:50
tomreynSystem_o_Packets: you can configure nftables to log dropped packets (only do this while setting it up), to get a better understanding of what legitimate traffic you're blocking. for a resolver example, you can look at "## Permit outbound DNS requests" in this example: https://www.firezone.dev/docs/reference/firewall-templates/nftables#base-firewall-template17:52
tomreynbut you'll need more than just that17:52
System_o_Packetstomreyn: ok I think i understand so what rules can i configure to allow in established connections?17:54
tomreynSystem_o_Packets: i'm afraid i lack the time and energy to explain for you what others have already written in documentation that'll be better than what i could explain.17:57
tomreynhave you tried to look up some example configurations, yet?17:57
tomreynthe very page i just posted has an example for this as well, but i would assume you can find similar on official nftables documentation as well.17:58
System_o_Packetstomreyn: ok thanks i think i was misguided in trying to configure nftables alone with just the documentation alone i should have looked up some example configs, thankyou18:01
=== skraitox is now known as skraito-0day
tomreynyou're welcome18:04
vortexxmy encrypted swap no longer seems to work in 24.10 for some reason. I have in /etc/crypttab this: cswap /dev/nvme0n1p10 /dev/urandom plain,cipher=aes-xts-plain64,size=256,hash=sha256,swap which till 24.10 would add an encrypted swap space to my laptop's memory. I've seen in dmesg I'm getting timeouts with the system looking for it. There's nothing in /dev/mapper for cswap19:38
vortexxany ideas?19:38
vortexxmh then again something weird has happened, the partition has been renamed from p10 to p619:44
vortexxgoing to reboot after changing crypttab19:44
=== y0sh- is now known as y0sh_
tomreynvortexx: you can, and i would recommend you do, refer to the partition by its UUID instead21:53
tomreynso the output of this should be the second parameter, if the devname is now /dev/nvme0n1p6 (verify this first): echo UUID=$(sudo blkid -s UUID -o value /dev/nvme0n1p6)22:04
tomreynls -l /dev/disk/by-label/     may help there22:05
=== docmax is now known as Guest9196
=== docmax_ is now known as docmax
Roeyhello,  I upgraded SSH recently as part of a distro upgrade (ubuntu 24.10), and now my SSHd with its custom port doesn't appear to respond to connection requests.  I nmap'd localhost and did not find that custom SSH port open23:02
WaVRoey: Have you looked at your sshd_config to see if it possibly got reverted back?23:03
leftyfbRoey: sudo systemctl daemon-reload ; sudo systemctl restart ssh23:04
RoeyWaV: right, so I did grep Port /etc/ssh/sshd_config, and I see the port I had originally changed it to, so there appears to be no modification there.23:04
Roeyleftyfb: I did that.  I now see the custom port open in "nmap"'s listing.  However, I don't appear to get a response from the SSH server.. the cursor just hangs there, waiting23:06
Roeyoh wiat wrong ip23:06
Roeyone moment23:06
leftyfbRoey: https://discourse.ubuntu.com/t/sshd-now-uses-socket-based-activation-ubuntu-22-10-and-later/3018923:06
Roeyok I got it now23:06
Roeyleftyfb: thank you!!!!!!23:06
Roeyjust what I was looking for.23:06
=== docmax_ is now known as docmax
=== docmax is now known as Guest5089
Roeyleftyfb: hmm, I can do it on localhost and connect, but when I try ssh'ing from another machine, I get "ssh: connect to host w.x.z.z port NNN: Connection refuse"23:29
leftyfbRoey: check /etc/systemd/system/ssh.socket.d/listen.conf23:31
Roeyleftyfb: one moment..23:31
Roeyleftyfb: yeah so it has a comment line by me saying that this is where SSH sets its port these days, and below that [Socket] and below that, nothing.23:32
Roeyleftyfb: I wonder if it got hosed in the upgrade to ubuntu 24.1023:33
leftyfbRoey: https://discourse.ubuntu.com/t/sshd-now-uses-socket-based-activation-ubuntu-22-10-and-later/30189#:~:text=behavior%20by%20running%3A-,systemctl%20disable%20%2D%2Dnow%20ssh.socket,-rm%20%2Df%20/etc23:35
=== five618480339175 is now known as five61848033917
leftyfbyou can just go back to the previous config as opposed to socket-based23:35
leftyfbthen it'll all come from sshd_config23:35
Roeyleftyfb: oh my bad, I do have it set in there, I wasn't looking right23:36
Roeyleftyfb: I do have ListenStream=23:36
Roeyso I don't know why (a) I can ssh to myself on the localhost, but (b) cannot ssh from another machine into this host, on the same port.23:36
leftyfbhttps://mahmoodrm.medium.com/socket-based-activation-ssh-old-linux-dogs-vs-new-systemd-tricks-656207db13c923:37
Roeyleftyfb: I understand that, and thank you for this article, I will keep it and study it more.  But my issue is that machine X *is* responding to ssh when I attempt to connect to it from localhost.  But not when I try to connect to it from machine Y23:42
leftyfbRoey: so disable the socket config and go back to the previous ways where we're more familiar with how it all works23:44
Roeyleftyfb: it's not the socket config23:46
Roeyok/?23:46
JeckozPUT A GIRL ON23:46
RoeyI odn't see how it'st he socket config issue.  I've had this configured fine23:46
Roeyit's just when I upgraded from ubuntu 22.04 -> 22.10, now two mahcines exhibit this behavior.23:46
Roeyleftyfb: yes, I know about the ListenStream= and have had it configured accordingly.23:46
JeckozPUT A GIRL ON23:47
leftyfbRoey: ( cat /etc/systemd/system/ssh.socket.d/addresses.conf ; sudo systemctl status ssh.socket ) | nc termbin.com 999923:48
JeckozPUT A GIRL ON23:48
JeckozPUT  A GIRL ON23:49
bmasonhello Jeckoz23:49
Roeyleftyfb: first there is no ssh.socket.d/addresses.conf; second, https://paste.debian.net/1333264/23:58
leftyfbRoey: disable the socket https://discourse.ubuntu.com/t/sshd-now-uses-socket-based-activation-ubuntu-22-10-and-later/30189#:~:text=systemctl%20disable%20%2D%2Dnow%20ssh.socket%0Arm%20%2Df%20/etc/systemd/system/ssh.service.d/00%2Dsocket.conf%0Arm%20%2Df%20/etc/systemd/system/ssh.socket.d/addresses.conf%0Asystemctl%20daemon%2Dreload%0Asystemctl%20enable%20%2D%2Dnow%20ssh.service23:59

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