2020-01-29T02:04:56 #kisslinux 90% of the time I have no idea what any of you are talking about in here, but I feel strangely smarter just by being here. 2020-01-29T02:05:26 #kisslinux It's like a contact high, only the result is inflated feelings of coding skill. 2020-01-29T02:15:57 #kisslinux lol 2020-01-29T02:17:43 #kisslinux mforney: one more thing I've realized, what's a better check I can use for if a build happened than jobslen because after the main loop in build() I putchar('n') if jobslen is non-zero and dumb is zero but for like the clean target, which doesn't do the separate lines, that results in an excess trailing newline 2020-01-29T02:29:41 #kisslinux ah ok I see what's happening, the generated {build,rule}.ninja call ninja -t clean if you use the target clean, and so that extra newline is added for that one target but prints after the output from ninja -t clean, not really sure how to avoid that 2020-01-29T02:30:40 #kisslinux have you looked into what ninja does to handle this situation? 2020-01-29T02:42:27 #kisslinux I can't really tell, I'm looking at what situations n is added in line_printer.cc but I don't know C++ and more importantly ninja's source code is super confusing and I can't tell what actually causes those circumstances to be reached 2020-01-29T03:17:18 #kisslinux ok so it's not an extra new line it's that ninja somehow knows to print the new-line after it's status message but before the output from running ninja -t clean but samurai prints the newline after and doesn't have one between the status line and ninja -t clean output 2020-01-29T05:14:57 #kisslinux https://www.reddit.com/r/unixporn/comments/evgdjj/sowm_last_kiss/ 2020-01-29T05:14:59 #kisslinux :D 2020-01-29T07:02:20 #kisslinux https://github.com/kisslinux/kiss/releases/tag/1.0.0 2020-01-29T07:02:28 #kisslinux New kiss package manager update 2020-01-29T07:10:35 #kisslinux We can now start moving things like sbase/coreutils to install directly to the system 2020-01-29T07:30:03 #kisslinux kiss s sinit 2020-01-29T07:30:15 #kisslinux > /var/db/kiss/installed/./sinit 2020-01-29T07:30:32 #kisslinux There 2020-01-29T07:30:55 #kisslinux There is a . between the directory and the package 2020-01-29T07:31:48 #kisslinux Is it because of the find changes? 2020-01-29T07:32:12 #kisslinux dylan 2020-01-29T07:32:18 #kisslinux hey merakor 2020-01-29T07:32:23 #kisslinux Hya 2020-01-29T07:32:35 #kisslinux what does dylan mean 2020-01-29T07:32:39 #kisslinux While you're at it, `sbase` should install directly to `/usr/bin/` now. :) 2020-01-29T07:32:42 #kisslinux he said^ 2020-01-29T07:33:12 #kisslinux does he mean instead of busybox??! 2020-01-29T07:34:00 #kisslinux Yeah, I had sbase on /usr/local/bin just in case 2020-01-29T07:35:45 #kisslinux Which turned out useful as there were problems with kiss' find and sed usage when I installed them 2020-01-29T07:36:02 #kisslinux adamantium: the alternatives system has been added 2020-01-29T07:36:11 #kisslinux oh 2020-01-29T07:36:16 #kisslinux konimex: what do i need to know 2020-01-29T07:36:29 #kisslinux You can install sbase on busybox now 2020-01-29T07:37:00 #kisslinux And can replace the busybox coreutils with sbase 2020-01-29T07:37:05 #kisslinux make sure to `kiss u` first 2020-01-29T07:37:30 #kisslinux yeah im running latest kiss 2020-01-29T07:37:34 #kisslinux Yeah, also the modify the community package first 2020-01-29T07:37:34 #kisslinux anything else i need to od? 2020-01-29T07:37:39 #kisslinux do 2020-01-29T07:37:47 #kisslinux uh, nothing? 2020-01-29T07:37:53 #kisslinux > make sbase-box-install 2020-01-29T07:38:18 #kisslinux instead of > install -Dm755 sbase-box $1/usr/bin/sbase-box 2020-01-29T07:38:47 #kisslinux konimex: I'm not sure my question was exact enough. I'm trying to ask if there is anything i need to know about alternatives. How do I use it? 2020-01-29T07:39:04 #kisslinux So if you want to install alternatives 2020-01-29T07:39:08 #kisslinux to use alternatives, just use `kiss a` 2020-01-29T07:39:17 #kisslinux two secs 2020-01-29T07:39:18 #kisslinux You need to write KISS_CHOICE=1 kiss i package 2020-01-29T07:39:35 #kisslinux It warns you that the packages are conflicting otherwise 2020-01-29T07:39:55 #kisslinux merakor: How does this work 2020-01-29T07:40:14 #kisslinux when you do install it, if you want to replace, say, busybox ls and sbase ls 2020-01-29T07:40:18 #kisslinux you do 2020-01-29T07:40:23 #kisslinux > kiss a sbase /usr/bin/ls 2020-01-29T07:41:17 #kisslinux wow 2020-01-29T07:41:30 #kisslinux Okay, and... what does KISS_CHOICE=1 kiss i package do? 2020-01-29T07:41:54 #kisslinux If you don't say KISS_CHOICE=1, it doesn't install a conflicting package 2020-01-29T07:41:56 #kisslinux I mean when would i use 'kiss a ' as opposed to your 'KISS_CHOICE=1 kiss i package' example 2020-01-29T07:42:17 #kisslinux No you need to do KISS_CHOICE=1 before doing a `kiss a` 2020-01-29T07:42:57 #kisslinux merakor: so 'KISS_CHOICE=1 kiss i sbase' will replace much of busybox automatically 2020-01-29T07:43:05 #kisslinux When you add KISS_CHOICE=1, it knows that you are aware of the conflict and registers conflicts to the alternatives system 2020-01-29T07:43:16 #kisslinux and 'KISS_CHOICE=1 kiss a sbase /usr/bin/ls' only replace ls? 2020-01-29T07:43:21 #kisslinux No it only adds sbase to the alternatives. 2020-01-29T07:43:39 #kisslinux You don't need KISS_CHOICE=1 for `kiss a`. Only for `kiss i` 2020-01-29T07:43:56 #kisslinux k 2020-01-29T07:44:18 #kisslinux If you want to use everything that sbase provides you would do this with exact order 2020-01-29T07:44:24 #kisslinux so how do you replace as much busybox as possible with sbase 2020-01-29T07:44:24 #kisslinux KISS_CHOICE=1 kiss i sbase 2020-01-29T07:44:32 #kisslinux do you have to do it one by one? 2020-01-29T07:44:35 #kisslinux kiss a | grep ^sbase | kiss a - 2020-01-29T07:44:47 #kisslinux 0.o 2020-01-29T07:44:48 #kisslinux kiss a also accepts stdin 2020-01-29T07:45:29 #kisslinux OK 2020-01-29T07:45:33 #kisslinux do we have docs on this yet 2020-01-29T07:45:47 #kisslinux Nope but I am writing it at the moment. 2020-01-29T07:45:54 #kisslinux I hope you can do it merakor lol 2020-01-29T07:46:00 #kisslinux I'm going to need them 2020-01-29T07:46:09 #kisslinux and dylan always writes everything 2020-01-29T07:46:18 #kisslinux Yeah, it is a little complicated to grasp 2020-01-29T07:46:24 #kisslinux thanks 2020-01-29T07:46:38 #kisslinux He would probably write it better than me as he wrote the code 2020-01-29T07:46:46 #kisslinux so first need to update community sbase and ubase 2020-01-29T07:47:00 #kisslinux to use git sources + install to usr/bin 2020-01-29T07:47:07 #kisslinux and to install the whole symlink farm 2020-01-29T07:47:09 #kisslinux correct? 2020-01-29T07:47:12 #kisslinux Yeah 2020-01-29T07:47:58 #kisslinux k 2020-01-29T07:52:52 #kisslinux merakor: does kiss break if you install sbase to /usr/bin ? 2020-01-29T07:53:08 #kisslinux __all of it__ 2020-01-29T08:03:09 #kisslinux Ola 2020-01-29T08:03:17 #kisslinux > /home/goldie/projects/kiss-new/core/./zlib 2020-01-29T08:03:21 #kisslinux This is due to the find changes 2020-01-29T08:03:23 #kisslinux harmless 2020-01-29T08:04:07 #kisslinux KISS_CHOICE=1 is there for packages > 10 conflicts. 2020-01-29T08:04:24 #kisslinux Don't want a user to accidentally add 1000+ files to the alternatives system 2020-01-29T08:04:39 #kisslinux 'kiss a' lists all available alternatives 2020-01-29T08:04:55 #kisslinux The output of 'kiss a' can be used as input to 'kiss a' 2020-01-29T08:05:05 #kisslinux Which is why 'kiss a | grep ^sbase | kiss a -' works 2020-01-29T08:05:21 #kisslinux kiss also works with sbase now 2020-01-29T08:05:30 #kisslinux I fixed the sed/find non-posix stuff last night 2020-01-29T08:07:47 #kisslinux does the conflict include non-/bin conflicts? (e.g. manpage etc.) 2020-01-29T08:08:00 #kisslinux Yes 2020-01-29T08:08:14 #kisslinux It doesn't work for /bin/ls -> /usr/bin/ls though. 2020-01-29T08:08:17 #kisslinux might want to increase the limit to 20 2020-01-29T08:08:23 #kisslinux Yeah 2020-01-29T08:08:26 #kisslinux Can be tweaked 2020-01-29T08:08:54 #kisslinux konimex: That's just the auto behavior. 2020-01-29T08:09:04 #kisslinux It's opt-in above the threshold 2020-01-29T08:09:56 #kisslinux We can also swap gnugrep etc now if you like adamantium 2020-01-29T08:10:10 #kisslinux crap dang it 2020-01-29T08:10:13 #kisslinux (Could install as both grep and gnugrep) 2020-01-29T08:10:26 #kisslinux dylanaraps: that lats push added accidental [ubase] files 2020-01-29T08:10:33 #kisslinux heh 2020-01-29T08:10:34 #kisslinux i was about to fix it, didn't know you were here 2020-01-29T08:10:42 #kisslinux Send another PR 2020-01-29T08:10:45 #kisslinux k 2020-01-29T08:11:21 #kisslinux That's my fault 2020-01-29T08:11:37 #kisslinux Are the changes fine regardless? 2020-01-29T08:12:14 #kisslinux thery're fine 2020-01-29T08:12:31 #kisslinux i will finish my work on ubase and send a proper ubase pull 2020-01-29T08:12:35 #kisslinux just hang tight. 2020-01-29T08:12:37 #kisslinux Sounds good 2020-01-29T08:13:27 #kisslinux dylanaraps: I have fully switched sbase, everything works like a charm 2020-01-29T08:13:42 #kisslinux : 2020-01-29T08:13:43 #kisslinux :D 2020-01-29T08:16:37 #kisslinux i am excited about this. 2020-01-29T08:16:37 #kisslinux Sorry adamantium, I was away and I didn't see your message. 2020-01-29T08:16:45 #kisslinux no worries 2020-01-29T08:17:11 #kisslinux Kiss did break, when I installed sbase, but Dylan has patched the issues before the release 2020-01-29T08:17:14 #kisslinux dylanaraps: have to rethink everything now! 2020-01-29T08:17:18 #kisslinux :D 2020-01-29T08:17:29 #kisslinux It has no issues now. 2020-01-29T08:17:34 #kisslinux beautiful 2020-01-29T08:18:15 #kisslinux I just need to push a minor fix to the rc.boot script 2020-01-29T08:18:19 #kisslinux brb 2020-01-29T08:18:31 #kisslinux merakor: what git commits from forney do i need to make ubase official sources build 2020-01-29T08:18:37 #kisslinux any idea by chance? 2020-01-29T08:19:24 #kisslinux If i recall stty was an issue 2020-01-29T08:19:26 #kisslinux Let me check 2020-01-29T08:20:45 #kisslinux make DESTDIR="$1" PREFIX=/usr sbase-box-install 2020-01-29T08:21:05 #kisslinux ^^ should be safe s/sbase/ubase/g should be safe too for ubase right? 2020-01-29T08:23:21 #kisslinux Please let me know if you come across any bugs :-) 2020-01-29T08:24:06 #kisslinux Okay 2020-01-29T08:24:12 #kisslinux This is the patch 2020-01-29T08:24:32 #kisslinux https://github.com/michaelforney/ubase/commit/f3aa4b156360ce4a18e4a3897f883b663771ba24.patch 2020-01-29T08:24:38 #kisslinux This builds 2020-01-29T08:27:30 #kisslinux lol 2020-01-29T08:27:32 #kisslinux okay thanks 2020-01-29T08:27:53 #kisslinux I will source it on michael's repository. 2020-01-29T08:28:02 #kisslinux i'll use that. Tell me, i'm still learning my way around github and these sort of situations, how did you find that so quickly 2020-01-29T08:28:10 #kisslinux Since dimitris is nowhere to be found 2020-01-29T08:28:11 #kisslinux and figure out how it would be the patch we need? 2020-01-29T08:28:28 #kisslinux f 2020-01-29T08:28:32 #kisslinux whoops 2020-01-29T08:28:33 #kisslinux I knew what the problem was, so I knew where to look 2020-01-29T08:28:36 #kisslinux k 2020-01-29T08:28:39 #kisslinux that helps 2020-01-29T08:28:41 #kisslinux lol 2020-01-29T08:28:56 #kisslinux :D 2020-01-29T08:29:04 #kisslinux merakor: thanks for your help, and please do not hesitate to send me suggestions or email me 2020-01-29T08:30:03 #kisslinux Also, you can get patches directly on github when you append '.patch' to the commit 2020-01-29T08:30:09 #kisslinux Which is a really nice feature 2020-01-29T08:30:10 #kisslinux GREAT 2020-01-29T08:30:13 #kisslinux yeah. 2020-01-29T08:30:20 #kisslinux I like that you can get a tarball of any branch, too 2020-01-29T08:31:42 #kisslinux Yeah, it doesn't require a release, so you can get the tarball of any single commit 2020-01-29T08:31:42 #kisslinux I use that a lot :P 2020-01-29T08:31:47 #kisslinux dylanaraps: quick question 2020-01-29T08:31:49 #kisslinux Ya 2020-01-29T08:31:55 #kisslinux with the latest ubase PR (check in 3 2 1...) 2020-01-29T08:32:41 #kisslinux ya 2020-01-29T08:32:48 #kisslinux two issues 2020-01-29T08:32:49 #kisslinux Oh 2020-01-29T08:32:53 #kisslinux one i have a problem with a conflict 2020-01-29T08:32:54 #kisslinux I wouldn't fetch the patch from remote 2020-01-29T08:33:00 #kisslinux k 2020-01-29T08:33:07 #kisslinux Safer to keep it locally stored 2020-01-29T08:33:14 #kisslinux hows it safer 2020-01-29T08:33:25 #kisslinux allows us to audit easier? 2020-01-29T08:33:44 #kisslinux Remote source can't go bye bye (even if this is rare) 2020-01-29T08:33:49 #kisslinux k 2020-01-29T08:33:56 #kisslinux another question 2020-01-29T08:33:57 #kisslinux What's the conflict issue? 2020-01-29T08:34:13 #kisslinux https://github.com/kisslinux/community/pull/272/conflicts 2020-01-29T08:34:29 #kisslinux Ah 2020-01-29T08:34:32 #kisslinux Due to the last commit 2020-01-29T08:34:45 #kisslinux Want me to fix it? 2020-01-29T08:35:06 #kisslinux yes pls 2020-01-29T08:35:08 #kisslinux :D 2020-01-29T08:35:37 #kisslinux I have some foresight here however. sinit will fail to build now because of this ubase upgrade 2020-01-29T08:35:45 #kisslinux Fixed 2020-01-29T08:35:47 #kisslinux *lol* 2020-01-29T08:35:58 #kisslinux Can sinit work without sbase/ubase? 2020-01-29T08:36:11 #kisslinux I'd prefer to not tie it to a coreutils if possible 2020-01-29T08:36:24 #kisslinux let's see... 2020-01-29T08:36:32 #kisslinux well 2020-01-29T08:36:43 #kisslinux adamantium: The sources/checksums file need a trailing newline 2020-01-29T08:36:45 #kisslinux I removed it 2020-01-29T08:36:46 #kisslinux oops 2020-01-29T08:37:04 #kisslinux I can fix it for you if you like 2020-01-29T08:37:10 #kisslinux ya please do 2020-01-29T08:37:16 #kisslinux I'm thinking about sinit atm and all scatterbrained 2020-01-29T08:37:33 #kisslinux Done 2020-01-29T08:38:24 #kisslinux Just make the patch local to the repository and it'll be ready for merge 2020-01-29T08:38:41 #kisslinux ok dylanaraps 2020-01-29T08:38:44 #kisslinux i might have found a bug 2020-01-29T08:39:03 #kisslinux https://termbin.com/gd3s2 2020-01-29T08:39:05 #kisslinux ff 2020-01-29T08:40:03 #kisslinux dylanaraps: ^^^^ see what happened? I did "kiss i ubase", it warned of conflicts and advised alternatives, fine. then i simply typed it again, "kiss i ubase" and it did what idk????????????? 2020-01-29T08:41:57 #kisslinux sinit does require respawn from ubase, but I solved it by just installing respawn along with sinit 2020-01-29T08:42:25 #kisslinux yeah we need respawn. 2020-01-29T08:42:33 #kisslinux respawn is really cool too i like it 2020-01-29T08:42:38 #kisslinux adamantium: I can't reproduce 2020-01-29T08:42:43 #kisslinux I didn't have any other ubase tools up until now 2020-01-29T08:42:53 #kisslinux dylanaraps: ok but you see my output 2020-01-29T08:43:03 #kisslinux ^_^ 2020-01-29T08:43:30 #kisslinux Eh 2020-01-29T08:43:43 #kisslinux I can't extract with sbase tar 2020-01-29T08:43:53 #kisslinux on kiss 2020-01-29T08:43:59 #kisslinux merakor: That's a given 2020-01-29T08:44:08 #kisslinux ah yes, the tar problem, iirc it was discussed back when kiss was on discord 2020-01-29T08:44:11 #kisslinux The tar command has no standard 2020-01-29T08:44:37 #kisslinux adamantium: How did ubase installed once it worked? Where did the files go? 2020-01-29T08:45:04 #kisslinux adamantium: Once we merge your PR I'll test 2020-01-29T08:45:15 #kisslinux Yeah that is an issue, I'll unlink tar from sbase 2020-01-29T08:47:43 #kisslinux yeah, i'd recommend avoiding sbase tar. it has some known bugs 2020-01-29T08:48:57 #kisslinux dylanaraps: i believe it went to /usr/bin . seems im a broke system 2020-01-29T08:49:04 #kisslinux i pushed the PR still should be ready 2020-01-29T08:49:51 #kisslinux OK 2020-01-29T08:49:54 #kisslinux Trying now 2020-01-29T08:49:58 #kisslinux gl have fun 2020-01-29T08:50:03 #kisslinux im making me some coffee 2020-01-29T08:50:29 #kisslinux lets leave gnugrep and coreutils etc alone for a few days 2020-01-29T08:50:33 #kisslinux I can't reproduce 2020-01-29T08:50:34 #kisslinux All good 2020-01-29T08:50:40 #kisslinux i want sufficient testing on sbase and ubase first 2020-01-29T08:50:50 #kisslinux Did this happen while sbase was the system coreutils? 2020-01-29T08:50:51 #kisslinux before changing the way the entire ecosys works 2020-01-29T08:51:25 #kisslinux dylanaraps: let me see 2020-01-29T08:52:54 #kisslinux Nope, can't reproduce even when using all of sbase (minus tar) 2020-01-29T08:53:27 #kisslinux I have no issues either 2020-01-29T08:53:57 #kisslinux okay dylanaraps here is the output of my ENTIRE terminal session, https://termbin.com/fdza # shows my steps by steps how i upgraded to the latest kiss version, then installed the new sbase (from git) , (take note that i didn't get around to trying alternatives, i just left it alone...), then i started messing with ubase.... 2020-01-29T08:54:20 #kisslinux ff 2020-01-29T08:54:49 #kisslinux keep in mind i was using a `dumb' terminal, so if there is missing text, it's probably due to me backspacing over it with my cursor 2020-01-29T08:56:25 #kisslinux this is just a chroot i'm working in though. so i'll just trash later probably, i'm glad things are working for you guys 2020-01-29T08:56:52 #kisslinux I don't see what changed as it worked once (and aborted) 2020-01-29T08:57:03 #kisslinux yeah it was weird 2020-01-29T08:57:05 #kisslinux Why did it not detect conflicts the second time? 2020-01-29T08:57:09 #kisslinux i was expecting to be warned a second time 2020-01-29T08:57:12 #kisslinux agreed! 2020-01-29T08:57:19 #kisslinux Could emacs have read: !> Run 'KISS_CHOICE=1 kiss i sbase' to add conflicts 2020-01-29T08:57:23 #kisslinux And set the envar? 2020-01-29T08:57:26 #kisslinux nope 2020-01-29T08:57:28 #kisslinux impsosible 2020-01-29T08:59:51 #kisslinux Hm 2020-01-29T08:59:57 #kisslinux Nothing changed with the tarball either 2020-01-29T09:00:01 #kisslinux Literally nothing changed 2020-01-29T09:00:17 #kisslinux lets poke at the chroot 2020-01-29T09:00:22 #kisslinux maybe nothing happened 2020-01-29T09:03:33 #kisslinux okay the system is still busybox 2020-01-29T09:03:40 #kisslinux its fine 2020-01-29T09:03:50 #kisslinux that's good atleast. 2020-01-29T09:04:26 #kisslinux Where did the sbase files go? 2020-01-29T09:04:33 #kisslinux What does the manifest file for it say? 2020-01-29T09:04:35 #kisslinux dylanaraps: KISS_CHOICE=1 kiss i sbase does not show sbae with kiss a 2020-01-29T09:04:57 #kisslinux When I type "kiss a" i see nothing regarding sbase 2020-01-29T09:05:02 #kisslinux after typing, KISS_CHOICE=1 kiss i sbase 2020-01-29T09:05:09 #kisslinux try kiss a again, still nothing 2020-01-29T09:05:29 #kisslinux What does the manifest file for it say? 2020-01-29T09:05:36 #kisslinux diregard 2020-01-29T09:05:42 #kisslinux i think im on the wrong branch 2020-01-29T09:05:44 #kisslinux lmao 2020-01-29T09:06:16 #kisslinux yep 2020-01-29T09:06:18 #kisslinux that'll do it 2020-01-29T09:09:15 #kisslinux ya its perfecct 2020-01-29T09:09:26 #kisslinux i think i just was on the wrong branch and forgot 2020-01-29T09:09:30 #kisslinux Sorry about that 2020-01-29T09:09:34 #kisslinux dylanaraps: GREAT WORK 2020-01-29T09:19:24 #kisslinux :P 2020-01-29T09:30:52 #kisslinux being unable to use kiss as root removes KISS_ROOT functionality 2020-01-29T09:31:17 #kisslinux Doesn't it 2020-01-29T09:31:37 #kisslinux No no 2020-01-29T09:31:44 #kisslinux Just set KISS_ASROOT=1 to override it 2020-01-29T09:31:57 #kisslinux Oh I see, thanks 2020-01-29T09:32:03 #kisslinux The kiss-chroot script does this now 2020-01-29T09:33:47 #kisslinux Yeah, it would also be hard to create rootfs tarballs without it. 2020-01-29T09:42:33 #kisslinux aalright got the mechanical keyboard plugged in 2020-01-29T09:42:38 #kisslinux now we're getting serious 2020-01-29T09:45:37 #kisslinux Did we decide about sinit, the best way forward. I think we could just leave it 2020-01-29T09:46:05 #kisslinux IDK 2020-01-29T09:46:20 #kisslinux I don't understand how alternatives works well enough yet to know what to do 2020-01-29T09:46:36 #kisslinux dylanaraps: / ^ 2020-01-29T09:46:46 #kisslinux The issue is sinit needs ubase respawn 2020-01-29T09:47:19 #kisslinux ubase now is not smooth install becausae requires alternatives intervention 2020-01-29T09:47:48 #kisslinux but assuming somebody knows even to want to swap init systems they should be motivated enough to figure out how to install all / or part/ of ubase box, right? 2020-01-29T09:48:44 #kisslinux i'll leave it as is for now, but i'll wait for command from on high or if somebody opens an issue or PR then we can revisit this. 2020-01-29T09:55:56 #kisslinux KISS_CHOICE=1 kiss i sbase ubase ; kiss i busybox # results in busybox overwriting sbase/ubase without warning of conflict. What is going on here 2020-01-29T09:59:23 #kisslinux https://github.com/kisslinux/kiss/issues/97 2020-01-29T10:30:17 #kisslinux https://github.com/kisslinux/community/issues/273 2020-01-29T10:31:02 #kisslinux looks like suckless base sucks after all 2020-01-29T10:32:08 #kisslinux heh 2020-01-29T10:35:26 #kisslinux :D 2020-01-29T10:38:56 #kisslinux dylanaraps: if you get smart and try to manually fix things e.g. 2020-01-29T10:39:12 #kisslinux dylanaraps: # ln -s /bin/busybox /bin/su 2020-01-29T10:39:18 #kisslinux bad things happen 2020-01-29T10:39:29 #kisslinux :D 2020-01-29T10:39:58 #kisslinux That's wrong 2020-01-29T10:40:10 #kisslinux ln -s busybox-suid /usr/bin/su 2020-01-29T10:41:30 #kisslinux okay but still 2020-01-29T10:41:31 #kisslinux !> File '/usr/bin/su' exists on filesystem but isn't owned 2020-01-29T10:41:40 #kisslinux when running kiss a | grep ^sbase | kiss a - 2020-01-29T10:41:45 #kisslinux ^^^ happens 2020-01-29T10:42:41 #kisslinux kiss a | grep ^busybox | kiss a - # typo 2020-01-29T10:44:43 #kisslinux looks like kiss just looks for "su" now 2020-01-29T10:45:34 #kisslinux adamantium: I don't know what you did to break it 2020-01-29T10:45:40 #kisslinux What commands did you run? 2020-01-29T10:46:03 #kisslinux okay 2020-01-29T10:46:15 #kisslinux 1. swapped from busybox to ubase. 2020-01-29T10:46:18 #kisslinux 2. noticed su was broken 2020-01-29T10:46:30 #kisslinux 3. ln -s busybox-suid /usr/bin/su # fix su , works 2020-01-29T10:46:35 #kisslinux Wrong 2020-01-29T10:46:40 #kisslinux Just swap back with 'kiss a' 2020-01-29T10:46:46 #kisslinux 'kiss a busybox /usr/bin/su' 2020-01-29T10:46:50 #kisslinux 4. kiss a | grep ^busybox | kiss a - 2020-01-29T10:46:58 #kisslinux You broke it with the 'ln' command 2020-01-29T10:47:08 #kisslinux correct 2020-01-29T10:47:33 #kisslinux > kiss a busybox /usr/bin/su 2020-01-29T10:47:46 #kisslinux That's how you'd swap a single 2020-01-29T10:47:50 #kisslinux thats what im trying to do 2020-01-29T10:47:51 #kisslinux but 2020-01-29T10:48:02 #kisslinux kiss a busybox /usr/bin/su kiss a busybox /usr/bin/su # !> File '/usr/bin/su' exists on filesystem but isn't owned # /usr/bin $ 2020-01-29T10:48:07 #kisslinux Yes 2020-01-29T10:48:17 #kisslinux so how do i get out of this 2020-01-29T10:48:19 #kisslinux Because you broke it with the 'ln' above 2020-01-29T10:48:21 #kisslinux 2 secs 2020-01-29T10:48:22 #kisslinux correct 2020-01-29T10:48:33 #kisslinux the reason im reporting is less because "omg my system is broke" 2020-01-29T10:48:43 #kisslinux But I'm just trying to help others avoid making my dummy mistakes 2020-01-29T10:48:59 #kisslinux Gotcha 2020-01-29T10:49:14 #kisslinux Does 'kiss a' show both 'ubase' and 'busybox' 'su'? 2020-01-29T10:49:45 #kisslinux https://termbin.com/42c5 2020-01-29T10:50:19 #kisslinux Open busybox's manifest file 2020-01-29T10:50:26 #kisslinux remind where is that 2020-01-29T10:50:59 #kisslinux > /var/db/kiss/installed/busybox/manifest 2020-01-29T10:51:18 #kisslinux Replace the /var/db/kiss/choices/busybox>usr>bin>su line with /usr/bin/su 2020-01-29T10:51:39 #kisslinux https://termbin.com/yu0e 2020-01-29T10:51:43 #kisslinux Remove: /var/db/kiss/choices/busybox>usr>bin>su (the actual file) if it exists on the fs 2020-01-29T10:51:55 #kisslinux > /var/db/kiss/choices/busybox>usr>bin>su 2020-01-29T10:51:59 #kisslinux It's there 2020-01-29T10:55:00 #kisslinux i removed the line 2020-01-29T10:55:03 #kisslinux from the manifest. 2020-01-29T10:55:18 #kisslinux BUT cd /var/db/kiss/choices/ --> /bin/sh: /var/db/kiss/choices/: Permission denied 2020-01-29T10:55:22 #kisslinux (as root) 2020-01-29T10:55:44 #kisslinux disregard. 2020-01-29T10:55:45 #kisslinux typeo 2020-01-29T10:56:23 #kisslinux /var/db/kiss/choices/busybox: No such file or directory 2020-01-29T10:56:32 #kisslinux is that okay ^ 2020-01-29T10:56:35 #kisslinux You're not supposed to remove the line 2020-01-29T10:56:40 #kisslinux You're supposed to replace it 2020-01-29T10:56:47 #kisslinux oh lol 2020-01-29T10:57:00 #kisslinux phew 2020-01-29T10:57:04 #kisslinux > Replace the /var/db/kiss/choices/busybox>usr>bin>su line with /usr/bin/su 2020-01-29T10:57:16 #kisslinux > Remove: /var/db/kiss/choices/busybox>usr>bin>su (the actual file) if it exists on the fs 2020-01-29T10:57:33 #kisslinux rm -f /var/db/kiss/choices/busybox>usr>bin>su 2020-01-29T10:57:34 #kisslinux the entire directory /var/db/kiss/choices/busybox does not exist 2020-01-29T10:57:40 #kisslinux That's not a directory 2020-01-29T10:57:47 #kisslinux oh 2020-01-29T10:57:48 #kisslinux There are no subdirectories 2020-01-29T10:58:00 #kisslinux It's a file called busybox>usr>bin>su 2020-01-29T10:58:01 #kisslinux ok done 2020-01-29T10:58:10 #kisslinux weird file name, cool 2020-01-29T10:58:18 #kisslinux Just / replaced with > 2020-01-29T11:00:44 #kisslinux that fixed it, now switched back to __all busybox__ successfully via kiss a | grep ^busybox | kiss a - 2020-01-29T11:00:50 #kisslinux Yup 2020-01-29T11:00:52 #kisslinux however, su does not work strangely 2020-01-29T11:01:00 #kisslinux let me explain 2020-01-29T11:01:53 #kisslinux dylanaraps: see kiss a | grep ^busybox | kiss a - 2020-01-29T11:02:02 #kisslinux dylanaraps: see https://termbin.com/thwv 2020-01-29T11:03:16 #kisslinux Try 'kiss i busybox; 2020-01-29T11:03:22 #kisslinux 'kiss i busybox' 2020-01-29T11:03:39 #kisslinux with KISS_ROOT=1 2020-01-29T11:03:41 #kisslinux right? 2020-01-29T11:03:44 #kisslinux in this case 2020-01-29T11:03:52 #kisslinux KISS_ASROOT=1 2020-01-29T11:04:29 #kisslinux This is for running kiss as root 2020-01-29T11:04:37 #kisslinux k, building first 2020-01-29T11:05:03 #kisslinux HEHE wackamole 2020-01-29T11:05:06 #kisslinux Lesson: Don't do manual fixes as root without knowing exactly how to fix it 2020-01-29T11:05:55 #kisslinux sorry boss 2020-01-29T11:05:59 #kisslinux :^) 2020-01-29T11:06:15 #kisslinux I broke my system so many times yesterday 2020-01-29T11:06:27 #kisslinux Including no working /bin at all 2020-01-29T11:07:11 #kisslinux (While I was writing it) 2020-01-29T11:07:12 #kisslinux ok 2020-01-29T11:07:13 #kisslinux https://termbin.com/y7rw 2020-01-29T11:07:48 #kisslinux btw why does it ask root for root password 2020-01-29T11:07:51 #kisslinux ;) 2020-01-29T11:08:22 #kisslinux adamantium: What does busybox conflict with? 2020-01-29T11:08:29 #kisslinux adamantium: Will fix 2020-01-29T11:08:31 #kisslinux sbase ubase 2020-01-29T11:08:40 #kisslinux gnugrep 2020-01-29T11:08:42 #kisslinux idk 2020-01-29T11:08:44 #kisslinux thats it 2020-01-29T11:09:08 #kisslinux This is because they were swapped with 'kiss a' correct? 2020-01-29T11:09:20 #kisslinux beforehand, yes 2020-01-29T11:09:34 #kisslinux I have recently run the command howevern kiss a | grep ^busybox | kiss a - 2020-01-29T11:09:43 #kisslinux Why? 2020-01-29T11:09:43 #kisslinux i'm trying to "go back" basically 2020-01-29T11:09:47 #kisslinux why not? 2020-01-29T11:09:54 #kisslinux I'm testing the system we have, trying to find bugs 2020-01-29T11:10:19 #kisslinux You're making it worse by running extra commands before fixing the manual commands which broke it beforehand 2020-01-29T11:10:40 #kisslinux okay lets just trash this chroot 2020-01-29T11:10:42 #kisslinux i' 2020-01-29T11:10:44 #kisslinux i'm cool with that 2020-01-29T11:11:01 #kisslinux i dont want to waste our time here 2020-01-29T11:11:40 #kisslinux Ok 2020-01-29T11:13:05 #kisslinux I have to agree with konimex about suckless 2020-01-29T11:13:13 #kisslinux ^_^ 2020-01-29T11:14:08 #kisslinux I think we should remove 'su' from our 'ubase' package 2020-01-29T11:14:21 #kisslinux i would like to orphan sinit ubase and sbase 2020-01-29T11:14:24 #kisslinux tbh 2020-01-29T11:14:29 #kisslinux It's above my paygrade 2020-01-29T11:14:31 #kisslinux merakor: 2020-01-29T11:14:43 #kisslinux I'll take them over if no one wants to 2020-01-29T11:14:45 #kisslinux dylanaraps: is that okay? 2020-01-29T11:15:23 #kisslinux Ok thanks 2020-01-29T11:16:19 #kisslinux Not really, I'd rather not maintain more packages.. but that's why I'm here 2020-01-29T11:20:06 #kisslinux Well, that's also why I said, "I would like to", but I don't always do everything that I like-- I'm open to still maintaining them if needed, and helping out as always. 2020-01-29T11:21:08 #kisslinux It's a request, is all. If anyone else wants the job, I'm happy to hand it over. merakor: 2020-01-29T11:21:30 #kisslinux Is that okay now? 2020-01-29T11:21:58 #kisslinux It's OK regardless 2020-01-29T11:24:06 #kisslinux cool 2020-01-29T11:24:36 #kisslinux Nice work again, I'm shocked you implemented alternatives both 1. this fast. and 2. this WELL. 2020-01-29T11:24:55 #kisslinux It really allows the user to create some interesting setups........... 2020-01-29T11:30:25 #kisslinux Thanks 2020-01-29T11:30:34 #kisslinux I fixed the prompts showing as root btw 2020-01-29T11:30:36 #kisslinux Pushed an update 2020-01-29T11:30:54 #kisslinux beautiful 2020-01-29T11:31:12 #kisslinux let me know if merakor is going to fix the sinit mess 2020-01-29T11:31:33 #kisslinux otherwise i'll see what I can do, probably with your help 2020-01-29T11:32:19 #kisslinux I just don't have as much time as I had a couple weeks ago. I need to be able to get myself on auto-pilot for a little while 2020-01-29T11:32:46 #kisslinux All good 2020-01-29T11:33:48 #kisslinux dylanaraps: Regarding all the gnu packages, coreutils, etc. Shall i now just move everything to /usr PREFIX 2020-01-29T11:33:59 #kisslinux and remove 'g' prefixes? 2020-01-29T11:34:43 #kisslinux kiss looks for 'g'grep IIRC but maybe that's a kiss issue 2020-01-29T11:41:50 #kisslinux I think for gnugrep it's better to offer both 2020-01-29T11:41:54 #kisslinux grep and ggrep 2020-01-29T11:42:19 #kisslinux For a whole coreutils it's better go straight for /usr 2020-01-29T11:42:47 #kisslinux ok cool 2020-01-29T11:43:21 #kisslinux dylanaraps: what bout nawk, can it just install itself as both nawk and awk then 2020-01-29T11:43:29 #kisslinux like grep? 2020-01-29T11:44:07 #kisslinux yeah. and gawk will install as both gawk and awk 2020-01-29T11:44:17 #kisslinux lol this is going to be so chaotic 2020-01-29T11:44:23 #kisslinux good thing kiss can handle it 2020-01-29T11:47:26 #kisslinux :P 2020-01-29T11:47:44 #kisslinux Gives you both at the same time while allowing you to also swap the default 'awk' as an example 2020-01-29T11:49:13 #kisslinux OK question 2020-01-29T11:49:30 #kisslinux What's the easiest way to "inspect" the current state of your alternatives 2020-01-29T11:50:17 #kisslinux Is there a way to list all of my packages that are installed that have the alternatives option, and then to list the "active" alternative?> 2020-01-29T11:50:49 #kisslinux idk, maybe this isn't needed. 2020-01-29T11:51:34 #kisslinux If 'sbase /usr/bin/ls' is in alternatives it means that something else aleady provides /usr/bin/ls 2020-01-29T11:52:43 #kisslinux You can use 'kiss-owns /usr/bin/ls' to find out (or just grep the manifest files yourself) 2020-01-29T11:53:50 #kisslinux As all of the swapping is manually handled by the user, you should know what you're swapping regardless. 2020-01-29T11:54:31 #kisslinux This is more of an "advanced" feature and not something you *need* to use 2020-01-29T11:54:42 #kisslinux It's great for someone wanting to swap busybox for example 2020-01-29T11:57:14 #kisslinux Hey, I just did a 'kiss u' -- why does it ask for the root password? 2020-01-29T11:58:14 #kisslinux lol 2020-01-29T11:58:33 #kisslinux Just read the backlog, I think I missed something big. 2020-01-29T11:58:41 #kisslinux more information 2020-01-29T11:58:56 #kisslinux ran kiss u as which user? 2020-01-29T11:59:02 #kisslinux My user. 2020-01-29T11:59:20 #kisslinux so to update your git repositories in /var it's going to need to be root is it not? 2020-01-29T11:59:24 #kisslinux I mean, it normally asks for the sudo password, as opposed to the root password. 2020-01-29T11:59:51 #kisslinux oh okay, yes, the mechanism is changed we use su now 2020-01-29T12:00:02 #kisslinux and it will only ask you your password ONCE 2020-01-29T12:00:03 #kisslinux Wait, why? 2020-01-29T12:00:08 #kisslinux why would you want sudo 2020-01-29T12:00:08 #kisslinux No more endless password prompts 2020-01-29T12:00:20 #kisslinux My root password is more complex and bigger lol. 2020-01-29T12:00:30 #kisslinux lol 2020-01-29T12:00:36 #kisslinux su requires endless prompt every time it's invoked 2020-01-29T12:00:36 #kisslinux icyphox: I'll push an update to make it use sudo/doas if available 2020-01-29T12:00:44 #kisslinux can't please evrrybody 2020-01-29T12:00:49 #kisslinux Fair fair. 2020-01-29T12:01:12 #kisslinux I see the point. 2020-01-29T12:01:20 #kisslinux The change was made to remove the endless password prompts basically 2020-01-29T12:01:31 #kisslinux Makes sense. I'll roll with it. :D 2020-01-29T12:01:51 #kisslinux my Emacs is smart enough to look in my ~/.authinfo.gpg for an SU password 2020-01-29T12:01:58 #kisslinux and cache it 2020-01-29T12:02:03 #kisslinux gee if only everyone use emacs 2020-01-29T12:02:06 #kisslinux you guys just dont know what you're doing 2020-01-29T12:02:09 #kisslinux :D 2020-01-29T12:02:24 #kisslinux There's no point in a longer root password if sudo will use your account's "weaker" password anyway though 2020-01-29T12:02:33 #kisslinux ++ 2020-01-29T12:03:22 #kisslinux what if the root account is disabled by default? 2020-01-29T12:03:29 #kisslinux two secs 2020-01-29T12:03:34 #kisslinux dylanaraps: That is correct. 2020-01-29T12:03:48 #kisslinux Force of habit lol, I always set a bigger pw for root. 2020-01-29T12:04:52 #kisslinux you could install "expect" and use it with a wrapper for kiss and store your root password in a gpg password 2020-01-29T12:04:59 #kisslinux you dont need emacs konimex ^ 2020-01-29T12:05:02 #kisslinux Did you actually select the cypher when setting the root pw? 2020-01-29T12:05:11 #kisslinux "passwd -l" ing root is possible 2020-01-29T12:05:15 #kisslinux so "su" won't work 2020-01-29T12:05:17 #kisslinux Chances are your root pw is 8 characters long :p 2020-01-29T12:05:26 #kisslinux lol 2020-01-29T12:05:29 #kisslinux another method would be needed 2020-01-29T12:05:36 #kisslinux konimex: Would sudo work in that case? 2020-01-29T12:05:40 #kisslinux yes 2020-01-29T12:06:25 #kisslinux ubuntu (or debian iirc) has it by default 2020-01-29T12:07:01 #kisslinux root acc locked down and one user is given sudo access 2020-01-29T12:07:25 #kisslinux ^ 2020-01-29T12:07:58 #kisslinux Fix time 2020-01-29T12:08:06 #kisslinux heh 2020-01-29T12:08:26 #kisslinux Aarg[m]: if you're referring to my root pw, I'll have you know that it's 15 chars long. 2020-01-29T12:08:29 #kisslinux A simple, if sudo available; use it; else su should be good no? 2020-01-29T12:08:31 #kisslinux Hmpf 2020-01-29T12:08:39 #kisslinux icyphox: It may be truncated 2020-01-29T12:08:39 #kisslinux dylanaraps: yep 2020-01-29T12:08:53 #kisslinux It gets truncated? 2020-01-29T12:09:07 #kisslinux Try 'su' with only the first 8 chars of your pw 2020-01-29T12:09:32 #kisslinux my root pw is 6 chars long so there's that 2020-01-29T12:10:12 #kisslinux dylanaraps: holy shit 2020-01-29T12:10:14 #kisslinux mine is 4 chars 2020-01-29T12:10:17 #kisslinux iwin 2020-01-29T12:10:37 #kisslinux I had no idea. 2020-01-29T12:10:46 #kisslinux Mine i 6 chars 2020-01-29T12:10:49 #kisslinux is* 2020-01-29T12:11:04 #kisslinux icyphox be protecting himself from the nsa over here 2020-01-29T12:11:17 #kisslinux ;) 2020-01-29T12:11:29 #kisslinux adamantium: I /am/ the NSA. 2020-01-29T12:11:32 #kisslinux oh snap 2020-01-29T12:11:46 #kisslinux adamantium: looking good btw :) 2020-01-29T12:11:50 #kisslinux * adamantium changes root password 2020-01-29T12:12:00 #kisslinux yoou'll never take me alive 2020-01-29T12:12:07 #kisslinux :D 2020-01-29T12:12:36 #kisslinux What is looking good 2020-01-29T12:12:46 #kisslinux You are. 2020-01-29T12:13:12 #kisslinux It was a silly joke. 2020-01-29T12:13:20 #kisslinux WAT. Are you a female user on kiss i'll never believe it 2020-01-29T12:13:28 #kisslinux lmao no 2020-01-29T12:13:31 #kisslinux I'm a dude. 2020-01-29T12:13:35 #kisslinux oh god 2020-01-29T12:13:38 #kisslinux Sorry to disappoint. 2020-01-29T12:13:50 #kisslinux It's ok, I can receive a compliment 2020-01-29T12:13:56 #kisslinux Thanks 2020-01-29T12:13:59 #kisslinux lol 2020-01-29T12:14:14 #kisslinux brb 2020-01-29T12:14:18 #kisslinux It was a lame 'NSA man spying on you' typa joke. 2020-01-29T12:14:20 #kisslinux Aight. 2020-01-29T12:22:34 #kisslinux Gotcha 2020-01-29T12:22:55 #kisslinux lmao 2020-01-29T12:31:08 #kisslinux icyphox: Pushed 2020-01-29T12:31:24 #kisslinux Neat. Thanks. :) 2020-01-29T12:31:26 #kisslinux https://github.com/kisslinux/kiss/commit/a68805537459f378dcc25fff49389ad94e8f5fc2 2020-01-29T12:31:36 #kisslinux Will do some more testing and make a release in a little 2020-01-29T12:35:34 #kisslinux Pushed to repos 2020-01-29T12:48:35 #kisslinux oof 2020-01-29T12:48:40 #kisslinux I need to make more changes. 2020-01-29T12:48:44 #kisslinux This complicates things 2020-01-29T12:51:36 #kisslinux I'd drop #93 entirely, if the old method works, it works 2020-01-29T12:52:20 #kisslinux Endless password prompts aren't ideal regardless 2020-01-29T12:52:35 #kisslinux not if one's on sudo 2020-01-29T12:52:36 #kisslinux oh well 2020-01-29T12:53:00 #kisslinux Well, you're only caching 5 minutes on sudo 2020-01-29T12:53:13 #kisslinux And the user could disable caching 2020-01-29T12:54:00 #kisslinux aye 2020-01-29T15:47:32 #kisslinux The cat hospital continues 2020-01-29T15:47:52 #kisslinux Have a baby with fluid in her lungs 2020-01-29T15:53:51 #kisslinux dylanaraps: https://termbin.com/ih0n 2020-01-29T15:54:37 #kisslinux kiss-utils doesn't build with the specified install command with sbase 2020-01-29T15:54:54 #kisslinux hey merakor wanna take over sbase ubase and sinit 2020-01-29T15:55:04 #kisslinux you can have em? 2020-01-29T15:55:08 #kisslinux please :D 2020-01-29T15:55:17 #kisslinux Sure I would love to :D 2020-01-29T15:55:38 #kisslinux merakor: ok boss they are yours \ dylanaraps 2020-01-29T15:55:43 #kisslinux Thanks 2020-01-29T15:56:26 #kisslinux Sure thing 2020-01-29T15:56:38 #kisslinux oh fyi your first issue is in community at the top 2020-01-29T15:56:47 #kisslinux ;) 2020-01-29T15:56:47 #kisslinux Oh nice 2020-01-29T15:56:49 #kisslinux :D 2020-01-29T15:58:37 #kisslinux merakor: I bet there's a bunch of build files to fix 2020-01-29T16:02:14 #kisslinux Yeah, there are looots of `sed -i` usage 2020-01-29T16:03:13 #kisslinux :( 2020-01-29T16:16:00 #kisslinux grep -ir "sed -i" repository | wc -l 2020-01-29T16:16:02 #kisslinux > 29 2020-01-29T16:16:19 #kisslinux Less than what I thought 2020-01-29T16:17:18 #kisslinux grep -ir "sed -i" community | wc -l 2020-01-29T16:17:20 #kisslinux > 15 2020-01-29T16:28:57 #kisslinux Not too bad 2020-01-29T16:33:01 #kisslinux in response to mentions of tar above, bsdtar best tar ;) 2020-01-29T16:33:23 #kisslinux I agree 2020-01-29T16:34:08 #kisslinux like toybox provides pretty much all my utilities but I'd never use tar from toybox busybox s/ubase (whichever has it), it's all about bsdtar cuz it's just so very good 2020-01-29T16:35:50 #kisslinux How is toybox? 2020-01-29T16:35:59 #kisslinux great 2020-01-29T16:36:17 #kisslinux I have used it before but it has been a really long time. 2020-01-29T16:37:20 #kisslinux doesn't really have a usable init though as far as I know 2020-01-29T16:40:47 #kisslinux Init is the simplest component to be honest 2020-01-29T16:40:56 #kisslinux Not hard to implement one yourself 2020-01-29T16:41:57 #kisslinux I'm an openrc user so I just use openrc-init 2020-01-29T16:42:07 #kisslinux I was just talking from the perspective of what you might care about 2020-01-29T16:42:33 #kisslinux Oh I see 2020-01-29T16:43:12 #kisslinux What distro are you using? 2020-01-29T16:43:15 #kisslinux Gentoo? 2020-01-29T16:43:55 #kisslinux artix with tons of modification (like every package except glibc is locally rebuilt and the only reason glibc isn't too is cuz it doesn't compile with clang) 2020-01-29T16:44:11 #kisslinux I used artix s6 recently, it was fun. 2020-01-29T16:44:31 #kisslinux Glibc is a disaster, really 2020-01-29T16:44:52 #kisslinux I remember first doing an LFS build 2020-01-29T16:45:01 #kisslinux yeah I'd love to not use it but I do use upstream binary packages for makedeps I don't want to leave installed so I have to stay on it 2020-01-29T16:45:16 #kisslinux not upstream upstream like distro 2020-01-29T16:45:19 #kisslinux as opposed to packages I build 2020-01-29T16:45:23 #kisslinux The book literally advices you to rebuild in case glibc is updated 2020-01-29T16:55:35 #kisslinux dylanaraps: when are we getting the eiwd rebase :>) 2020-01-29T17:08:02 #kisslinux E5ten: Maybe someday :^) 2020-01-29T17:09:49 #kisslinux I'm playing doctor again so I may have some extra time this week 2020-01-29T17:11:05 #kisslinux dylanaraps: I have pushed fixed versions of builds on my repository 2020-01-29T17:11:55 #kisslinux I don't have every package on KISS and I have some extra packages that aren't on KISS 2020-01-29T17:12:25 #kisslinux Using regular sed + mv or using ed? 2020-01-29T17:12:26 #kisslinux But I hope they will be useful to you as well 2020-01-29T17:12:35 #kisslinux regular sed + mv 2020-01-29T17:12:56 #kisslinux I thought it would be more reliable 2020-01-29T17:14:25 #kisslinux Thanks 2020-01-29T17:14:33 #kisslinux You're welcome 2020-01-29T17:19:16 #kisslinux dylanaraps: sent a PR for webkit on community 2020-01-29T17:21:52 #kisslinux Added a comment 2020-01-29T17:29:02 #kisslinux Problem. 2020-01-29T17:29:16 #kisslinux This mv method breaks executable permissions 2020-01-29T17:30:37 #kisslinux is $_ posix btw? 2020-01-29T17:30:47 #kisslinux could make the mv call even shorter with it 2020-01-29T17:30:57 #kisslinux Only for interactive use iirc 2020-01-29T17:31:16 #kisslinux I haven't seen it work in a script with ash/dash 2020-01-29T17:32:13 #kisslinux yeah, does not work 2020-01-29T17:32:43 #kisslinux I need to preserve permissions somehow 2020-01-29T17:33:48 #kisslinux a good ed implementation would solve a lot of problems but would mean no pure busybox compatability 2020-01-29T17:34:13 #kisslinux I feel like bb really dropped the ball with their ed implementation, I mean wtf? 2020-01-29T17:34:17 #kisslinux might as well not include it 2020-01-29T17:34:39 #kisslinux given that ed is very obsolete I agree that they should just not include it :p 2020-01-29T17:35:29 #kisslinux sed -i is not posix 2020-01-29T17:36:04 #kisslinux I mean look at the hoops we have to jump through now 2020-01-29T17:36:19 #kisslinux tmpfile, mv tmpfile without fucking up permissions 2020-01-29T17:39:33 #kisslinux I really want to unlink sed from sbase ¯_(ツ)_/¯ 2020-01-29T17:40:01 #kisslinux -i is an unbelievably good feature 2020-01-29T17:41:32 #kisslinux Well, which sed implementations include -i? 2020-01-29T17:41:37 #kisslinux I'd much rather keep it too 2020-01-29T17:42:09 #kisslinux I don't think I've encountered one outside of sbase? 2020-01-29T17:43:07 #kisslinux and only BSD ones have the required arg for -i behaviour 2020-01-29T17:43:37 #kisslinux although, if you wanted to be compatible with every sed that has -i regardless of behaviour you could just do something like -ibak and then remove file.bak? 2020-01-29T17:43:38 #kisslinux for me it would be a good ed or sed -i, everything else sucks 2020-01-29T17:46:20 #kisslinux We already have a pretty good sed 2020-01-29T17:46:35 #kisslinux Even toybox sed has '-i' 2020-01-29T17:46:40 #kisslinux I am reverting atm 2020-01-29T17:46:53 #kisslinux POSIX should add a specification for -i 2020-01-29T17:47:16 #kisslinux They refused to due to -i behaving differenty across implementations. 2020-01-29T17:47:22 #kisslinux If they were to do it, it'd be -I 2020-01-29T17:47:44 #kisslinux merakor: git revert --no-commit HEAD~5.. 2020-01-29T17:47:55 #kisslinux I used this, just replace 5 with the count you need. 2020-01-29T17:48:11 #kisslinux Then 'git add .; git commit; git push' 2020-01-29T17:48:35 #kisslinux I am okay with whatever flag they want to give to that functionality, they should just add it :P 2020-01-29T17:49:31 #kisslinux Thanks dylan 2020-01-29T17:56:14 #kisslinux dylanaraps: you say "even toybox sed has '-i'" as if toybox is usually bad about having common flags :p 2020-01-29T18:05:17 #kisslinux E5ten: :^0 2020-01-29T18:05:21 #kisslinux :^)* 2020-01-29T18:09:35 #kisslinux slanderous 2020-01-29T18:11:06 #kisslinux Idea: Simple shell script to handle in-place editing which comes with kiss 2020-01-29T18:11:14 #kisslinux Would be 'ised' for example 2020-01-29T18:11:58 #kisslinux Though I kinda don't want the build scripts to include things which are "unknown" to people 2020-01-29T18:12:10 #kisslinux They're pretty self contained now 2020-01-29T18:14:30 #kisslinux imo not using sed from sbase and just assuming -i is the best course, every other sed implementation I've seen that's used on linux has it and has the optional arg behaviour 2020-01-29T18:18:33 #kisslinux That's what I'm going to do 2020-01-29T18:19:38 #kisslinux It's even more painful when it's multiple files with -i 2020-01-29T18:19:51 #kisslinux sed -i 's/search/replace/g' file file2 2020-01-29T18:45:35 #kisslinux Morning 2020-01-29T18:46:56 #kisslinux Hey 2020-01-29T18:47:17 #kisslinux ello 2020-01-29T19:30:23 #kisslinux dylanaraps: sinit PR coming soon 2020-01-29T19:47:25 #kisslinux Nice 2020-01-29T20:10:04 #kisslinux It's out 2020-01-29T20:20:57 #kisslinux Will leave some comments now and some tomorrow morning 2020-01-29T20:21:00 #kisslinux It's late here 2020-01-29T20:27:00 #kisslinux That's okay 2020-01-29T20:36:25 #kisslinux o/ 2020-01-29T21:00:18 #kisslinux has kiss got a easy encryption method at install? 2020-01-29T21:00:44 #kisslinux might be getting a new laptop soon and will probably try out kiss then 2020-01-29T21:01:33 #kisslinux lvm2/cryptsetup are supported through dm.mod.create 2020-01-29T21:01:34 #kisslinux https://www.kernel.org/doc/html/latest/admin-guide/device-mapper/dm-init.html 2020-01-29T21:01:59 #kisslinux ah okay no ez method for encryption 2020-01-29T21:02:29 #kisslinux like select install with encryption 2020-01-29T21:02:37 #kisslinux No 2020-01-29T21:02:46 #kisslinux The install process is entirely by hand 2020-01-29T21:02:53 #kisslinux There's no installer 2020-01-29T21:02:59 #kisslinux alpine is my daily driver but it's not really geared too much towards desktop users 2020-01-29T21:03:03 #kisslinux See: https://getkiss.org/pages/install 2020-01-29T21:03:13 #kisslinux by hand is fine 2020-01-29T21:03:28 #kisslinux it's just doing encryption by hand is normally a pain in the ass 2020-01-29T21:04:02 #kisslinux and little documentation 2020-01-29T21:04:10 #kisslinux that isn't a mindfuck 2020-01-29T21:07:38 #kisslinux Yeah 2020-01-29T21:08:01 #kisslinux dylanaraps: There is a small gpg issue with your key http://vpaste.net/0cfkN 2020-01-29T21:09:55 #kisslinux dylanaraps: actually i started working on it : https://github.com/dzove855/biss/ 2020-01-29T21:10:07 #kisslinux but did not had yet time to work fully on it 2020-01-29T21:10:35 #kisslinux also some parts i will copy paste since it's already clean 2020-01-29T21:10:50 #kisslinux do you love stallman or something? 2020-01-29T21:17:57 #kisslinux dylanaraps: does the explicit variable you use sed on to remove a word from end up having spaces at the beginning and end of the string before you use sed? 2020-01-29T21:18:14 #kisslinux I guess it'd have to to remove a string from the front 2020-01-29T21:21:10 #kisslinux E5ten: Yes 2020-01-29T21:21:23 #kisslinux klay: Interesting, haven't had this happen before. 2020-01-29T21:21:44 #kisslinux dzove885: Neat, will take a look 2020-01-29T21:22:07 #kisslinux there isn't any big changes currently, will keep you updated 2020-01-29T21:22:47 #kisslinux > IFS=: read -a kiss_path <<<"$KISS_PATH" 2020-01-29T21:22:51 #kisslinux Bash makes this so easy 2020-01-29T21:23:16 #kisslinux Also: globbing with globstar (**) to replace find 2020-01-29T21:23:21 #kisslinux Arrays! 2020-01-29T21:23:37 #kisslinux you do ${UID:-$(id -u)} but you should just use EUID cuz since you have bash you can guarantee it'll be set, no fallback needed, and EUID is what's relevant to being able to do root stuff 2020-01-29T21:26:39 #kisslinux yeah, actually i will remove find and sed (for grep not sure yet) 2020-01-29T21:26:43 #kisslinux klay: Tried a different keyserver? 2020-01-29T21:26:58 #kisslinux E5ten: dind't know for EUID, i will have a look. Thanks :D 2020-01-29T21:27:24 #kisslinux klay: I just tried your exact command in a chroot and it worked without a single issue 2020-01-29T21:28:02 #kisslinux E5ten: aah i see, will replace it 2020-01-29T21:29:35 #kisslinux dylanaraps:Nope, not tried. N.B. I tested this on my GNU/Debian wit GnuPG 2. Should not I use this outside KISS? 2020-01-29T21:30:06 #kisslinux klay: Nothing about it is KISS specific. I don't see why not. 2020-01-29T21:30:40 #kisslinux It's a regular key I set up. Nothing special about it. 2020-01-29T21:31:50 #kisslinux Tried with a different keyserver, the same 2020-01-29T21:32:03 #kisslinux I'm interested in 'new key but contains no user ID - skipped' 2020-01-29T21:33:10 #kisslinux That usually appears when the keyserver has an owner approval system which strips user IDs unless the owner has allowed them to be published 2020-01-29T21:33:32 #kisslinux keys.openpgp.org is an example server which does this 2020-01-29T21:33:37 #kisslinux Not sure about the GNU one 2020-01-29T21:35:14 #kisslinux klay: Try Ubuntu's keyserver: --keyserver hkp://keyserver.ubuntu.com 2020-01-29T21:36:05 #kisslinux I don't know about that site but isn't pgp keys usually "synced" across keyservers? I know sks-keyservers, pgp.mit.edu, and keys.gnupg.net do sync their data 2020-01-29T21:36:16 #kisslinux Ah! 2020-01-29T21:36:20 #kisslinux 'signatures using the SHA1 algorithm are rejected' 2020-01-29T21:36:29 #kisslinux It's related to my config 2020-01-29T21:36:54 #kisslinux I not trust sha1 :-P 2020-01-29T21:37:38 #kisslinux Turns out GPG chose to use it when I made my key a while ago 2020-01-29T21:38:34 #kisslinux gpg2 should default to sha256 iirc 2020-01-29T21:38:34 #kisslinux Oh, the default configuration still uses it 2020-01-29T21:39:17 #kisslinux Was still default in 2017~ https://lists.gnupg.org/pipermail/gnupg-users/2017-February/057808.html 2020-01-29T21:39:55 #kisslinux > Disabling SHA1 today utterly breaks the current web-of-trust 2020-01-29T21:40:09 #kisslinux > We're going to need to spend _years_ re-issuing signatures with a 2020-01-29T21:40:09 #kisslinux newer hash algorithm before we can safely disable SHA1 without 2020-01-29T21:40:10 #kisslinux totally destroying WoT (unless a crypto break does appear and we have 2020-01-29T21:40:11 #kisslinux to disable it for the other kind of safety) 2020-01-29T21:40:13 #kisslinux Interesting 2020-01-29T21:40:32 #kisslinux > To be fair, we should have been *deprecating* SHA1 many years ago (since 2020-01-29T21:40:32 #kisslinux Wang et al in 2005). we're late. if we'd been deprecating it for years 2020-01-29T21:40:32 #kisslinux it would be easier to consider disabling it now. 2020-01-29T21:42:13 #kisslinux yeah, I read this and decided to re-configure my gpg a few years ago 2020-01-29T21:42:23 #kisslinux Juts forgot about this 2020-01-29T21:45:46 #kisslinux The generation process says nothing about SHA1 in gpg1/2 :( 2020-01-29T21:48:44 #kisslinux consider using something like this in your config http://vpaste.net/cRLMG 2020-01-29T21:51:13 #kisslinux Okay, temporary disabled 'weak-digest SHA1' to add the key :) 2020-01-29T21:52:36 #kisslinux say, does gpg1 support ed25519? 2020-01-29T21:52:41 #kisslinux Apologies 2020-01-29T21:52:44 #kisslinux :-) 2020-01-29T21:52:55 #kisslinux konimex: Yes 2020-01-29T21:53:18 #kisslinux Hang on 2020-01-29T21:55:19 #kisslinux Nope 2020-01-29T22:22:42 #kisslinux howdy] 2020-01-29T22:26:30 #kisslinux sello 2020-01-29T22:26:33 #kisslinux ello* 2020-01-29T23:08:59 #kisslinux leggo my eggo's. 2020-01-29T23:24:18 #kisslinux I enjoy the idea behind this 💋 update 2020-01-29T23:37:29 #kisslinux :P 2020-01-29T23:37:35 #kisslinux https://termbin.com/lz0e 2020-01-29T23:39:56 #kisslinux incoming "why not write it in rust?" 2020-01-29T23:42:46 #kisslinux heh 2020-01-29T23:43:30 #kisslinux I'm going to do this with as little dependencies as possible. 2020-01-29T23:43:34 #kisslinux Or try to.. 2020-01-29T23:43:38 #kisslinux It's a lot of work in C 2020-01-29T23:44:19 #kisslinux wo 2020-01-29T23:44:24 #kisslinux ncurses conflicts with itself 2020-01-29T23:44:27 #kisslinux as long as it works with both gcc and clang it's fine to me 2020-01-29T23:44:41 #kisslinux monochromal: ?!?!? 2020-01-29T23:44:54 #kisslinux `/usr/bin/clear` 2020-01-29T23:44:58 #kisslinux `/usr/bin/reset` 2020-01-29T23:45:05 #kisslinux busybox also provides those 2020-01-29T23:45:19 #kisslinux it says ncurses on both 2020-01-29T23:45:22 #kisslinux Send me the command output? 2020-01-29T23:46:12 #kisslinux ~ $ kiss a 2020-01-29T23:46:15 #kisslinux -> Alternatives: 2020-01-29T23:46:26 #kisslinux ncurses /usr/bin/clear 2020-01-29T23:46:29 #kisslinux ncurses /usr/bin/reset 2020-01-29T23:46:51 #kisslinux Oh 2020-01-29T23:46:53 #kisslinux I get it 2020-01-29T23:46:55 #kisslinux what does /usr/bin/clear currently point to? 2020-01-29T23:47:07 #kisslinux That basically says "ncurses also provides /usr/bin/clear" 2020-01-29T23:47:48 #kisslinux See: https://github.com/kisslinux/kiss#alternatives-system 2020-01-29T23:50:30 #kisslinux both also links to busybox 2020-01-29T23:50:38 #kisslinux That's fine 2020-01-29T23:50:42 #kisslinux See the link I posted 2020-01-29T23:52:20 #kisslinux could it be also okay if `kiss a` lists what's currently being used? 2020-01-29T23:53:50 #kisslinux Sure 2020-01-29T23:53:55 #kisslinux Will push an update tomorrow 2020-01-29T23:54:29 #kisslinux holy thanks : D 2020-01-29T23:55:31 #kisslinux I'd rather not as the output of 'kiss a' should be the exact input needed for 'kiss a' but I can hack round this with some /dev/stderr magic 2020-01-29T23:55:59 #kisslinux You should know what you're swapping as it never happens automatically 2020-01-29T23:56:47 #kisslinux Anyway, I'm off to bed