!aRKdLCkUeIFjRPZuJT:nixos.org

NixOS JVM

112 Members
23 Servers

Load older messages


SenderMessageTime
27 Mar 2025
@msgilligan:matrix.orgmsgilligan For Nix, I would define availability as existing on master, but one could argue it is still available from an earlier hash. 03:26:25
@emilazy:matrix.orgemilyI don't think there really is. "End of Service/Support Life - this code stream is no longer being maintained. No further builds of Eclipse Temurin are planned."03:26:29
@msgilligan:matrix.orgmsgilligan * For Nix, I would define availability as existing on master or unstable, but one could argue it is still available from an earlier hash. 03:26:44
@emilazy:matrix.orgemilyultimately, as soon as the next non-LTS is out, the next security advisory doesn't include patches for the previous one03:27:08
@msgilligan:matrix.orgmsgilliganWell, the question is whether the unsupported builds are available for download.03:27:13
@emilazy:matrix.orgemilythat's the reality that Oracle decides and everyone else is constrained by03:27:21
@msgilligan:matrix.orgmsgilliganI'm happy to use an unsupported build for a month or two.03:27:32
@emilazy:matrix.orgemilywould you be, if a critical severity CVE comes out days after it leaves support?03:28:10
@msgilligan:matrix.orgmsgilliganWell, yeah actually maintaining the JDK is a lot of work. But other vendors can do it and I think some of the big ones do for paid support.03:28:24
@emilazy:matrix.orgemilybecause you can look at the stream of advisories and see that it's really like clockwork. it just comes down to gambling in the end03:28:43
@emilazy:matrix.orgemilywe don't like to gamble with users' security03:29:02
@msgilligan:matrix.orgmsgilliganI'd move really fast to the new one. But having releases deleted automatically, in the same PR as the new release seem excessive.03:29:14
@msgilligan:matrix.orgmsgilligan Well, I'm talking about availability on unstable. And saying that marking them as knownVulnerabilities immediately even if there aren't any. 03:30:24
@msgilligan:matrix.orgmsgilligan I'd say users of NixOS who are not paying anything and using non-LTS releases on the unstable branch that are out of upstream support are gambling with their own security. And personally, I'm willing to do that because my main use case is developing alpha software that will eventually run on the stable branch. 03:31:59
@emilazy:matrix.orgemilytbh I don't really think of it as deleting. just as an update. there's the LTS releases and a rolling stream of the latest one03:32:21
@emilazy:matrix.orgemily knowmVulnerabilities would be adequate but it does mean that you will have to compile it yourself 03:32:58
@emilazy:matrix.orgemilyand that takes a rather long time03:32:59
@emilazy:matrix.orgemilyBTW we do keep binary JDKs around and marked EOL03:33:10
@emilazy:matrix.orgemilybecause those don't impose any meaningful maintenance burden and also have no compile cycle03:33:33
@emilazy:matrix.orgemilyso Temurin is an option03:33:48
@msgilligan:matrix.orgmsgilligan

I'm getting the feeling that "we don't like to gamble with users' security" is at least partly a rationalization for avoiding maintenance burden on the source (and if that's the case, it makes sense and have no problem with it) Because the Temurin 23 will have the same vulnerabilities as the OpenJDK 23 built from source. I'm not trying to be argumentative, I just want to understand what you feel the tradeoffs are.

Because I totally get the maintenance overhead argument and completely respect it.

For my use case, using binary JDKs is probably fine. (Though I would migrate to the one built from source when JDK 25 is released.) But that also means the interim releases as-built-by-Nixpkgs are getting less testing.

03:41:57
@emilazy:matrix.orgemily the gambling was re knownVulnerabilities 03:44:45
@emilazy:matrix.orgemilyif we set it on both then no gambling03:44:56
@emilazy:matrix.orgemilybut one of them takes hours to build and the other seconds03:45:05
@emilazy:matrix.orgemilyso the UX is kinda better with the Temurin package once marked03:45:19
@emilazy:matrix.orgemily(and yeah a package that's just a download is very low maintenance)03:45:46
@msgilligan:matrix.orgmsgilliganBut this unmerged PR looks (to my beginner's eye) like it removes Temurin 23 as well: https://github.com/NixOS/nixpkgs/pull/391811/files#diff-79588acae2eadf21386a83519365d48aad6c7162da39897f429bca64ad8437ff03:46:02
@emilazy:matrix.orgemilyyeah, it does. I haven't reviewed the PR. I guess I should say "at some point we have done things like this" :)03:48:09
@emilazy:matrix.orgemilyFWIW "drop source, mark binary" is how Electron maintainers handle EOLs03:48:32
@msgilligan:matrix.orgmsgilligan

My project will survive no matter what the NixOS JVM team decides, but I really like Nix, want to provide feedback and help as I can, and use Nix as fully as possible in my build. I'm also eventually hoping to get some Java apps into nixpkgs.

If the human and infrastructure resources are sufficient for keeping the built-from-source packages in master/unstable (even if marked as knownVulnerabilities and requiring me to build/cache locally) I would probably (at least try) to use them.

03:54:17

Show newer messages


Back to Room ListRoom Version: 6