2016-04-29 11:41:13 +02:00
|
|
|
<section xmlns="http://docbook.org/ns/docbook"
|
|
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
version="5.0"
|
|
|
|
xml:id="sec-release-16.09">
|
|
|
|
|
2016-09-30 12:00:33 +02:00
|
|
|
<title>Release 16.09 (“Flounder”, 2016/09/30)</title>
|
2016-04-29 11:41:13 +02:00
|
|
|
|
|
|
|
<para>In addition to numerous new and upgraded packages, this release
|
|
|
|
has the following highlights: </para>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
|
|
|
<listitem>
|
2016-09-29 13:48:38 +02:00
|
|
|
<para>Many NixOS configurations and Nix packages now use
|
|
|
|
significantly less disk space, thanks to the <link
|
|
|
|
xlink:href="https://github.com/NixOS/nixpkgs/issues/7117">extensive
|
|
|
|
work on closure size reduction</link>. For example, the closure
|
|
|
|
size of a minimal NixOS container went down from ~424 MiB in 16.03
|
|
|
|
to ~212 MiB in 16.09, while the closure size of Firefox went from
|
|
|
|
~651 MiB to ~259 MiB.</para>
|
2016-04-29 11:41:13 +02:00
|
|
|
</listitem>
|
|
|
|
|
2016-05-23 15:24:00 +02:00
|
|
|
<listitem>
|
2016-09-29 13:48:38 +02:00
|
|
|
<para>To improve security, packages are now <link
|
|
|
|
xlink:href="https://github.com/NixOS/nixpkgs/pull/12895">built
|
|
|
|
using various hardening features</link>. See the Nixpkgs manual
|
|
|
|
for more information.</para>
|
2016-05-23 15:24:00 +02:00
|
|
|
</listitem>
|
2016-09-29 13:48:38 +02:00
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>Support for PXE netboot. See <xref
|
|
|
|
linkend="sec-booting-from-pxe" /> for documentation.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>X.org server 1.18. If you use the
|
|
|
|
<literal>ati_unfree</literal> driver, 1.17 is still used due to an
|
|
|
|
ABI incompatibility.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>This release is based on Glibc 2.24, GCC 5.4.0 and systemd
|
|
|
|
231. The default Linux kernel remains 4.4.</para>
|
|
|
|
</listitem>
|
|
|
|
|
2016-04-29 11:41:13 +02:00
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<para>The following new services were added since the last release:</para>
|
|
|
|
|
2016-09-29 13:48:38 +02:00
|
|
|
<itemizedlist>
|
|
|
|
<listitem><para><literal>(this will get automatically generated at release time)</literal></para></listitem>
|
|
|
|
</itemizedlist>
|
2016-04-29 11:41:13 +02:00
|
|
|
|
|
|
|
<para>When upgrading from a previous release, please be aware of the
|
|
|
|
following incompatible changes:</para>
|
|
|
|
|
|
|
|
<itemizedlist>
|
2016-07-31 15:28:56 +02:00
|
|
|
|
2016-08-30 03:46:59 +02:00
|
|
|
<listitem>
|
|
|
|
<para>A large number of packages have been converted to use the multiple outputs feature
|
2016-09-29 13:48:38 +02:00
|
|
|
of Nix to greatly reduce the amount of required disk space, as
|
|
|
|
mentioned above. This may require changes
|
2016-08-30 03:46:59 +02:00
|
|
|
to any custom packages to make them build again; see the relevant chapter in the
|
|
|
|
Nixpkgs manual for more information. (Additional caveat to packagers: some packaging conventions
|
|
|
|
related to multiple-output packages
|
|
|
|
<link xlink:href="https://github.com/NixOS/nixpkgs/pull/14766">were changed</link>
|
|
|
|
late (August 2016) in the release cycle and differ from the initial introduction of multiple outputs.)
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2016-09-30 14:52:45 +02:00
|
|
|
<listitem>
|
|
|
|
<para>Previous versions of Nixpkgs had support for all versions of the LTS
|
|
|
|
Haskell package set. That support has been dropped. The previously provided
|
|
|
|
<literal>haskell.packages.lts-x_y</literal> package sets still exist in
|
|
|
|
name to aviod breaking user code, but these package sets don't actually
|
|
|
|
contain the versions mandated by the corresponding LTS release. Instead,
|
|
|
|
our package set it loosely based on the latest available LTS release, i.e.
|
|
|
|
LTS 7.x at the time of this writing. New releases of NixOS and Nixpkgs will
|
|
|
|
drop those old names entirely. <link
|
2017-07-18 13:54:36 +02:00
|
|
|
xlink:href="https://nixos.org/nix-dev/2016-June/020585.html">The
|
2016-09-30 14:52:45 +02:00
|
|
|
motivation for this change</link> has been discussed at length on the
|
|
|
|
<literal>nix-dev</literal> mailing list and in <link
|
|
|
|
xlink:href="https://github.com/NixOS/nixpkgs/issues/14897">Github issue
|
|
|
|
#14897</link>. Development strategies for Haskell hackers who want to rely
|
|
|
|
on Nix and NixOS have been described in <link
|
2017-07-18 13:54:36 +02:00
|
|
|
xlink:href="https://nixos.org/nix-dev/2016-June/020642.html">another
|
2016-09-30 14:52:45 +02:00
|
|
|
nix-dev article</link>.</para>
|
|
|
|
</listitem>
|
|
|
|
|
2016-04-29 11:41:13 +02:00
|
|
|
<listitem>
|
2016-05-23 15:16:41 +02:00
|
|
|
<para>Shell aliases for systemd sub-commands
|
|
|
|
<link xlink:href="https://github.com/NixOS/nixpkgs/pull/15598">were dropped</link>:
|
|
|
|
<command>start</command>, <command>stop</command>,
|
|
|
|
<command>restart</command>, <command>status</command>.</para>
|
2016-04-29 11:41:13 +02:00
|
|
|
</listitem>
|
2016-07-31 15:28:56 +02:00
|
|
|
|
|
|
|
<listitem>
|
2016-08-04 02:08:26 +02:00
|
|
|
<para>Redis now binds to 127.0.0.1 only instead of listening to all network interfaces. This is the default
|
2016-07-31 15:28:56 +02:00
|
|
|
behavior of Redis 3.2</para>
|
|
|
|
</listitem>
|
|
|
|
|
2016-09-30 12:47:00 +02:00
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
<literal>/var/empty</literal> is now immutable. Activation script runs <command>chattr +i</command>
|
|
|
|
to forbid any modifications inside the folder. See <link xlink:href="https://github.com/NixOS/nixpkgs/pull/18365">
|
|
|
|
the pull request</link> for what bugs this caused.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2016-09-01 20:57:51 +02:00
|
|
|
<listitem>
|
2016-09-29 13:48:38 +02:00
|
|
|
<para>Gitlab's maintainance script
|
|
|
|
<command>gitlab-runner</command> was removed and split up into the
|
|
|
|
more clearer <command>gitlab-run</command> and
|
|
|
|
<command>gitlab-rake</command> scripts, because
|
|
|
|
<command>gitlab-runner</command> is a component of Gitlab
|
|
|
|
CI.</para>
|
2016-08-04 02:08:26 +02:00
|
|
|
</listitem>
|
|
|
|
|
2016-08-08 13:36:30 +02:00
|
|
|
<listitem>
|
|
|
|
<para><literal>services.xserver.libinput.accelProfile</literal> default
|
|
|
|
changed from <literal>flat</literal> to <literal>adaptive</literal>,
|
|
|
|
as per <link xlink:href="https://wayland.freedesktop.org/libinput/doc/latest/group__config.html#gad63796972347f318b180e322e35cee79">
|
|
|
|
official documentation</link>.</para>
|
|
|
|
</listitem>
|
|
|
|
|
2016-08-19 12:14:07 +02:00
|
|
|
<listitem>
|
|
|
|
<para><literal>fonts.fontconfig.ultimate.rendering</literal> was removed
|
|
|
|
because our presets were obsolete for some time. New presets are hardcoded
|
2016-09-29 13:48:38 +02:00
|
|
|
into FreeType; you can select a preset via <literal>fonts.fontconfig.ultimate.preset</literal>.
|
2016-08-19 12:14:07 +02:00
|
|
|
You can customize those presets via ordinary environment variables, using
|
|
|
|
<literal>environment.variables</literal>.</para>
|
|
|
|
</listitem>
|
|
|
|
|
2016-08-22 17:48:19 +02:00
|
|
|
<listitem>
|
|
|
|
<para>The <literal>audit</literal> service is no longer enabled by default.
|
2016-09-29 13:48:38 +02:00
|
|
|
Use <literal>security.audit.enable = true</literal> to explicitly enable it.</para>
|
2016-08-22 17:48:19 +02:00
|
|
|
</listitem>
|
|
|
|
|
2016-09-13 06:34:33 +02:00
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
<literal>pkgs.linuxPackages.virtualbox</literal> now contains only the
|
|
|
|
kernel modules instead of the VirtualBox user space binaries.
|
|
|
|
If you want to reference the user space binaries, you have to use the new
|
|
|
|
<literal>pkgs.virtualbox</literal> instead.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2016-09-10 12:04:13 +02:00
|
|
|
<listitem>
|
2016-09-29 13:48:38 +02:00
|
|
|
<para><literal>goPackages</literal> was replaced with separated Go
|
|
|
|
applications in appropriate <literal>nixpkgs</literal>
|
|
|
|
categories. Each Go package uses its own dependency set. There's
|
|
|
|
also a new <literal>go2nix</literal> tool introduced to generate a
|
|
|
|
Go package definition from its Go source automatically.</para>
|
2016-09-10 12:04:13 +02:00
|
|
|
</listitem>
|
|
|
|
|
2016-09-14 04:58:29 +02:00
|
|
|
<listitem>
|
|
|
|
<para><literal>services.mongodb.extraConfig</literal> configuration format
|
|
|
|
was changed to YAML.</para>
|
|
|
|
</listitem>
|
|
|
|
|
2016-09-30 12:48:09 +02:00
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
PHP has been upgraded to 7.0
|
|
|
|
</para>
|
|
|
|
</listitem>
|
2016-04-29 11:41:13 +02:00
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
|
|
|
|
<para>Other notable improvements:</para>
|
|
|
|
|
|
|
|
<itemizedlist>
|
2016-07-12 20:22:20 +02:00
|
|
|
|
|
|
|
<listitem><para>Revamped grsecurity/PaX support. There is now only a single
|
|
|
|
general-purpose distribution kernel and the configuration interface has been
|
|
|
|
streamlined. Desktop users should be able to simply set
|
|
|
|
<programlisting>security.grsecurity.enable = true</programlisting> to get
|
|
|
|
a reasonably secure system without having to sacrifice too much
|
2017-09-02 20:25:22 +02:00
|
|
|
functionality.
|
2016-07-12 20:22:20 +02:00
|
|
|
</para></listitem>
|
2016-04-29 11:41:13 +02:00
|
|
|
|
2016-09-17 12:24:25 +02:00
|
|
|
<listitem><para>Special filesystems, like <literal>/proc</literal>,
|
2016-09-29 13:48:38 +02:00
|
|
|
<literal>/run</literal> and others, now have the same mount options
|
|
|
|
as recommended by systemd and are unified across different places in
|
|
|
|
NixOS. Mount options are updated during <command>nixos-rebuild
|
|
|
|
switch</command> if possible. One benefit from this is improved
|
|
|
|
security — most such filesystems are now mounted with
|
2016-09-17 12:24:25 +02:00
|
|
|
<literal>noexec</literal>, <literal>nodev</literal> and/or
|
|
|
|
<literal>nosuid</literal> options.</para></listitem>
|
|
|
|
|
2016-09-17 14:18:42 +02:00
|
|
|
<listitem><para>The reverse path filter was interfering with DHCPv4 server
|
|
|
|
operation in the past. An exception for DHCPv4 and a new option to log
|
|
|
|
packets that were dropped due to the reverse path filter was added
|
|
|
|
(<literal>networking.firewall.logReversePathDrops</literal>) for easier
|
|
|
|
debugging.</para></listitem>
|
|
|
|
|
2016-09-19 11:05:10 +02:00
|
|
|
<listitem><para>Containers configuration within
|
2016-09-29 13:48:38 +02:00
|
|
|
<literal>containers.<name>.config</literal> is <link
|
|
|
|
xlink:href="https://github.com/NixOS/nixpkgs/pull/17365">now
|
|
|
|
properly typed and checked</link>. In particular, partial
|
|
|
|
configurations are merged correctly.</para></listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>The directory container setuid wrapper programs,
|
|
|
|
<filename>/var/setuid-wrappers</filename>, <link
|
|
|
|
xlink:href="https://github.com/NixOS/nixpkgs/pull/18124">is now
|
|
|
|
updated atomically to prevent failures if the switch to a new
|
|
|
|
configuration is interrupted.</link></para>
|
|
|
|
</listitem>
|
2016-09-19 11:05:10 +02:00
|
|
|
|
2016-09-30 12:00:33 +02:00
|
|
|
<listitem>
|
|
|
|
<para><literal>services.xserver.startGnuPGAgent</literal>
|
|
|
|
has been removed due to GnuPG 2.1.x bump. See <link
|
|
|
|
xlink:href="https://github.com/NixOS/nixpkgs/commit/5391882ebd781149e213e8817fba6ac3c503740c">
|
2016-09-30 12:19:52 +02:00
|
|
|
how to achieve similar behavior</link>. You might need to
|
2016-09-30 12:00:33 +02:00
|
|
|
<literal>pkill gpg-agent</literal> after the upgrade
|
|
|
|
to prevent a stale agent being in the way.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2016-09-30 12:19:52 +02:00
|
|
|
<listitem><para>
|
|
|
|
<link xlink:href="https://github.com/NixOS/nixpkgs/commit/e561edc322d275c3687fec431935095cfc717147">
|
|
|
|
Declarative users could share the uid due to the bug in
|
|
|
|
the script handling conflict resolution.
|
|
|
|
</link>
|
|
|
|
</para></listitem>
|
|
|
|
|
2016-09-30 12:21:15 +02:00
|
|
|
<listitem><para>
|
|
|
|
Gummi boot has been replaced using systemd-boot.
|
|
|
|
</para></listitem>
|
|
|
|
|
2016-09-30 12:22:11 +02:00
|
|
|
<listitem><para>
|
|
|
|
Hydra package and NixOS module were added for convenience.
|
|
|
|
</para></listitem>
|
|
|
|
|
2016-04-29 11:41:13 +02:00
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|