summary refs log tree commit diff
path: root/nixos/doc/manual/release-notes/rl-1803.xml
blob: 46cbeb0a158ea8f47e1f659fc70d0b2ecfe39065 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
<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-18.03">

<title>Release 18.03 (“Impala”, 2018/03/??)</title>

<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-18.03-highlights">

<title>Highlights</title>

<para>In addition to numerous new and upgraded packages, this release
has the following highlights: </para>

<itemizedlist>
  <listitem>
    <para>
      MariaDB 10.2, updated from 10.1, is now the default MySQL implementation. While upgrading a few changes
      have been made to the infrastructure involved:
      <itemizedlist>
        <listitem>
          <para>
            <literal>libmysql</literal> has been deprecated, please use <literal>mysql.connector-c</literal>
            instead, a compatibility passthru has been added to the MySQL packages.
          </para>
        </listitem>
        <listitem>
          <para>
            The <literal>mysql57</literal> package has a new <literal>static</literal> output containing
            the static libraries including <literal>libmysqld.a</literal>
          </para>
        </listitem>
      </itemizedlist>
    </para>
  </listitem>
</itemizedlist>

</section>
<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-18.03-new-services">

<title>New Services</title>

<para>The following new services were added since the last release:</para>

<itemizedlist>
  <listitem>
    <para></para>
  </listitem>
</itemizedlist>

</section>
<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-18.03-incompatibilities">

<title>Backward Incompatibilities</title>

<para>When upgrading from a previous release, please be aware of the
following incompatible changes:</para>

<itemizedlist>
  <listitem>
    <para>
      Dollar signs in options under <option>services.postfix</option> are
      passed verbatim to Postfix, which will interpret them as the beginning of
      a parameter expression. This was already true for string-valued options
      in the previous release, but not for list-valued options. If you need to
      pass literal dollar signs through Postfix, double them.
    </para>
  </listitem>
  <listitem>
    <para>
      The <literal>postage</literal> package (for web-based PostgreSQL
      administration) has been renamed to <literal>pgmanage</literal>. The
      corresponding module has also been renamed. To migrate please rename all
      <option>services.postage</option> options to
      <option>services.pgmanage</option>.
    </para>
  </listitem>
  <listitem>
    <para>
      Package attributes starting with a digit have been prefixed with an
      underscore sign. This is to avoid quoting in the configuration and
      other issues with command-line tools like <literal>nix-env</literal>.
      The change affects the following packages:
      <itemizedlist>
        <listitem>
          <para><literal>2048-in-terminal</literal>  <literal>_2048-in-terminal</literal></para>
        </listitem>
        <listitem>
          <para><literal>90secondportraits</literal>  <literal>_90secondportraits</literal></para>
        </listitem>
        <listitem>
          <para><literal>2bwm</literal>  <literal>_2bwm</literal></para>
        </listitem>
        <listitem>
          <para><literal>389-ds-base</literal>  <literal>_389-ds-base</literal></para>
        </listitem>
      </itemizedlist>
    </para>
  </listitem>
  <listitem>
    <para>
      <emphasis role="strong">
        The OpenSSH service no longer enables support for DSA keys by default,
        which could cause a system lock out. Update your keys or, unfavorably,
        re-enable DSA support manually.
      </emphasis>
    </para>

    <para>
      DSA support was
      <link xlink:href="https://www.openssh.com/legacy.html">deprecated in OpenSSH 7.0</link>,
      due to it being too weak. To re-enable support, add
      <literal>PubkeyAcceptedKeyTypes +ssh-dss</literal> to the end of your
      <option>services.openssh.extraConfig</option>.
    </para>

    <para>
      After updating the keys to be stronger, anyone still on a pre-17.03
      version is safe to jump to 17.03, as vetted
      <link xlink:href="https://search.nix.gsc.io/?q=stateVersion">here</link>.
    </para>
  </listitem>
  <listitem>
    <para>
      <literal>cc-wrapper</literal> has been split in two; there is now also a <literal>bintools-wrapper</literal>.
      The most commonly used files in <filename>nix-support</filename> are now split between the two wrappers.
      Some commonly used ones, like <filename>nix-support/dynamic-linker</filename>, are duplicated for backwards compatability, even though they rightly belong only in <literal>bintools-wrapper</literal>.
      Other more obscure ones are just moved.
    </para>
  </listitem>
  <listitem>
    <para>
      The propagation logic has been changed.
      The new logic, along with new types of dependencies that go with, is thoroughly documented in the "Specifying dependencies" section of the "Standard Environment" chapter of the nixpkgs manual.
      <!-- That's <xref linkend="ssec-stdenv-attributes"> were we to merge the manuals. -->
      The old logic isn't but is easy to describe: dependencies were propagated as the same type of dependency no matter what.
      In practice, that means that many <function>propagatedNativeBuildInputs</function> should instead be  <function>propagatedBuildInputs</function>.
      Thankfully, that was and is the least used type of dependency.
      Also, it means that some <function>propagatedBuildInputs</function> should instead be <function>depsTargetTargetPropagated</function>.
      Other types dependencies should be unaffected.
    </para>
  </listitem>
  <listitem>
    <para>
      <literal>lib.addPassthru drv passthru</literal> is removed.  Use <literal>lib.extendDerivation true passthru drv</literal> instead.  <emphasis role="strong">TODO: actually remove it before branching 18.03 off.</emphasis>
    </para>
  </listitem>
  <listitem>
    <para>
      The <literal>memcached</literal> service no longer accept dynamic socket
      paths via <option>services.memcached.socket</option>. Unix sockets can be
      still enabled by <option>services.memcached.enableUnixSocket</option> and
      will be accessible at <literal>/run/memcached/memcached.sock</literal>.
    </para>
  </listitem>
  <listitem>
    <para>
      The <varname>hardware.amdHybridGraphics.disable</varname> option was removed for lack of a maintainer. If you still need this module, you may wish to include a copy of it from an older version of nixos in your imports.
    </para>
  </listitem>
  <listitem>
    <para>
      The merging of config options for <varname>services.postfix.config</varname>
      was buggy. Previously, if other options in the Postfix module like
      <varname>services.postfix.useSrs</varname> were set and the user set config
      options that were also set by such options, the resulting config wouldn't
      include all options that were needed. They are now merged correctly. If
      config options need to be overridden, <literal>lib.mkForce</literal> or
      <literal>lib.mkOverride</literal> can be used.
    </para>
  </listitem>
