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

=== antonispgs4 is now known as antonispgs
hex_Ima noob .. please excuse me01:49
=== SDGNelson7 is now known as SDGNelson
=== remy_ is now known as remy
=== esj1 is now known as esj
=== yourname is now known as bearen
BluesKajHi all12:14
de-factoHow to completely disable all traces of ipv6 support in ubuntu?15:14
mybalzitchoh its a kernel option15:15
de-factoare there kernels compiled without ipv6 in the repo?15:15
mybalzitchoh you don't have to go through that much effort15:15
mybalzitchappend ipv6.disable=1 to GRUB_CMDLINE_LINUX in /etc/default/grub15:16
mybalzitchhttps://opensource.com/article/22/8/disable-ipv615:16
mybalzitchthen run update-grub15:17
mjt0kit is not "all traces" though, - for that, you have to build your own kernel15:18
sixwheeledbeastwhat is the purpose of disabling this?15:20
de-factothanks i will try that15:23
de-factoipv6 has a fundamentally broken architecture and i dont want that on my system15:24
mjt0kheh. Another "I'll fight the world" case :)15:24
rboxROFL15:24
mybalzitchis it 2 more broken than ipv4?15:24
rboxoh man, needed a good laugh in the morning15:24
mjt0kbesides good laugh, I found that more and more apps fail to start with IPv6 disabled15: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 broken15:28
mjt0kwell, 8859 is also broken by design. everyone should use us7-ascii15:28
mybalzitchhttps://www.redbubble.com/i/sticker/I-Heart-Unicode-by-beevangelist/27813122.EJUG515:28
leftyfblets stay on topic please15:29
N1ghTc0re3Всем доброго времени суток, есть кто может подсказать с вопросом по Линукс Минт?15:42
Znevnaniet15:42
lotuspsychje!ru | N1ghTc0re315:44
ubottuN1ghTc0re3: Пожалуйста наберите /join #ubuntu-ru для получения помощи на русском языке. | Pozhalujsta naberite /join #ubuntu-ru dlya polucheniya pomoshi na russkom yazyke.15:44
sixwheeledbeastalso mint isn't ubuntu15:45
Amozi 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:49
mgedmininteresting; I'm on 24.10 and my laptop has sshd listening on both 0.0.0.0 and :: according to ss -tl15:51
mgedminsystemctl cat ssh.socket has two ListenStream lines: one for ipv4, and one for ipv615:52
Amozmgedmin, this is what mine looks like https://pastebin.com/uhgV6CHF15:55
Amozi installed dropbear now as a temporary measure, so at least i can remotely control it from my laptop :)15:56
mgedminand that explains it all15:57
mgedminyou have BindIPv6Only=ipv6-only, and then your only listenstream is ListenStream=10022, which probably defaults to ipv615:57
leftyfbAmoz: https://discourse.ubuntu.com/t/sshd-now-uses-socket-based-activation-ubuntu-22-10-and-later/3018915:57
mgedmineither 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 [::]:1002215:58
leftyfbor disable the socket15:58
mgedminor override BindIPv6Only=both15:58
mgedminin the same ssh.socket.d/listen.conf15:58
mgedminor 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_config15:59
Amozhmm 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:00
mgedminaren'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 bluetoothd16:03
Amozhmm but now i override it and it still doesnt work. Weird16:09
leftyfbAmoz: sudo ssytemctl daemon-reload && sudo systemctl restart ssh16:10
lotuspsychjeAmoz: is that a test server or production?16:10
Amozlotuspsychje, hehe, it's just my personal server. It's "production" i guess.16:11
lotuspsychjebest to stick to LTS then Amoz ?16:11
Amozleftyfb, 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:11
Amozlotuspsychje, nono, i dont mind fixing issues. That's how we learn :D16:12
lotuspsychjeso its a bleeding edge personal server eh :p16:12
Amozyup! sort of haha16:13
Amozok now it looks like this, https://pastebin.com/JsXzNzM2 why is there duplicate entries of the "Listen" ?16:14
Amozok if the ssh socket activation blocks itself because it tries to bind twice, that would be hilarious16:16
Amozsudo ss -pln | grep 10022 returns nothing16:17
Amozanyway, 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 work16:20
mgedminto answer why needs the output of `systemctl cat ssh.socket`16:30
mgedminyou probably deleted a `ListenStream=`, thinking it was unnecessary16:30
mgedminit'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 files16:30
mgedminthis 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 day16:31
arif_h'17:05
arif_Hi17:05
=== 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
Bella12grrr21:58
oerheks.21:59

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