gchristensen changed the topic of #nixos-dev to: NixOS Development (#nixos for questions) | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html | 18.09 release managers: vcunat and samueldr | https://logs.nix.samueldr.com/nixos-dev
<Profpatsch> /join #flycheck
orivej has quit [Ping timeout: 245 seconds]
q6AA4FD has joined #nixos-dev
hedning has quit [Quit: hedning]
<gchristensen> https://github.com/NixOS/ofborg/pull/312 here I add new ranges: 501-1,000, 1,001-2,500, 2,501-5,000, 5,001+
<{^_^}> ofborg#312 (by grahamc, 29 minutes ago, open): Support more ranges
drakonis has quit [Quit: WeeChat 2.3]
q6AA4FD has quit [Read error: Connection reset by peer]
q6AA4FD_ has joined #nixos-dev
worldofpeace has joined #nixos-dev
lassulus_ has joined #nixos-dev
lassulus has quit [Ping timeout: 245 seconds]
lassulus_ is now known as lassulus
worldofpeace has quit [Remote host closed the connection]
pie___ has joined #nixos-dev
pie__ has quit [Ping timeout: 240 seconds]
q6AA4FD_ has quit [Quit: ZNC 1.7.1 - https://znc.in]
q6AA4FD has joined #nixos-dev
q6AA4FD has quit [Ping timeout: 246 seconds]
q6AA4FD has joined #nixos-dev
__Sander__ has joined #nixos-dev
globin has quit [Remote host closed the connection]
globin has joined #nixos-dev
<andi-> Is hydra having difficulties with channel bumps (again)? NixOS 18.09 is ~7d old now, there was a successful `tested` job execution about 9h ago.
orivej has joined #nixos-dev
<srhb> andi-: Most of them are held up by incomplete evaluations. aarch64 has been the slowest lately in most cases.
<srhb> andi-: But yeah, it looks like there are several candidates that are complete and should have bumped the channels, so it does seem likely that the channel bump script is shot.
<srhb> nixos-unstable should also have bumped to this, for instance: https://hydra.nixos.org/build/88034145
q6AA4FD has quit [Ping timeout: 240 seconds]
init_6 has joined #nixos-dev
Sigyn has quit [Quit: People always have such a hard time believing that robots could do bad things.]
Sigyn has joined #nixos-dev
q6AA4FD has joined #nixos-dev
init_6 has quit []
<gchristensen> I have a meeting thursday about aarch64 hw
q6AA4FD has quit [Ping timeout: 268 seconds]
tilpner has quit [Quit: WeeChat 2.3]
apaul1729 has joined #nixos-dev
q6AA4FD has joined #nixos-dev
drakonis has joined #nixos-dev
<samueldr> andi-: see also #53935, hydra tests currently are having issues completing, seemingly at random
<{^_^}> https://github.com/NixOS/nixpkgs/issues/53935 (by hedning, 2 weeks ago, open): [Hydra] nixos tests often fails due to timeouts, blocking channel updates
<samueldr> though, with only about a day and a half going, removing the epyc machine seems to help? how long should we keep this up to try and better feel if it helped or not?
<samueldr> aszlig: whenever convenient for you, you may want to follow up whether or not your mail got to the recipient, and the list, as it doesn't show up on the web interfaces still
arianvp has quit [Quit: WeeChat 2.2]
arianvp has joined #nixos-dev
<gchristensen> maybe that one binned it too
Synthetica has joined #nixos-dev
<gchristensen> tragically, renaming the labels to drop comments, ie: 1,000 renamed to 1000
orivej has quit [Ping timeout: 246 seconds]
<infinisil> commas*?
<gchristensen> yeah
tv has quit [Ping timeout: 250 seconds]
tv has joined #nixos-dev
<infinisil> Heh, seeing all these new NixOS service PR's fighting for who gets the next static user id is kinda funny
<gchristensen> :(
<infinisil> That's one reason I want to get rid of those
<Synthetica> What's the max User ID?
<infinisil> Synthetica: "# When adding a uid, make sure it doesn't match an existing gid. And don't use uids above 399!"
<andi-> wasn't DynamicUser=true anticipated as a potential solution? :)
<Synthetica> Yikes, only 400?
<gchristensen> yeah, let's push more to dynamicuser
<Synthetica> I was expecting something like 2^16 or something :S
<infinisil> I mean, there's lots of other ids, but we only reserved that range
Phillemann has left #nixos-dev ["WeeChat 2.3"]
<infinisil> I intend to work on this soon
<Synthetica> Just use something like a hashmap? `hash(name) mod range`
<infinisil> Synthetica: Collisions exist
<Synthetica> (And probably extend the range as well)
<infinisil> Synthetica: We can't extend it without potentially causing collisions with user-defined users
<infinisil> And we can't extend it past 65536 because I doubt this would get handled correctly by a lot of services
<gchristensen> and dynamicuser?
<gchristensen> let's make it standard that new services by default must use dynamicuser
<infinisil> Yeah, we can use DynamicUser, this has a reserved range already <65536
<infinisil> gchristensen: I just found this a couple days ago: #20186
<{^_^}> https://github.com/NixOS/nixpkgs/issues/20186 (by spacekitteh, 2 years ago, open): Harden and update to use the new features in systemd-232
<gchristensen> yeah
<infinisil> Would require a mass refactor of nixpkgs, but I'm thinking about starting with this
<gchristensen> that would be a massive project
<gchristensen> would require a lot of strategy, I think, around how to introduce and release it
<infinisil> Well the general idea is probably gonna be: add an option to enable secure settings by default (for systemd services), convert all services over over time by setting this option to true. Prepare for switching the default to true by informing users via a deprecation warning. Switch the default to true
<gchristensen> you're 50% to an RFC :)
<infinisil> Yeah
<infinisil> I've been thinking about looking for a job when I'm done with this semesters exams, but now I'm thinking it might be a good idea to do lots of work on nixpkgs with stuff like that and opening a patreon/<other donation site> for that
symphorien has quit [Quit: WeeChat 2.3]
<gchristensen> there might be grants available to improve the nixpkgs / nixos ecosystem, depending on what you want to work on
<infinisil> How does that work?
<gchristensen> also, you're probably not going to make enough off patreon / whatever to make it work. I don't know of any/many project(s) which manage to do that. BUT this sort of stuff is super relevant to the interests of, say, mayflower, tweag, flyingcircus
<gchristensen> (full time, anyway)
<gchristensen> there are some grant programs through the EU
<lassulus> We have a lot of users > 65536, it works fine, there are problems above MAX_INT though
* gchristensen has an idea
<lassulus> But DynamicUsers is the way to go
<gchristensen> I could rewrite all my users to be >65536 and see how it goes. none of my services' user data retains anyway
<infinisil> gchristensen: I see, well I wouldn't really care how much I'll make (I don't really need money right now). I'm mainly looking to have some motivation to work on this (other than "I want to improve nixpkgs"), because it sure does take a lot of time
<gchristensen> mind if we take this to a PM?
<infinisil> And to actually make things people want, to have some pressure too
<infinisil> gchristensen: No problem
andi- has quit [Ping timeout: 250 seconds]
andi- has joined #nixos-dev
__Sander__ has quit [Quit: Konversation terminated!]
drakonis has quit [Quit: WeeChat 2.3]
orivej has joined #nixos-dev
<gchristensen> any USians want to work on the Nix ecosystem for a few months? https://blog.sentry.io/2019/01/29/apply-sentry-open-source-grant
<gchristensen> dtz: ^ maybe you have some Nix people in your area who'd be interested in this
q6AA4FD has quit [Ping timeout: 272 seconds]
ckauhaus has joined #nixos-dev
<ckauhaus> looks like our RFC39 meeting has to be postponed
<ckauhaus> it's ok for me, I'm pretty tired anyway
symphorien has joined #nixos-dev
q6AA4FD has joined #nixos-dev
ckauhaus is now known as ckauhaus[afk]
drakonis has joined #nixos-dev
<ivan> https://github.com/NixOS/nixpkgs/pull/54960 anyone want to test chromiumDev?
<{^_^}> #54960 (by ivan, 19 minutes ago, open): chromium: 71.0.3578.98 -> 72.0.3626.81
worldofpeace has joined #nixos-dev
<worldofpeace> Hey anyone want to help to get these python tests working https://github.com/NixOS/nixpkgs/pull/52590#issuecomment-449187131 . The author has waited almost a month for some help :( Don't currently have time to pick it up.
<edef> I'm seeing a fetchFromGitHub hash failure specifically on macOS here https://github.com/NixOS/nixpkgs/pull/54950
<{^_^}> #54950 (by edef1c, 4 hours ago, open): go_1_12: init at 1.12beta2
<edef> I'm not really sure what to do about that? It's very clearly working on NixOS, so either the macOS builder is uniquely broken or GitHub is serving inconsistent tarballs to it, by my best guesses.
<samueldr> fetchFromGitHub should be hashing the contents
<samueldr> (because github tarballs *are* inconsistent)
<edef> it does.
<samueldr> any filenames weirdness maybe?
<gchristensen> sometimes this problem is from filenames
<edef> Hm. I'm not sure what to do about that.
<edef> I guess I could switch things to the official source tarballs, which seems like a better move than fetchFromGitHub anyway.
<infinisil> worldofpeace: I think it should be fine to not run the tests. Assuming they have tested the package a bit, the chance of the tests failing is pretty much nil (minus network related failures)
apaul1729 has quit [Remote host closed the connection]
ivan has quit [Quit: lp0 on fire]
harrow has quit [Ping timeout: 245 seconds]
harrow has joined #nixos-dev
ivan has joined #nixos-dev
q6AA4FD has quit [Read error: Connection reset by peer]
q6AA4FD has joined #nixos-dev
<andi-> can someone cancel (& restart) https://hydra.nixos.org/build/88142274#tabs-summary ?
<gchristensen> yep
<samueldr> hmmm
<samueldr> what was it?
<samueldr> ah, it's still it
<ivan> https://github.com/NixOS/nixpkgs/pull/54960#issuecomment-459129846 anyone know what chromium's alsa issue might be?
<samueldr> ivan: chrome 71 from the same parent commit?
jtojnar has joined #nixos-dev
<Synthetica> ivan: Couldn't you strace that?
<aszlig> samueldr: DD42F980DD95A: to=<linux-unionfs@vger.kernel.org>, relay=vger.kernel.org[209.132.180.67]:25, delay=687, delays=621/0.01/0.63/65, dsn=2.7.0, status=sent (250 2.7.0 nothing apparently wrong in the message. BF:<H 0>; S1728330AbfA2Tww)
<aszlig> so in theory it should have been sent
<samueldr> :| still not showing up on marc.info
<aszlig> samueldr: yep, neither in https://www.spinics.net/lists/linux-unionfs/
<worldofpeace> edef: I think the macos filesystem does some weird unicode normalization to certain files. Though I really don't think we need to use fetchzip for github anymore.
<samueldr> all github archives are not guaranteed to be stable, so it still is an issue
<samueldr> (and while I say github, any fetchArchiveThatIsBuiltOnTheFly is going to have the same issue)
<samueldr> unless server-side they use one of the reproducible tar tools
<worldofpeace> Idk I don't think it's been a problem that github has had for a while now. Might need some research
<samueldr> I recently had an issue with it, on a personal thing
orivej has quit [Ping timeout: 240 seconds]
orivej_ has joined #nixos-dev
<samueldr> it's not frequent when it happens
<worldofpeace> Ah now I remember, infrequent but still producable
<samueldr> which is a reason to prefer a source release from the upstream projects if they do them, evne if fetchFromGitHub works the same way
<worldofpeace> +1 on that, I do that in practice
<ekleog> samueldr: personal opinion: I much prefer fetchFromGitHub
<ekleog> because it makes it easier to patch projects, as one doesn't have to figure out the steps upstream uses to go from the GitHub to the tarball
<ekleog> (well… as it's done in nixpkgs, not by the end-overrider)
<ekleog> also, because there's quite a bit more accountability in the GitHub than in the source tarball, because a source tarball can include some auto-generated stuff no-one wants to review and that could be backdoored
<ekleog> and finally, because it's in the policy of “only use source distribution”, which is defined by the GPL as the preferred way of working with the source, which is in the GitHub and not in the release tarball
<samueldr> not sure how to reply, since I see and understand entirely the point, but I'm not sure it's "right" to go and use whatever source instead of the released sources... but I guess only in a handful of cases there would be real differences, so there's no real worry
q6AA4FD has quit [Quit: ZNC 1.7.1 - https://znc.in]
<ekleog> yeah, same here, anyway everyone will use what they'd rather and that'll be fine this way, we need more package updates/additions than we need bikeshed about which one is best :)
<samueldr> though I agree, I also disagree on one point: there's only status quo, no documentation, so bikeshed will happen on that front at some point, and for contributors the same could apply, they wouldn't know which to prefer :/ something in the contributor guide like "Prefer using ... as the source, since .... Except if ..." could help streamline those, but then bikeshedding *that* will be a pain possibly
<samueldr> (so status quo might still be the better alternative for now)
q6AA4FD has joined #nixos-dev
<ekleog> maybe someone will find the motivation to write up a RFC
<andi-> srhb, samueldr: #53935 might be an issue but I think we are also seeing another issue with the channel bumps. https://hydra.nixos.org/jobset/nixos/release-18.09/latest-eval points to the right eval but hydra doesn't pick it up for nixos.org/channels/. I guess only niksnut can have a look onto the actual machine to figure out what happens?
<{^_^}> https://github.com/NixOS/nixpkgs/issues/53935 (by hedning, 2 weeks ago, open): [Hydra] nixos tests often fails due to timeouts, blocking channel updates
<samueldr> I know he's niks not the only one (heh), pinged somebody about that
<samueldr> but I think the timeouts might be caused by the same root cause
<andi-> might be
<samueldr> only that qemu would be straining the thing enough
<samueldr> "fixing" the hvc1 failure only made the other more obvious
<samueldr> and even then I'm betting it was caused by the same root cause
<samueldr> it almost looks like qemu somehow gets in a weird state
<samueldr> sometimes grub hangs
<samueldr> sometimes it looks like virtualised hardware doesn't get setup