</itemizedlist>

</section>
<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-18.03-notable-changes">

<title>Other Notable Changes</title>

<itemizedlist>
  <listitem>
    <para>
      ZNC option <option>services.znc.mutable</option> now defaults to
      <literal>true</literal>. That means that old configuration is not
      overwritten by default when update to the znc options are made.
    </para>
  </listitem>
  <listitem>
    <para>
      The option <option>networking.wireless.networks.&lt;name&gt;.auth</option>
      has been added for wireless networks with WPA-Enterprise authentication.
      There is also a new <option>extraConfig</option> option to directly
      configure <literal>wpa_supplicant</literal> and <option>hidden</option>
      to connect to hidden networks.
    </para>
  </listitem>
  <listitem>
    <para>
      The option <option>services.xserver.desktopManager.default</option> is now <literal>none</literal> by default.
      An assertion failure is thrown if WM's and DM's default are <literal>none</literal>.
      To explicitly run a plain X session without and DM or WM, the newly introduced option <option>services.xserver.plainX</option>
      must be set to true.
    </para>
  </listitem>
  <listitem>
    <para>
      The option <option>services.logstash.listenAddress</option> is now <literal>127.0.0.1</literal> by default.
      Previously the default behaviour was to listen on all interfaces.
    </para>
  </listitem>
  <listitem>
    <para>
      <literal>services.btrfs.autoScrub</literal> has been added, to
      periodically check btrfs filesystems for data corruption.
      If there's a correct copy available, it will automatically repair
      corrupted blocks.
    </para>
  </listitem>
  <listitem>
    <para>
      <literal>displayManager.lightdm.greeters.gtk.clock-format.</literal>
      has been added, the clock format string (as expected by
      strftime, e.g. <literal>%H:%M</literal>) to use with the lightdm
      gtk greeter panel.
    </para>
    <para>
      If set to null the default clock format is used.
    </para>
  </listitem>
  <listitem>
    <para>
      <literal>displayManager.lightdm.greeters.gtk.indicators</literal>
      has been added, a list of allowed indicator modules to use with
      the lightdm gtk greeter panel.
    </para>
    <para>
      Built-in indicators include <literal>~a11y</literal>,
      <literal>~language</literal>, <literal>~session</literal>,
      <literal>~power</literal>, <literal>~clock</literal>,
      <literal>~host</literal>, <literal>~spacer</literal>. Unity
      indicators can be represented by short name
      (e.g. <literal>sound</literal>, <literal>power</literal>),
      service file name, or absolute path.
    </para>
    <para>
      If set to <literal>null</literal> the default indicators are
      used.
    </para>
    <para>
      In order to have the previous default configuration add
<programlisting>
  services.xserver.displayManager.lightdm.greeters.gtk.indicators = [
    "~host" "~spacer"
    "~clock" "~spacer"
    "~session"
    "~language"
    "~a11y"
    "~power"
  ];
</programlisting>
      to your <literal>configuration.nix</literal>.
    </para>
  </listitem>
  <listitem>
    <para>
      The NixOS test driver supports user services declared by <literal>systemd.user.services</literal>.
      The methods <literal>waitForUnit</literal>, <literal>getUnitInfo</literal>, <literal>startJob</literal>
      and <literal>stopJob</literal> provide an optional <literal>$user</literal> argument for that purpose.
    </para>
  </listitem>
</itemizedlist>

</section>
</section>