libera/#devuan/ Tuesday, 2024-01-23

Guest18general linux questions are ok?   I have a network card eth9 that is inside a network namespace and has IP 10.0.9.1 .  How can I make sure computers that connect to that card, on IP 10.0.9.1, can talk to my main sshd server that lives outside of network namespace (in global) and has IP 10.0.1.1 ? some TCP tunnel.. redirect... something?11:26
cousin_luigiGuest18: I'm not sure what a network namespace is, but one usually forwards traffic.11:30
djphGuest18: those hosts would talk to 10.0.1.111:33
djphGuest18: well, presumably, you've set it up right where the NIC has both addresses11:34
Guest18djph  these  hosts can't reach 10.0.1.1 they can only reach 10.0.9.1 that is in namespace11:54
Guest18ideally I would tell sshd to listen also on 10.0.9.1:22 but in namespace ns9.  I don't thing there is such ssh option11:54
Guest18so... some setup, maybe program like nc or socat, to forward data from 10.0.9.1 namespace ns1, into  10.0.1.1 global ns11:55
djphGuest18: so you need your box to be a router.12:28
cousin_luigiGuest18: You won't be able to use the same A record for ssh traffic coming from different interfaces.12:32
cousin_luigiThat's messy, just forward12:33
rrqGuest18: don't you want an sshd within the namespace?12:34
rrqi.e. you run two of them12:35
rrqotherwise you'd need a veth link btw namespace and outside, and forwaring12:37
rrqd12:37
rrq(or DNATing within the namesapce would be fine too)12:39
Guest18rrq I want to run just 1 sshd in this case13:18
Guest18solved it using socat.  just socat to listen in namespace on some port, and redirect to TCP main-IP main-port  ; already had a way to reach global ns from inside ns using veth virtual card, so just used that13:19
Guest18it's a hack as all connections are coming from same local IP, besides logging of socat itself. but works for now, thx anyway13:27
HurgotronTrying to do a desktop install of Daedalus... the Refracta installer fails at chroot. Directory /lib/x86_64-linux-gnu inside /target neing empty seems to be the reason. Any Ideas?16:30
Hurgotron*bing16:30
Hurgotron*being gah16:30
jonadabAre we using the word "namespace" to mean a subnet now?16:36
jonadabHurgotron: If the installer wants a directory to be empty and it isn't, this is usually a sign that you're trying to install overtop of an existing install.  The installer doesn't like that.16:38
jonadabAvailable drive space permitting, try doing something like cd /target ; mkdir old ; mv * old/16:39
jonadabAnd then start the install.16:39
jonadabOnce the install is done you can go digging around in the old stuff for any data you want to recover.16:40
Hurgotronjonadab: That's not the error from the refractainstaller.log. Just that the chroot fails, and /lib/x86_64-linux-gnu being empty, so no libs, no programs can be executed inside chroot16:43
jonadabOh, hmm.16:43
jonadabTHAT sounds like some earlier step didn't take place that should have.16:44
Hurgotronok got it. root_fs which is mounted to /target is just 90M big. No idea why though16:46
jonadabOh, hah, that would do it.18:30
jonadabMaybe switch to manual partitioning.18:30
jonadabThough I have no idea what on earth would cause the guided/auto partitioning to goof up that badly.18:31
jonadab(I don't have much experience with the guided/auto partitioning though; I basically always do manual.)18:32
cousin_luigijonadab: Wise choice.18:35
cousin_luigiWhat is the correct place for extending apparmor profiles? e.g. allowing access to more files/paths?18:55
jonadabI should learn how to use AppArmor one of these days.19:49
jonadabThe basic concept behind it is a good one.19:49
rustyaxeanyone notice bluetoothd crashing after audio is closed, starting recently? :)20:46
fluffywolfI haven't had that happen.20:52

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!