libera/#eudev/ Friday, 2021-09-17

DiffieHellman>Let's keep eudev maintained >github.com Could ya'll please consider not using a proprietary git hosting service?03:40
DiffieHellmanIt's a bad look for a project that escapes the clutches of systemd to throw itself into the clutches of githuw.03:41
UsLDiffieHellman: https://p.pastly.xyz/file/zn75n2/4n4lgn/plain03:55
DiffieHellmanUsL: Gitlab isn't a good choice either, it's only slightly better.04:01
DiffieHellmanI would be happy to host gitea for you if I could guarantee uptime - sadly I can't yet. Best way is just to use cgit and have a mailing list :D04:03
UsLnot sure that would be the easiest path for the project. I guess they settled for github for the reasons in the paste.04:05
UsLI'm just glad eudev will continue now and that devs have a platform.04:06
DiffieHellmanIf you've settled on github, at least accept patches via git send-email I reckon.04:07
UsLthey probably will cater to most needs out there.04:09
plasma41Was SourceHut considered? I is fully functional without javascript and email-based workflows as supported as first-class.04:10
plasma41s/I/It/04:10
DiffieHellmanWell, I want to send a patch in to fix the readme, but I can't.04:11
DiffieHellmanI.e `IRC: Freenode/#gentoo-udev` - that channel is on librechat now04:12
UsLthey will soon forward here if I recall correctly. Like devuan-eudev got +F here.04:13
UsLI think it was discussed earler today/yesterday04:13
UsLplasma41: sounds good. No one spoke of it I think. Perhaps bring it up with them if it's a better fit04:15
plasma41UsL: Who is "them" in this case? Are you referring to anyone who isn't in this channel?04:16
UsLfrom the paste link I pasted some rows up04:16
plasma41Ah, in that case:04:19
plasma41ping Ariadne and bb|hcb ^^^04:19
UsLand Arsen.04:20
UsLhe already pulled one year of commit stuff to a thingie.04:21
UsLanyway, checkout the logbot link. No need to repeat04:21
* plasma41 reads through the log04:24
golinuxDiffieHellman: librechat > liberachat04:40
DiffieHellmanDamn, I slipped up, unacceptable.04:44
golinuxIt happens.  :)04:44
golinuxNo biggie except to someone who might try to c/p04:45
Ariadnewe are not interested in bikeshedding the git forge.  thanks06:26
DiffieHellmanYou're only interested in accepting commits from those willing to surrender their freedom to microsoft? Okay then.06:28
Ariadneliterally not here to deal with concern trolls06:47
UsLnice attitude. Perhaps more becoming in a mid level ceo at - insert big bully corp here - than a extremely small project with two devs. If he wanted to post patches his way by mail that makes him a troll? You should perhaps also speak for yourself and not use "we" in your sentences.08:21
ArsenDiffieHellman: the clutches of a git host matter not10:10
Arsenit's a distributed scm10:10
Arsenah they left10:11
joergwhile I'm also not happy with gitblub, I admit it's more easy to switch that some sourcecode once they go rogue (we seen a similar switch lately, leenode anybody?)10:19
joergthan some*10:19
skarnetplease let's not have yet another iteration of this conversation10:25
Arsenyeah10:35
Arsenfwiw we could accommodate for people who boycott GitHub because of Microsoft by having a mailing list somewhere10:52
Arsenpull requests and emails can both be sent in a standard git manner to such a list10:53
Arsenand patches, I mean10:59
* rkta likes having the option to send patches via mail11:00
ArsenI think at least two of us here are accommodated to that workflow, dunno about the rest11:00
Arsenskarnet: what do you think? iirc you've worked like that for quite a long time11:00
skarnetArsen: it's a problem that Alpine has struggled with for a long time, I'm certainly not the best person to talk about it, but from what I saw, maintaining several workflows was a lot of effort, mainly because ml-to-PR software was not up to speed, etc. etc.11:10
skarnetmy general opinion in these matters is that people spend waaaaaaaay too much time thinking about meta stuff and talking about what would theoretically be best, and when (if) they eventually make a decision, implementing/integrating/managing the tooling that would possibly be useful in the theoretical cases etc.11:12
skarnetand in the end much more effort is spent on that than on actual stuff that needs doing11:13
skarnetand it's a pattern that infuriates me11:13
skarnetexperience has changed my opinion of workflow/hosting/freedom... purists11:14
skarnetI was one of them11:14
skarnetnowadays I think people who insist on that kind of purity simply lack maturity11:14
skarnetthe concern about using GitHub is real, but needs to be quantified11:15
skarnethow likely is it that MS will pull a fast one and deprive github users of their freedom, whatever that means11:15
skarnetwhat would that mean for eudev11:16
skarnetwhat would be the cost11:16
Arsenwell let's answer that one by one11:16
skarnetwhat is the cost of an alternative11:16
Arsen- MS will never pull anything on GitHub because it's their enterprise platform11:16
skarnethow much effort is needed to set up alternative workflows11:16
Arsen- it would mean nothing, git is the easiest thing to migrate, hell, I'll set up a mirror for our eudev repo this week just in case, that we can recover from whenever, as I do for many other repos11:17
Arsen- I don't think the cost can exceed one workday in manhours11:17
Arsenno matter what happens11:17
Arsen- not much, actually11:17
Arsenas for ml-to-PR, I don't think such a thing would happen11:17
skarnetI'm not looking for answers, I'm just listing the questions that I think people should ask themselves whenever they complain about lack of purity11:18
Arsenah, my bad11:18
skarnetjust exposing my thought process on these kinds of things11:18
Arsenbut, back on that: I assume everyone here has good mail netiquette (email accounts, clients set up for plain-text mail, etc), so involving a review process on that alternate channel wouldn't be an insane proposition11:19
Arsennor too difficult, really11:20
Arsenautomatically converting them to PRs doesn't sound like a good idea to me, but I could figure that out11:20
Arsenit would mess up committer information in the commits and would open up a channel for abuse11:21
Arsennot to mention it'd probably be relatively fragile11:21
skarnetand unless there's obvious reason for immediate or short-term concern, or fundamental/ethical reasons, my general approach is "stop jerking off to purity and getting nothing done, make a choice, do some real work, if it appears that the choice was bad, then spend effort changing it, but don't spend all your time overthinking it"11:21
skarnetfundamental reasons can be e.g. dogfooding: I run skarnet.org on my own software. I expect a forge to self-host. etc. etc.11:22
skarnetbut those are special cases11:22
skarnetI'm interested in the content, not on the metadata11:23
skarnetnot in*11:23
skarnetand in tech people spend their LIVES talking about metadata11:23
skarnetthat was a very long answer to eventually say "I really don't care, and you shouldn't care either"11:24
skarnetdo whatever you want, I'll adapt11:25
AriadneUsL: thank you for your feedback, let me summarize my response: don't care11:28
joerg:-) I wasn't aware there was so much fuel to burn on this topic.  I agree those considerations are pretty much proven by experience (also my own, regarding a lot of tools). Probably a good thing it got diskussed, evaluated and the result archived now ;-) Back on track with main topic for me11:29
Ariadneskarnet: the choice of forge was not my decision, github was chosen as lowest common denominator.  it was what everyone could agree to hate mutually.11:29
Arsenit ultimately really doesn't matter11:31
Arsenit's beyond simple to pick and switch11:32
Ariadneexactly11:32
skarnetAriadne: that's missing a fundamental government principle: in order to have the least possible amount of discontent, you should always oppress the same people! :P11:36
UsLAriadne: what you care about is evident. My point was that perhaps inclusion is better than sitting on a high horse dictating how people are not welcomed to contribute to this project11:40
Ariadneok12:47
bb|hcbUsL: crying for how an accident may happen to the unborn baby is pointless14:19
bb|hcbIf there is a person who has to avoid github (whatever their reasons), we will find a way to solve that14:19
bb|hcbUntil there is such a problem to solve, please do not put any effort in it14:20
bb|hcbAnd to (hopefully) finish that topic: There are 104 forks, 26 open issues and 1 PR on github already. Shall we cut off all those people because we dislike github (not a question)14:24
joerg[17 Sep 2021 06:28:29] <DiffieHellman> You're only interested in accepting commits from those willing to surrender their freedom to microsoft? Okay then.15:28
joerg[17 Sep 2021 06:28:29] <-- DiffieHellman (~Username@user/curve25519chacha) has left this channel.15:28
joergI also think a more inclusive approach to complaining users is advisable - at least in message they are given by the channel15:30
zhadumHow do you surrender your freedom to Microsoft by using github? The mind boggles15:31
joergquestionable statement, yeah. However no reason to instantly leave the channel15:32
skarnetI question the size of { potential contributors of value to eudev } ∩ { grandstanding purists }15:33
joergplease keep in mind we're talking about a recent actual context: http://reisenweber.net/irclogs/freenode/_eudev/_eudev.2021-09-17.log.html#t2021-09-17T06:28:2915:35
joergI'm not really interested in gitblub, I am dedicated to the mood in this channel15:37
joergmaybe we could agree to give users like DiffieHellman a "don't worry, we'll find a way you feel comfortable with" reply?15:39
skarnetthe point is that I suspect most of these users would not actually contribute to eudev in any meaningful capacity and are safe to ignore15:43
skarnetthere are ways to express that you are interested in participating to a project but uncomfortable with the current tooling15:44
skarnetand this is not what happened15:45
joergI guess you're right, as their introduction here was >><DiffieHellman> >Let's keep eudev maintained >github.com Could ya'll please consider not using a proprietary git hosting service? << I don't know what if any been the history before that point in other channels with this user.15:47
zhadumHow come these people stick with Freenode and then complain about gitbub? How come this channel's logs even available from Freenode? Is there a relay?15:47
joergsorry?15:49
zhadumI am in a LiberaChat channel, how come the log URL is a Freenode channel log?15:49
joergit's not. I guess you mix my logbot's local network names which for hysteric raisins are somewhat misleading with what's actually getting done and where15:50
zhadumI was k-lined on Freenode just for what I represent and voicing my concern about Lee's takeover and his shadowy admin hire process. So it is comforting to hear that it's just a bot misconfiguration, not some leakage from Freenode ;-)15:51
joergso welcome to the club, I moved over like a dozen channels from leenode to here15:52
zhadumSame15:52
zhadumBut, I promised myself a break from online communities just two weeks ago and here I am, discussing again. So I'll try to keep my mouth shut now15:53
joergI guess eventually I got to actually rename that stuff. Does anybody know of a tool like sed that *also* acts on filenames?15:54
Ariadneperl has rename(1)16:12
joergta, alas my perl skills are really poor16:13
Ariadnezhadum: i feel like the crown prince of the joseon empire and his IRC network are unrelated to eudev16:13
joergguess I'll write a bash script. like always16:13
joergAriadne: it was about chanlog in /topic16:14
Ariadnefair16:18
skarnetjoerg: find -exec mv ?16:20
skarnet(in addition to the sed)16:20
joergsth like that, yes16:20
joergwill be like 4 basg lines in the end16:21
joergbash even. Then lighttpd rewrite rules on top of this for legacy bookmarks :-/16:21
Arsenjoerg: moreutils has a neat program called "vidir"16:51
joergArsen: awesome :-)16:53
joergI was already musing how to code something _very_ similar :-D  https://linux.die.net/man/1/vidir16:58
rktare: sed for file names: zsh has zmv17:17
Arsenwhy is that in zsh?17:18
rktaI dunno, but zsh has it :)17:19
joergfind --name '*abc*' -exec mv {} $(echo {}|sed 's/abc/xyz/g')\; ; ?18:01
joergplus sed -i 's/abc/xyz/g' $(find -type f)18:02
joergmultiple times, in carefully sorted order of sequence, for s/irc.freenode.net/chat.libera.dev/ s/[Ff]ree[Nn]ode/Libera/ and whatnot else I forgot18:05
joergTLD .dev ;-P me needs more coffee18:28
ArsenI don't think that's how find works, I think19:03
Guest12It's great to hear about the recent transition and thank you to everyone helping to maintain eudev and keeping all of us Slack(ers) systemd free as we like it to be.19:04
bb|hcb#gentoo-udev will continue to be active but focusing on systemd separated udev; in this case I see no point in leaving notes or making redirects20:30
bb|hcbArsen: https://git.aarsen.me/systemd-udevonly.git/ gives warning: remote HEAD refers to nonexistent ref, unable to checkout.20:37
bb|hcbDo I get something wrong?20:37
Arsenhm20:38
Arsenthat's strange20:38
Arsenare you cloning main?20:38
ArsenI probably didn't adjust HEAD to main20:38
Arsensince git defaults to master20:39
bb|hcbI tried than on a Debian/sid vm; no changes in git conf besides signed commits, name, etc.20:40
ArsenI meant on my machine20:46
Arsenbb|hcb: git clone -b main https://git.aarsen.me/systemd-udevonly.git/ was fine for me21:10
Arsenthough that uses the dumb http transport21:11
ArsenI should probably do something about that21:11
bb|hcbI cloned it, but I am still wondering how to use that against eudev repo21:35
* bb|hcb feeling dumb21:36
Arsendon't feel dumb21:59
ArsenI replaced the eudev repo with that21:59
Arsenas I do believe a viable strategy is making a new fork off of systemd right now22:00
* sam_ nods22:04
bb|hcbYes, there are two approaches - 1. generate a patch set agains current eudev code and 2. do a new fork (what you propose above)22:05
ArsenI mean, technically, one could git merge -X theirs new-fork-branch, or something along those lines, but I'm not sure how worth it it is22:06
bb|hcbBoth have pros and cons, I can't say which is better22:06
Arsenthough, the theirs merge strategy probably won't discard other paths in tree that are no longer relevant22:06
Arsenbb|hcb: I corrected HEAD on my server to point to main, sorry about that oversight on my part22:08
Arsenfrankly, I probably noticed it was wrong and just ignored it when I was setting that up22:08
bb|hcbno worries - that is a detail :)22:09
bb|hcbOK, lets brainstorm path 1; what do you propose to do next? how can others help with that?22:09
Arsenwell, while we were discussing this, a friend of mine made an interesting advancement: https://github.com/freeinit/libfreeinit22:10
Arsennow, that repository as it stands now is empty, but I'm told that it's meant to be a portable libsystemd reimplementation22:11
Arsenif (when) that comes to fruition, we could just depend on that in eudev and make our job entirely just keeping up with upstreams (sane) decisions, and correcting any less sane ones and unportabilities22:11
Arsenand, of course, contributing to libfreeinit, as we would likely become a large consumer of it22:12
Arsen"reimplementation" is the wrong word, it's probably to libsystemd what eudev is to systemd-udev22:12
Arsenthat was quick22:13
bb|hcb... a decoupling fork IOW22:13
Arsennetbsduser here made that repository22:14
netbsduseri've got all my things open, easy to context switch :)22:14
bb|hcbHello netbsduser and welcome!22:14
Arsennow, what I propose as a short and long term strategy is: keep eudev alive as is, fix any bugs incoming from gentoo, alpine, devuan, and in the future, rebase onto systemd, with libfreeinit as the main libsystemd implementation22:15
Arsenthat rebase step would involve reorganizing the code in a usable form, like I've shown before via that filter, removing any glibcisms, and anything that might not yet work with libfreeinit, though our goal should be to correct that in libfreeinit, to an extent appropriate22:16
Arsenthis boils our work down to what I said before, merging in useful changes and removing problematic ones, and ensuring portability22:17
Arsen(plus backcontributing to an independent libsystemd implementation for a greater good)22:17
Arsenthe first example of how such a thing comes into play is having libfreeinit adjust sd-notify to work with skarnet's s6-rc (excuse me if I misattributed the component - my memory is quite poor), for instance, allowing for a richer state of various services and dependencies between them22:18
bb|hcbBasically short term plan is to check existing issues and PRs, merge distro specific patches in the current codebase?22:20
bb|hcbAnd long term plan is to do a eudev-5 branch like the 5y old eudev-4 one?22:20
Arsenyup22:20
Arsennot all distro specific patches, though22:21
bb|hcbDid I say all :P22:21
Arsenfor instance, I'd not be one to disable predictable interface naming, it's quite useful in many environments, and there's no need to diverge such an easy to change default in our downstream rather than distro specific downstreams22:21
bb|hcbAbout interface naming, I believe that we shall make the selection to be configurable. Preferrably runtime, although its acceptable build time...22:23
Arsenthat works for me too22:23
bb|hcb<rant>I see nothing predictable in that naming</rant> but I see no reason people to like it and use it22:25
Arsenput 2 nics in the same pc and ens1 is always the first pci express hotplug slot22:27
Arsenput 2 nics in the same pc, and you could very well see eth0 and eth1 swap places22:27
Arsenalso, ``ln -s /dev/null /etc/systemd/network/99-default.link'' has the same effect with zero patches, though I haven't had a chance to try that on eudev22:28
netbsduserArsen: that case wrt sd-daemon's sd_notify functionality is exactly one of the things i'm very keen on - i've seen too many daemons which play nicely with systemd but don't with other service supervisors, insisting on e.g. double-forking and thus breaking the likes of s6 (not sure if s6 has that awful 'fghack' thing that daemontools had which tries to keep track of double-forkers)22:28
bb|hcbSomewhere blueness mentioned that the main thing in which current codebase is visibly behind is hwdb parsing; maybe its a good idea to look into that first?22:29
bb|hcbSeen that, been there... But some bios renumber pci busses too, then ens1/ens2 would also swap (that was 10y back some 5000 intel mobo)22:31
bb|hcbArsen: can't check the 'ln -s ...' thing - eudev is already pathched on my pc22:36
bb|hcbnetbsduser: What do you think about socket activation?22:37
netbsduserbb|hcb: i have a lot of respect for dave zarzycki (the original engineer responsible for apple's launchd) and i think that he had a great idea in using it to eliminate the need for explicit dependency directives. i think its benefits for systems which don't have that pure model, however, are more limited. i've seen sparse evidence that it's really that much of a speed gain, which is what the systemd people seem to prize as its greatest merit22:40
Arsenyeah, you can only get as good as the fw/hw permit, but why not bother going to that limit for a few broken fws which are, at worst, just as good22:40
ArsenI probably worded that poorly but I hope my point comes across since I have to leave the house again22:41
netbsdusersome of the remaining merits rely on the extended definition of 'socket activation' that systemd uses. sending your FDs to a trustee while your daemon restarts and then retrieving them to maintain uninterrupted service is a nice thing22:42
bb|hcbI didn't know the idea comes from launchd. And since modern OSs have SCM_RIGHTS it is not black magic to implement. But the library interfaces and decoupled init system messaging are a problem22:45
netbsduserstrictly speaking it's inetd that pioneered it; launchd just found a clever use of it, by which launchd never had to deal with a significant chunk of the problem of dependencies22:47
netbsduseri still need to investigate s6 more fully, then i can figure out whether it's going to be feasible to implement any useful abstraction of sd_notify that can work with s6 too. certainly some of the features of sd_notify liek the status messages won't work. and whether the sd_notify fd-holding functionality can be adapted to fit with s6-fdholder is another question22:50
bb|hcbearly unix tools used stdin/stdout and inetd made them networked; instead of improving inetd daemons started to implement sophisticaed socket management models... in some way launchd went back to the roots22:51
Arsenthis sophistication can come at an advantage, though22:52
Arsensharing state was easier, and handling many thousands of connections became less relevant on the CPUs ability to be concurrent22:52
netbsduserif issues of fundamental incompatibility arrive, the logical step is to try and implement some new interface in libfreeinit, a frontend to either sd_notify style, s6 style, or whatever, and push for daemon-writers to support it22:52
netbsduserin fact i see setting standards as an imperative. we musn't facilitate our own irrelevance by encouraging people to depend ever more intimately on the subtleties of systemd and its interfaces22:56
netbsduseri am very enthusiastic about libseat, for example, which is a library providing the functionality sought by wayland compositors and desktop environments through an interface sufficiently well-thought-out to be able to deal with either seatd or (e)logind22:57
bb|hcbAgree. But that is a tough to keep balance between staying practicle and sane23:13

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