=== antonispgs4 is now known as antonispgs | ||
hex_ | Ima noob .. please excuse me | 01: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 | ||
BluesKaj | Hi all | 12:14 |
de-facto | How to completely disable all traces of ipv6 support in ubuntu? | 15:14 |
mybalzitch | oh its a kernel option | 15:15 |
de-facto | are there kernels compiled without ipv6 in the repo? | 15:15 |
mybalzitch | oh you don't have to go through that much effort | 15:15 |
mybalzitch | append ipv6.disable=1 to GRUB_CMDLINE_LINUX in /etc/default/grub | 15:16 |
mybalzitch | https://opensource.com/article/22/8/disable-ipv6 | 15:16 |
mybalzitch | then run update-grub | 15:17 |
mjt0k | it is not "all traces" though, - for that, you have to build your own kernel | 15:18 |
sixwheeledbeast | what is the purpose of disabling this? | 15:20 |
de-facto | thanks i will try that | 15:23 |
de-facto | ipv6 has a fundamentally broken architecture and i dont want that on my system | 15:24 |
mjt0k | heh. Another "I'll fight the world" case :) | 15:24 |
rbox | ROFL | 15:24 |
mybalzitch | is it 2 more broken than ipv4? | 15:24 |
rbox | oh man, needed a good laugh in the morning | 15:24 |
mjt0k | 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 | |
mjt0k | well, 8859 is also broken by design. everyone should use us7-ascii | 15:28 |
mybalzitch | https://www.redbubble.com/i/sticker/I-Heart-Unicode-by-beevangelist/27813122.EJUG5 | 15:28 |
leftyfb | lets stay on topic please | 15:29 |
N1ghTc0re3 | Всем доброго времени суток, есть кто может подсказать с вопросом по Линукс Минт? | 15:42 |
Znevna | niet | 15:42 |
lotuspsychje | !ru | N1ghTc0re3 | 15:44 |
ubottu | N1ghTc0re3: Пожалуйста наберите /join #ubuntu-ru для получения помощи на русском языке. | Pozhalujsta naberite /join #ubuntu-ru dlya polucheniya pomoshi na russkom yazyke. | 15:44 |
sixwheeledbeast | also mint isn't ubuntu | 15:45 |
Amoz | 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:49 |
mgedmin | interesting; I'm on 24.10 and my laptop has sshd listening on both 0.0.0.0 and :: according to ss -tl | 15:51 |
mgedmin | systemctl cat ssh.socket has two ListenStream lines: one for ipv4, and one for ipv6 | 15:52 |
Amoz | mgedmin, this is what mine looks like https://pastebin.com/uhgV6CHF | 15:55 |
Amoz | i installed dropbear now as a temporary measure, so at least i can remotely control it from my laptop :) | 15:56 |
mgedmin | and that explains it all | 15:57 |
mgedmin | you have BindIPv6Only=ipv6-only, and then your only listenstream is ListenStream=10022, which probably defaults to ipv6 | 15:57 |
leftyfb | Amoz: https://discourse.ubuntu.com/t/sshd-now-uses-socket-based-activation-ubuntu-22-10-and-later/30189 | 15:57 |
mgedmin | 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 |
leftyfb | or disable the socket | 15:58 |
mgedmin | or override BindIPv6Only=both | 15:58 |
mgedmin | in the same ssh.socket.d/listen.conf | 15:58 |
mgedmin | 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 | 15:59 |
Amoz | 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:00 |
mgedmin | 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:03 |
Amoz | hmm but now i override it and it still doesnt work. Weird | 16:09 |
leftyfb | Amoz: sudo ssytemctl daemon-reload && sudo systemctl restart ssh | 16:10 |
lotuspsychje | Amoz: is that a test server or production? | 16:10 |
Amoz | lotuspsychje, hehe, it's just my personal server. It's "production" i guess. | 16:11 |
lotuspsychje | best to stick to LTS then Amoz ? | 16:11 |
Amoz | 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:11 |
Amoz | lotuspsychje, nono, i dont mind fixing issues. That's how we learn :D | 16:12 |
lotuspsychje | so its a bleeding edge personal server eh :p | 16:12 |
Amoz | yup! sort of haha | 16:13 |
Amoz | ok now it looks like this, https://pastebin.com/JsXzNzM2 why is there duplicate entries of the "Listen" ? | 16:14 |
Amoz | ok if the ssh socket activation blocks itself because it tries to bind twice, that would be hilarious | 16:16 |
Amoz | sudo ss -pln | grep 10022 returns nothing | 16:17 |
Amoz | 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:20 |
mgedmin | to answer why needs the output of `systemctl cat ssh.socket` | 16:30 |
mgedmin | you probably deleted a `ListenStream=`, thinking it was unnecessary | 16:30 |
mgedmin | 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:30 |
mgedmin | 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 | 16:31 |
arif_ | h' | 17:05 |
arif_ | Hi | 17: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 | ||
Bella12 | grrr | 21:58 |
oerheks | . | 21:59 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!