01:41
dilyn has joined #kisslinux
01:41
<
dilyn >
things in KISS Linux land are very mellow and chill. I think this whole community has found its maximal equilibrium
01:41
<
dilyn >
it's tight knit & gucci :v
01:50
ejjdhfjsu_ has joined #kisslinux
01:50
ejjdhfjsu has quit [Read error: Connection reset by peer]
01:52
<
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.
01:53
<
dilyn >
honestly, what more could you want
02:01
GalaxyNova_ has quit [Remote host closed the connection]
03:11
dontmindmee has quit [*.net *.split]
03:11
dilyn has quit [Ping timeout: 240 seconds]
03:12
dontmindmee has joined #kisslinux
03:22
rohan has joined #kisslinux
03:24
<
rohan >
how i add alias permanently in my system?
03:25
<
acheam >
add it to your shell rc file
03:26
<
acheam >
You need to set one for busybox ash IIRC
03:26
<
acheam >
so put "ENV=~/.ashrc" in ~/.profile
03:26
<
acheam >
then your aliases in ~/.ashrc
03:28
<
rohan >
so .profile is not like a ashrc?
03:28
<
rohan >
all that time i used like it
03:34
<
acheam >
.profile is read by the login shell, and rc files are read by interactive shells
03:34
<
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
04:54
GalaxyNova_ has joined #kisslinux
05:09
GalaxyNova_ has quit [Remote host closed the connection]
06:57
clemens3 has quit [Ping timeout: 240 seconds]
06:59
clemens3 has joined #kisslinux
07:04
an3223 has quit [Ping timeout: 240 seconds]
09:33
user86234 has joined #kisslinux
09:33
illiliti has joined #kisslinux
09:33
<
user86234 >
hi everyone
09:34
<
user86234 >
i'm having some issues installing kiss linux
09:34
<
user86234 >
when i run `cd /var/db/kiss/installed && kiss build *`
09:38
<
illiliti >
testuser[m]: i got oom
09:38
<
illiliti >
sh: killed gdb /usr/lib/chromium/chromium
09:46
<
illiliti >
i don't have spare space to create swap partition
09:46
<
illiliti >
and swap as pool on zfs is quite unstable
09:47
<
illiliti >
i can create swap on usb stick, but ... that would be slow af
09:51
<
testuser[m] >
illiliti: check the linked merge request in that alpine issue
10:02
an3223 has joined #kisslinux
10:12
<
illiliti >
try in gdb: thread apply all backtrace
10:16
<
testuser[m] >
i got the bt
10:35
<
testuser[m] >
illiliti: does --no-sandbox imply --single-process ?
10:38
<
illiliti >
i think --single-process implies --no-sandbox, not vice-versa
10:38
<
illiliti >
but i may be wrong
10:40
<
illiliti >
we need this func for musl
10:44
<
illiliti >
ForkInNewPidNamespace uses this hack to update tid on clone()
10:46
<
illiliti >
the equivalent hack for musl should fix the bug i guess
10:47
<
illiliti >
we can also attempt to rewrite this func to use fork+setns instead of clone
10:48
<
illiliti >
theoretically, this should fix bug too
10:53
<
illiliti >
interesting
10:57
<
illiliti >
testuser[m]: can you try to run tests in base/threading?
11:19
an3223 has quit [Ping timeout: 240 seconds]
11:20
<
testuser[m] >
illiliti: how do i build those lol idk the target name
11:21
an3223 has joined #kisslinux
11:21
<
testuser[m] >
o shit
11:21
<
testuser[m] >
its in base_unittests which is pretty fat
11:26
<
testuser[m] >
ninja: file is missing and not created by any action: '../../base/test/data/file_util/binary_file.bin'
11:26
<
testuser[m] >
idk where to get these test files from
11:27
<
testuser[m] >
it asked for some ttf files for the sandbox tests too i just created empty files there lol
11:42
<
phoebos >
testuser[m]: libretls 3.5.1 has been released
11:51
<
testuser[m] >
phoebos: done
11:51
<
testuser[m] >
illiliti: should i try disabling the MaybeUpdateGlibcTidCache call on my glibc build and see if the sandbox issue starts there?
11:51
<
testuser[m] >
then we can be sure that it's the one
11:52
<
phoebos >
interesting commit message :p
11:55
<
illiliti >
testuser[m]: good idea
11:59
user86234 has quit [Ping timeout: 252 seconds]
12:05
user86234 has joined #kisslinux
12:26
user86234 has quit [Quit: leaving]
12:30
<
testuser[m] >
illiliti: tabs do freeze like musl but no concrete crash
12:30
<
testuser[m] >
weird
12:33
<
illiliti >
tabs freezes on musl as well
12:34
<
testuser[m] >
but its not showing the crash msg
12:34
<
testuser[m] >
and glibc is not returning EDEADLK
12:48
<
testuser[m] >
the tests that get stuck on musl seem to pass aswell
12:54
<
illiliti >
because glibc uses direct gettid syscall for raise()
12:54
<
illiliti >
that's why it doesn't get stuck
12:56
<
illiliti >
does sigtrap show up in dmesg?
12:56
<
illiliti >
segfault?
12:57
<
testuser[m] >
nothing
12:57
<
testuser[m] >
just tab frozen
13:03
<
illiliti >
i think that's enough to confirm that bug in tid caching
13:04
<
illiliti >
tab frozed or crashed doesn't matter
13:04
<
testuser[m] >
i was recording it but looks like some recent wlroots commit broke wf-recorder lol
13:04
<
testuser[m] >
will bisect it
13:10
<
testuser[m] >
what about it
13:10
<
illiliti >
i think suid-based sandbox is worth checking
13:10
<
illiliti >
i bet it should work
13:11
<
testuser[m] >
yea i thought about it too
13:13
<
illiliti >
i'll try to rewrite ForkInNewPidNamespace to use fork/_Fork instead
13:26
<
testuser[m] >
illiliti: how to force use of SUID sandbox instead of user ns?
13:28
<
illiliti >
see post-install script
13:39
<
testuser[m] >
illiliti: curl -L
http://0x0.st/oNvD.so > /usr/lib/chromium/chrome-sandbox; chown it to root:root and chmod u+s
13:39
<
testuser[m] >
0981918fb28c441f45a5d762c812c21ee44b41c601af6746d599e42fa6d8b3da
13:48
<
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
13:50
<
illiliti >
will do, but for now check this one
13:50
<
illiliti >
and chrome-sandbox doesn't work for me
13:50
<
illiliti >
The setuid sandbox provides API version 1, but you need 0
14:08
<
illiliti >
glibc or musl?
14:10
<
testuser[m] >
it has some weird longjmp magic going on too, in the original code
14:49
<
testuser[m] >
let me see whats going off
14:56
<
illiliti >
bt full?
14:57
<
illiliti >
can you set breakpoint after ForkWithFlags?
15:02
<
testuser[m] >
CHECK(process.IsValid()) << "Failed to launch zygote process"; maybe this is failing
15:02
<
testuser[m] >
idk why its not logging anythiung
15:04
<
testuser[m] >
browser/zygote_host/zygote_host_impl_linux.cc line 170
15:04
<
illiliti >
--enable-logging=stderr --loglevel=0
15:07
rohan has quit [Ping timeout: 268 seconds]
15:07
<
testuser[m] >
nothing
15:07
<
testuser[m] >
it does get to .Pid() so something below that is failing, will test with breakpoints
15:12
an3223 has quit [Ping timeout: 240 seconds]
15:14
an3223 has joined #kisslinux
15:16
<
testuser[m] >
oh it doesnt log cuz `#define CHECK(condition) UNLIKELY(!(condition)) ? IMMEDIATE_CRASH() : EAT_CHECK_STREAM_PARAMS()` lol
15:27
<
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
15:35
<
testuser[m] >
illiliti: it doesnt have anything extra
15:38
<
illiliti >
info args
15:38
<
illiliti >
info locals
15:38
<
testuser[m] >
it doesnt have that much debug info, i tried
15:39
<
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
15:39
<
illiliti >
did you compile with -ggdb?
15:41
<
testuser[m] >
no just with symbol_level. It barely built with that option I doubt my swap would be enough for ggdb
16:00
<
illiliti >
it seems unshare fails for some reason
16:02
<
testuser[m] >
Just stumbled upon it
16:03
<
testuser[m] >
How can u memset a function
16:07
<
testuser[m] >
illiliti: same crash, nothing logged
16:08
gtms has joined #kisslinux
16:12
gtms has quit [Quit: connection reset by purr]
16:12
<
testuser[m] >
phoebos: yeah
16:12
<
testuser[m] >
its unrelated but the code just seemed funny
16:13
gtms has joined #kisslinux
16:20
<
illiliti >
testuser[m]: no idea, it looks like c++ nonsense
16:20
<
illiliti >
try --allow-sandbox-debugging
16:20
<
testuser[m] >
[6084:6084:0322/162035.293975:FATAL:zygote_host_impl_linux.cc(204)] Check failed: ReceiveFixedMessage(fds[0], kZygoteHelloMessage, sizeof(kZygoteHelloMessage), &real_pid).
16:21
<
testuser[m] >
[6084:6084:0322/162035.293999:FATAL:zygote_host_impl_linux.cc(206)] Check failed: real_pid > 1 (-1 vs. 1)
16:21
<
testuser[m] >
i changed check to dcheck
16:22
<
testuser[m] >
enough for today
16:24
<
illiliti >
quite tedious to read chromium code
16:24
<
illiliti >
i'll setup swap and continue though...
16:25
<
illiliti >
thanks for the help
17:00
mahmutov has joined #kisslinux
17:57
an3223 has quit [Ping timeout: 240 seconds]
18:00
an3223 has joined #kisslinux
18:10
ejjdhfjsu_ has quit [Ping timeout: 240 seconds]
18:20
Guest6910 has joined #kisslinux
18:24
<
testuser[m] >
kiss fork and change ln -s to ln -sf or just remove the ln commands
18:25
<
noocsharp >
re chromium: any idea why file descriptors are being shuffled?
18:29
<
Guest6910 >
testuser[m]: thank you so much
18:34
Guest6910 has quit [Quit: Client closed]
18:34
<
testuser[m] >
Idk what it means
18:37
<
noocsharp >
ah, i see
18:44
ella-0_ has joined #kisslinux
18:45
ella-0 has quit [Ping timeout: 256 seconds]
19:44
illiliti has quit [Read error: Connection reset by peer]
19:44
illiliti_ has joined #kisslinux
19:59
mahmutov_ has joined #kisslinux
20:00
mahmutov has quit [Ping timeout: 240 seconds]
20:00
mahmutov_ is now known as mahmutov
22:47
mahmutov has quit [Ping timeout: 260 seconds]
23:56
illiliti_ has quit [Ping timeout: 252 seconds]
23:58
illiliti has joined #kisslinux