=== antonispgs4 is now known as antonispgs [01:49] Ima noob .. please excuse me === SDGNelson7 is now known as SDGNelson === remy_ is now known as remy === esj1 is now known as esj === yourname is now known as bearen [12:14] Hi all [15:14] How to completely disable all traces of ipv6 support in ubuntu? [15:15] oh its a kernel option [15:15] are there kernels compiled without ipv6 in the repo? [15:15] oh you don't have to go through that much effort [15:16] append ipv6.disable=1 to GRUB_CMDLINE_LINUX in /etc/default/grub [15:16] https://opensource.com/article/22/8/disable-ipv6 [15:17] then run update-grub [15:18] it is not "all traces" though, - for that, you have to build your own kernel [15:20] what is the purpose of disabling this? [15:23] thanks i will try that [15:24] ipv6 has a fundamentally broken architecture and i dont want that on my system [15:24] heh. Another "I'll fight the world" case :) [15:24] ROFL [15:24] is it 2 more broken than ipv4? [15:24] oh man, needed a good laugh in the morning [15:28] besides good laugh, I found that more and more apps fail to start with IPv6 disabled [15:28] * mgedmin is relieved that least he never sees anyone asking how to change the system encoding to ISO-8859-1 because UTF-8 is fundamentally broken [15:28] well, 8859 is also broken by design. everyone should use us7-ascii [15:28] https://www.redbubble.com/i/sticker/I-Heart-Unicode-by-beevangelist/27813122.EJUG5 [15:29] lets stay on topic please [15:42] Всем доброго времени суток, есть кто может подсказать с вопросом по Линукс Минт? [15:42] niet [15:44] !ru | N1ghTc0re3 [15:44] N1ghTc0re3: Пожалуйста наберите /join #ubuntu-ru для получения помощи на русском языке. | Pozhalujsta naberite /join #ubuntu-ru dlya polucheniya pomoshi na russkom yazyke. [15:45] also mint isn't ubuntu [15:49] i just upgraded my server to 24.10 and it seems my sshd is no longer working on ipv4, (ss -pln only shows :: addresses), any idea what i can do to fix it? [15:51] interesting; I'm on 24.10 and my laptop has sshd listening on both 0.0.0.0 and :: according to ss -tl [15:52] systemctl cat ssh.socket has two ListenStream lines: one for ipv4, and one for ipv6 [15:55] mgedmin, this is what mine looks like https://pastebin.com/uhgV6CHF [15:56] i installed dropbear now as a temporary measure, so at least i can remotely control it from my laptop :) [15:57] and that explains it all [15:57] you have BindIPv6Only=ipv6-only, and then your only listenstream is ListenStream=10022, which probably defaults to ipv6 [15:57] Amoz: https://discourse.ubuntu.com/t/sshd-now-uses-socket-based-activation-ubuntu-22-10-and-later/30189 [15:58] either make sure you have two ListenStream overrides in /etc/systemd/system/ssh.socket.d/listen.conf, one for 0.0.0.0:10022, and one for [::]:10022 [15:58] or disable the socket [15:58] or override BindIPv6Only=both [15:58] in the same ssh.socket.d/listen.conf [15:59] or remove /etc/systemd/system/ssh.socket.d/listen.conf, you already have a perfectly good /run/systemd/generator/ssh.socket.d/addresses.conf that ubuntu auto-generates from your sshd_config [16:00] hmm i guess i didnt register that this would be a breakage for 24.10. While googling i found the old 22.10 post but thought it wouldnt apply for my scenario. I'll check it out, thanks for the advice everyone! [16:03] aren't release upgrades fun? I had a systemd override for bluetooth.service to add --experimental to the Exec line, and then the next ubuntu release moved the location of bluetoothd [16:09] hmm but now i override it and it still doesnt work. Weird [16:10] Amoz: sudo ssytemctl daemon-reload && sudo systemctl restart ssh [16:10] Amoz: is that a test server or production? [16:11] lotuspsychje, hehe, it's just my personal server. It's "production" i guess. [16:11] best to stick to LTS then Amoz ? [16:11] leftyfb, yeah i already did that, but i think i found the issue now. Probably i'm mixing the old way with the new way and now i get address/port conflicts... [16:12] lotuspsychje, nono, i dont mind fixing issues. That's how we learn :D [16:12] so its a bleeding edge personal server eh :p [16:13] yup! sort of haha [16:14] ok now it looks like this, https://pastebin.com/JsXzNzM2 why is there duplicate entries of the "Listen" ? [16:16] ok if the ssh socket activation blocks itself because it tries to bind twice, that would be hilarious [16:17] sudo ss -pln | grep 10022 returns nothing [16:20] anyway, i'll disable the socket variant for now, i'll just live with the old ssh.service for now :) at least that one i get to work [16:30] to answer why needs the output of `systemctl cat ssh.socket` [16:30] you probably deleted a `ListenStream=`, thinking it was unnecessary [16:30] it's not, in an override file if you don't reset the list by setting an empty value, all of your entries will add to the ones that were already configured in earlier config files [16:31] this tripped me up hard once, when ubuntu first started scheduling apt-daily tasks via systemd and I tried to convince it not to do upgrades + gitlab service restarts in the middle of the working day [17:05] h' [17:05] Hi === SDGNelson8 is now known as SDGNelson === Boohumbug is now known as `awex === `awex is now known as Boohumbug === user__ is now known as fjavier === Mibixy is now known as Mibix [21:58] grrr [21:59] .