NixOS 19.03 feature freeze


#1

Hi all!

The time for a new NixOS release is approaching us once again. The release of NixOS 19.03 “Koi” will be managed by @samueldr and myself. This year, we’re aiming for a feature freeze and branch-off on the 25th of February in order to get a release* within March.

Some of the changes to look forward to from 18.09:

Between the 25th of February and the release, we will be working towards Zero Hydra Failures and starting the regular release maintenance work, backporting minor bugfixes and security patches.

Looking forward to working with you for a wonderful release!

Linus

*Releasing actual koi into the wild may damage ecosystems and be illegal in your jurisdiction. Please don’t do this.


#2

One feature I’ve been working on is less reliance on nscd for caching because it broke systemd dynamic users. Caching now is only used for positive lookups of DNS names, all other forms I’ve already disabled. This fixed some issues with NixOS laptops sometimes not being able to browse the web when roaming.

I want to get rid of the nscd caching totally, by replacing the name lookup cache with systemd-resolved. Nscd is then purely a proxy for resolving NSS modules in the nix store. It should eliminate a lot of caching related bugs that we’ve faced before.

Also I would like to see a new version of systemd for 19.03, as there were issues with Cgroups V2 not working well with nixos-containers that have been fixed. This could allow people to opt in to Cgroups v2 without issues.


#3

It would be great if we also can manage to switch from C to C.utf-8 locales in stdenv and our glibc package as many applications now expect unicode locales (i.e. python). Debian and Fedora are already on board with this. Also since systemd has now support for that too

UPDATE Tracking issue: https://github.com/NixOS/nixpkgs/pull/54485


#4

I would love to have some ways to specify dependencies between packages and kernel (if you enable qemu => enable virtualisation knobs in kernel’s Kconfig or at least emit a warning) as is done in: https://github.com/NixOS/nixpkgs/pull/42838 .
I am also cleaning up https://github.com/NixOS/nixpkgs/pull/33903 and splitting it into smaller PRs so that the lua ecosystem works as python’s withPackages.


#5

Could someone look at this PR: https://github.com/NixOS/nixpkgs/pull/49402


#6

I’m looking for feedback on better support for logrotate in 19.03.

I’d like to create logrotate rules by default for enabled services like apache, etc… like other distros do, or at bare minimum document the need to rotate logs.
Users coming from Debian can be surprised to find out their logs continue to grow indefinitely instead of being rotated automatically like they are on Debian.

I’m willing to do the work on this, but would like to hear any opinions that people have before I start.


Nix Online Meetup
#7

feedback on better support for logrotate in 19.03

Personally I don’t see a need as most services are logging through the journal which handles this for us.


#8

Hi Peter,

Yeah for desktop use case there isn’t anything to turn on for logrotate usually, as it is covered by journald as you mentioned.

I’m thinking for people who enable services which are not covered by journald.

The 2 use cases I have in mind are apache and rsyslog. I think there is value in automatically rotating those logs for users, like Debian does, or at least making mention in the documentation that the user needs to set up log rotation as most users would expect this to already be in place.


split this topic #9

5 posts were merged into an existing topic: Nginx logging to journald


pinned globally #13

#14

Another things some might not be aware:

We have a milestone for 19.03 to track issues features and fixes we want included in 19.03. You can see a list of them on GitHub under the 19.03 milestone:

These are sometimes more manageable to try to help out on compared to random ones from the global issue tracker.


#16

I’ve created another thread to discuss nginx’s logging behavior: Nginx logging to journald


#17

Can we have something that manages users .files ? I know we can use diff tools but is much nicer to have in declarative way.


#18

https://github.com/rycee/home-manager has a nixos module at https://github.com/rycee/home-manager/blob/c18984c452013ff0edb3d67ab0a1a245333dd4ce/nixos/default.nix.


#19

Thx for the links I am very much aware of home-manager, the problem is this solution is not integrated with nixos and required separate installation.


#20

I’m afraid I can’t see how that is a problem.


#21

Did you switch 19.03 to back to kernel 4.14.98?

[root@nixtn:~]$ ls -l /nix/store/cgv2y5ghannrswkkk299mwrwhi70xik3-nixos-system-nixtn-19.03pre168725.64825dfd26a
...
lrwxrwxrwx 1 root root    65  1. Jan 1970  kernel -> /nix/store/1spnrykkf4dsahg5bd6p1szmk13v3a9i-linux-4.14.98/bzImage
...

Which points to a 4.14.98 kernel.

Just to make sure, it’s really 19.03:

[root@nixtn:~]$ cat /nix/store/cgv2y5ghannrswkkk299mwrwhi70xik3-nixos-system-nixtn-19.03pre168725.64825dfd26a/nixos-version 
19.03pre168725.64825dfd26a

#22

Yes, there is a regression in 4.19, see #54509; our work-around caused that other sneaky regression.


#23

It would be nice to have purescript and taffybar building again. They worked in 18.09.

The taffybar issue was fixed upstream and has made it into haskell-updates. I’m not sure what the process is for getting that merged.

Purescript was broken by a GHC upgrade and has an open PR to fix it.


#24

I would like to have the extended tinydns module reviewed/integrated in the new release.