ChanServ changed the topic of #kisslinux to: Unnofficial KISS Linux community channel | https://kisscommunity.org | post logs or else | song of the day https://vid.puffyan.us/watch?v=jtSZ7oWuu8c
dilyn has joined #kisslinux
<dilyn> things in KISS Linux land are very mellow and chill. I think this whole community has found its maximal equilibrium
<dilyn> it's tight knit & gucci :v
ejjdhfjsu_ has joined #kisslinux
ejjdhfjsu has quit [Read error: Connection reset by peer]
<jslick> It has updated firefox and sgt-puzzles, two of the things that make a headed linux distribution. It is indeed very mellow and chill.
<dilyn> honestly, what more could you want
GalaxyNova_ has quit [Remote host closed the connection]
dontmindmee has quit [*.net *.split]
dilyn has quit [Ping timeout: 240 seconds]
dontmindmee has joined #kisslinux
rohan has joined #kisslinux
<rohan> hi guys
<rohan> how i add alias permanently in my system?
<acheam> add it to your shell rc file
<acheam> You need to set one for busybox ash IIRC
<acheam> so put "ENV=~/.ashrc" in ~/.profile
<acheam> then your aliases in ~/.ashrc
<rohan> okay
<rohan> so .profile is not like a ashrc?
<rohan> all that time i used like it
<acheam> .profile is read by the login shell, and rc files are read by interactive shells
<acheam> so if you set an environment variable in .profile, you'll have to log out and in again to have it take effect systemwide
<testuser[m]> Hi
GalaxyNova_ has joined #kisslinux
<GalaxyNova_> hi
GalaxyNova_ has quit [Remote host closed the connection]
clemens3 has quit [Ping timeout: 240 seconds]
clemens3 has joined #kisslinux
an3223 has quit [Ping timeout: 240 seconds]
user86234 has joined #kisslinux
illiliti has joined #kisslinux
<user86234> hi everyone
<user86234> i'm having some issues installing kiss linux
<user86234> when i run `cd /var/db/kiss/installed && kiss build *`
<user86234> i get this error `ERROR pigz Failed to download https://zlib.net/pigz/pigz-2.6.tar.gz`
<illiliti> user86234: switch to community repositories: https://github.com/kiss-community/repo
<illiliti> testuser[m]: i got oom
<illiliti> sh: killed gdb /usr/lib/chromium/chromium
<illiliti> xd
<testuser[m]> lol
<illiliti> i don't have spare space to create swap partition
<illiliti> and swap as pool on zfs is quite unstable
<illiliti> i can create swap on usb stick, but ... that would be slow af
<testuser[m]> illiliti: check the linked merge request in that alpine issue
an3223 has joined #kisslinux
<illiliti> try in gdb: thread apply all backtrace
<testuser[m]> i got the bt
<illiliti> i think we have a bug that you previously mentioned: https://github.com/void-linux/void-packages/issues/29105#issuecomment-787219097
<testuser[m]> https://marc.info/?l=musl&m=161238368314692&w=2 the thread mentions the test that times out aswell
<testuser[m]> illiliti: does --no-sandbox imply --single-process ?
<illiliti> i think --single-process implies --no-sandbox, not vice-versa
<illiliti> but i may be wrong
<illiliti> we need this func for musl
<illiliti> ForkInNewPidNamespace uses this hack to update tid on clone()
<illiliti> the equivalent hack for musl should fix the bug i guess
<illiliti> we can also attempt to rewrite this func to use fork+setns instead of clone
<illiliti> theoretically, this should fix bug too
<illiliti> interesting
<illiliti> testuser[m]: can you try to run tests in base/threading?
<testuser[m]> wait
an3223 has quit [Ping timeout: 240 seconds]
<testuser[m]> illiliti: how do i build those lol idk the target name
an3223 has joined #kisslinux
<testuser[m]> o shit
<testuser[m]> its in base_unittests which is pretty fat
<testuser[m]> ninja: file is missing and not created by any action: '../../base/test/data/file_util/binary_file.bin'
<testuser[m]> idk where to get these test files from
<illiliti> hm
<testuser[m]> it asked for some ttf files for the sandbox tests too i just created empty files there lol
<phoebos> testuser[m]: libretls 3.5.1 has been released
<testuser[m]> phoebos: done
<phoebos> :)
<testuser[m]> illiliti: should i try disabling the MaybeUpdateGlibcTidCache call on my glibc build and see if the sandbox issue starts there?
<testuser[m]> then we can be sure that it's the one
<phoebos> interesting commit message :p
<illiliti> testuser[m]: good idea
user86234 has quit [Ping timeout: 252 seconds]
user86234 has joined #kisslinux
user86234 has quit [Quit: leaving]
<testuser[m]> illiliti: tabs do freeze like musl but no concrete crash
<testuser[m]> weird
<illiliti> tabs freezes on musl as well
<testuser[m]> yeah
<testuser[m]> but its not showing the crash msg
<testuser[m]> and glibc is not returning EDEADLK
<testuser[m]> the tests that get stuck on musl seem to pass aswell
<illiliti> because glibc uses direct gettid syscall for raise()
<illiliti> that's why it doesn't get stuck
<illiliti> does sigtrap show up in dmesg?
<testuser[m]> no
<illiliti> segfault?
<testuser[m]> nothing
<testuser[m]> just tab frozen
<illiliti> i think that's enough to confirm that bug in tid caching
<illiliti> tab frozed or crashed doesn't matter
<testuser[m]> yeah
<testuser[m]> i was recording it but looks like some recent wlroots commit broke wf-recorder lol
<testuser[m]> will bisect it
<testuser[m]> what about it
<illiliti> i think suid-based sandbox is worth checking
<illiliti> i bet it should work
<testuser[m]> yea i thought about it too
<illiliti> i'll try to rewrite ForkInNewPidNamespace to use fork/_Fork instead
<testuser[m]> illiliti: how to force use of SUID sandbox instead of user ns?
<illiliti> see post-install script
<testuser[m]> illiliti: curl -L http://0x0.st/oNvD.so > /usr/lib/chromium/chrome-sandbox; chown it to root:root and chmod u+s
<testuser[m]> 0981918fb28c441f45a5d762c812c21ee44b41c601af6746d599e42fa6d8b3da
<illiliti> try to check ForkInNewPidNamespace test with this patch: http://ix.io/3Taw
<testuser[m]> ok
<testuser[m]> btw use this http://0x0.st/oNvD.so, if the other one has DCHECK failures
<testuser[m]> building rn, but ForkWithFlags is in a couple of other places aswell so maybe u could just modify that function instead and ignore args: https://termbin.com/nrcb
<illiliti> will do, but for now check this one
<illiliti> and chrome-sandbox doesn't work for me
<illiliti> The setuid sandbox provides API version 1, but you need 0
<testuser[m]> illiliti: https://termbin.com/troj lol
<illiliti> glibc or musl?
<testuser[m]> musl
<testuser[m]> it has some weird longjmp magic going on too, in the original code
<testuser[m]> ok
<testuser[m]> illiliti: instant crash before launching anything: https://termbin.com/jnom
<testuser[m]> let me see whats going off
<illiliti> bt full?
<illiliti> can you set breakpoint after ForkWithFlags?
<testuser[m]> wait
<illiliti> ok
<testuser[m]> CHECK(process.IsValid()) << "Failed to launch zygote process"; maybe this is failing
<testuser[m]> idk why its not logging anythiung
<testuser[m]> browser/zygote_host/zygote_host_impl_linux.cc line 170
<illiliti> --enable-logging=stderr --loglevel=0
rohan has quit [Ping timeout: 268 seconds]
<testuser[m]> nothing
<testuser[m]> it does get to .Pid() so something below that is failing, will test with breakpoints
an3223 has quit [Ping timeout: 240 seconds]
an3223 has joined #kisslinux
<testuser[m]> oh it doesnt log cuz `#define CHECK(condition) UNLIKELY(!(condition)) ? IMMEDIATE_CRASH() : EAT_CHECK_STREAM_PARAMS()` lol
<testuser[m]> illiliti: http://0x0.st/oNwj.txt
<testuser[m]> there are 2 calls to ReceiveFixedMessage, a CHECK after that and a call to EnsureProcessGetsReaped. Only the 2 ReceiveFixedMessage get called so ig the bug is
<illiliti> bt full
<testuser[m]> illiliti: it doesnt have anything extra
<illiliti> sel 0
<illiliti> info args
<illiliti> info locals
<testuser[m]> it doesnt have that much debug info, i tried
<testuser[m]> i might be able to strace and get the raw bytes its reading from the pipe and then interpret it as pid_t lol
<illiliti> did you compile with -ggdb?
<testuser[m]> no just with symbol_level. It barely built with that option I doubt my swap would be enough for ggdb
<testuser[m]> Ok
<illiliti> it seems unshare fails for some reason
<testuser[m]> Just stumbled upon it
<testuser[m]> How can u memset a function
<testuser[m]> illiliti: same crash, nothing logged
gtms has joined #kisslinux
<phoebos> > #if 0
gtms has quit [Quit: connection reset by purr]
<testuser[m]> phoebos: yeah
<testuser[m]> its unrelated but the code just seemed funny
gtms has joined #kisslinux
<illiliti> testuser[m]: no idea, it looks like c++ nonsense
<illiliti> try --allow-sandbox-debugging
<testuser[m]> [6084:6084:0322/162035.293975:FATAL:zygote_host_impl_linux.cc(204)] Check failed: ReceiveFixedMessage(fds[0], kZygoteHelloMessage, sizeof(kZygoteHelloMessage), &real_pid).
<testuser[m]> [6084:6084:0322/162035.293999:FATAL:zygote_host_impl_linux.cc(206)] Check failed: real_pid > 1 (-1 vs. 1)
<testuser[m]> i changed check to dcheck
<testuser[m]> enough for today
<illiliti> agree
<illiliti> quite tedious to read chromium code
<illiliti> i'll setup swap and continue though...
<illiliti> thanks for the help
<testuser[m]> Np
mahmutov has joined #kisslinux
an3223 has quit [Ping timeout: 240 seconds]
an3223 has joined #kisslinux
ejjdhfjsu_ has quit [Ping timeout: 240 seconds]
Guest6910 has joined #kisslinux
<Guest6910> Hi
<testuser[m]> kiss fork and change ln -s to ln -sf or just remove the ln commands
<noocsharp> re chromium: any idea why file descriptors are being shuffled?
<Guest6910> testuser[m]: thank you so much
Guest6910 has quit [Quit: Client closed]
<testuser[m]> Idk what it means
<noocsharp> ah, i see
ella-0_ has joined #kisslinux
ella-0 has quit [Ping timeout: 256 seconds]
illiliti has quit [Read error: Connection reset by peer]
illiliti_ has joined #kisslinux
mahmutov_ has joined #kisslinux
mahmutov has quit [Ping timeout: 240 seconds]
mahmutov_ is now known as mahmutov
mahmutov has quit [Ping timeout: 260 seconds]
illiliti_ has quit [Ping timeout: 252 seconds]
illiliti has joined #kisslinux