Merge ~ahasenack/ubuntu/+source/nfs-utils:lunar-nfs-utils-merge into ubuntu/+source/nfs-utils:debian/sid

Proposed by Andreas Hasenack
Status: Merged
Approved by: git-ubuntu bot
Approved revision: not available
Merge reported by: git-ubuntu bot
Merged at revision: 8d6a2db7063291b307e7541a565c62090f10210a
Proposed branch: ~ahasenack/ubuntu/+source/nfs-utils:lunar-nfs-utils-merge
Merge into: ubuntu/+source/nfs-utils:debian/sid
Diff against target: 2009 lines (+1662/-8)
18 files modified
debian/README.Ubuntu (+30/-0)
debian/changelog (+1337/-0)
debian/control (+17/-6)
debian/libnfsidmap-regex.install (+1/-0)
debian/libnfsidmap1.docs (+1/-0)
debian/libnfsidmap1.install (+3/-1)
debian/nfs-common.docs (+1/-0)
debian/not-installed (+3/-0)
debian/patches/always-run-generator.patch (+23/-0)
debian/patches/nfs-conf-manpage-missing-svcgssd-options.patch (+19/-0)
debian/patches/series (+3/-0)
debian/patches/ubuntu-idmapd-manpage-update-regex-other-package.patch (+12/-0)
debian/rules (+8/-1)
debian/source.apport (+32/-0)
debian/tests/control (+11/-0)
debian/tests/kerberos-mount (+38/-0)
debian/tests/util (+89/-0)
debian/tests/v3-mount (+34/-0)
Reviewer Review Type Date Requested Status
git-ubuntu bot Approve
Sergio Durigan Junior (community) Approve
Canonical Server Reporter Pending
Review via email: mp+437544@code.launchpad.net

Description of the change

Quick merge from debian.

PPA: https://launchpad.net/~ahasenack/+archive/ubuntu/lunar-nfs-utils-merge

DEP8 is green in the PPA.

The previous non-git-ubuntu merge missed some d/changelog entries from our delta, which I restored.

I tried sending some of the delta to debian:
DEP8 tests: https://salsa.debian.org/kernel-team/nfs-utils/-/merge_requests/15
generator: https://salsa.debian.org/kernel-team/nfs-utils/-/merge_requests/18

I'll send the d/not-installed one too.

To post a comment you must log in.
Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

Thanks, Andreas.

Results: (from http://autopkgtest.ubuntu.com/results/autopkgtest-lunar-ahasenack-lunar-nfs-utils-merge/?format=plain)
  nfs-utils @ amd64:
    19.02.23 19:23:40 Log 🗒️ ✅ Triggers: nfs-utils/1:2.6.2-4ubuntu1~ppa1
  nfs-utils @ arm64:
    19.02.23 21:16:36 Log 🗒️ ✅ Triggers: nfs-utils/1:2.6.2-4ubuntu1~ppa1
  nfs-utils @ armhf:
    19.02.23 18:51:42 Log 🗒️ ✅ Triggers: nfs-utils/1:2.6.2-4ubuntu1~ppa1
  nfs-utils @ ppc64el:
    19.02.23 19:06:40 Log 🗒️ ✅ Triggers: nfs-utils/1:2.6.2-4ubuntu1~ppa1
  nfs-utils @ s390x:
    19.02.23 18:58:25 Log 🗒️ ✅ Triggers: nfs-utils/1:2.6.2-4ubuntu1~ppa1

Tests are OK. Package builds fine. The commits look good.

Regarding the unresponded Debian MRs, I believe it's worth filing bugs against the package too. Something I also do is ping the maintainer in the MR; sometimes they miss the notifications.

LGTM, +1.

review: Approve
Revision history for this message
git-ubuntu bot (git-ubuntu-bot) wrote :

Approvers: ahasenack, sergiodj
Uploaders: ahasenack, sergiodj
MP auto-approved

review: Approve
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Thanks, uploaded

Uploading nfs-utils_2.6.2-4ubuntu1.dsc
Uploading nfs-utils_2.6.2-4ubuntu1.debian.tar.xz
Uploading nfs-utils_2.6.2-4ubuntu1_source.buildinfo
Uploading nfs-utils_2.6.2-4ubuntu1_source.changes

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/debian/README.Ubuntu b/debian/README.Ubuntu
0new file mode 1006440new file mode 100644
index 0000000..bf80042
--- /dev/null
+++ b/debian/README.Ubuntu
@@ -0,0 +1,30 @@
1# New configuration file
2
3nfs-common and nfs-kernel-server use a common configuration file /etc/nfs.conf.
4They also support a /etc/nfs.conf.d/*.conf structure.
5
6If there are local modifications to either /etc/default/nfs-common or
7/etc/default/nfs-kernel-server as installed by previous versions of the
8corresponding Debian packages, nfs-common will attempt a migration to the new
9configuration file. This migration is done by calling the
10/usr/share/nfs-common/nfsconvert.py script in postinst.
11
12Upon success, the script will produce /etc/nfs.conf.d/local.conf with the local
13customizations specified in those older config files, while /etc/nfs.conf will
14remain with the default settings.
15
16If the migration fails for some reason, the package installation will fail and
17manual intervention will be required. This will probably involve temporarily
18removing the offending configuration option that was not handled by the
19migration script and configuring the package again. Please consult nfs.conf(5)
20and each daemon's manpage to determine how to translate the command line
21options previously defined in /etc/default/nfs-* to the new configuration file
22format.
23
24# Services
25
26All NFS related services are enabled by default. This means that depending on
27the NFS version that you intend to use, some services might be superfluous.
28For example, if you never intend to serve NFSv3, then you can safely disable
29the rpc-statd.service unit. Note that some NFSv4 service units will start only
30if Kerberos is setup.
diff --git a/debian/changelog b/debian/changelog
index 622cfbc..ac87df3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,47 @@
1nfs-utils (1:2.6.2-4ubuntu1) lunar; urgency=medium
2
3 * Merge with Debian unstable. Remaining changes:
4 - d/control: don't provide libnfsidmap2 in libnfsidmap1. This
5 package contains not only plugins, but an actual shared library,
6 with a different soname.
7 - Update README file:
8 + d/README.Ubuntu: new /etc/nfs.conf config structure
9 + d/libnfsidmap1.docs, d/nfs-common.docs: install README.Ubuntu
10 - New apport hook (LP #1961058):
11 + d/source.apport: apport hook for nfs-utils
12 + d/control: build-depend dh-apport
13 + d/rules: build with apport, and install the hook in the
14 nfs-common package which is installed on both client and servers
15 - Add more DEP8 tests (LP #1960828):
16 + d/t/{control,kerberos-mount,util}: test NFSv4 krb5p mounts
17 + d/t/{control, v3-mount}: specific NFSv3 mount test
18 - Move the regex module to a separate binary package libnfsidmap-regex
19 (LP #1974067):
20 + d/control: new package, adjust breaks/conflicts
21 + d/libnfsidmap-regex.install: install the plugin file
22 + d/libnfsidmap1.install: don't install regex.so
23 [missed in previous d/changelog]
24 + d/p/ubuntu-idmapd-manpage-update-regex-other-package.patch:
25 note that the regex plugin is in another package
26 - rpc.svcgssd fixes and improvements (LP #1977745):
27 + d/p/nfs-conf-manpage-missing-svcgssd-options.patch: also
28 document the missing svcgssd options to the nfs.conf(5) manpage
29 - Rely on the generator units for the rpc_pipefs mount
30 (LP #1971935):
31 + d/p/always-run-generator.patch: run the generator even if the
32 config differs from the built-in default
33 + d/rules: exclude the units we will let the generator produce
34 [Missed in previous d/changelog]
35 - d/not-installed: mark files we knowingly don't include in the
36 packaging
37 [Missed in previous d/changelog]
38 * Dropped:
39 - d/rules: re-add hardening option lost from the src:libnfsidmap to
40 src:nfs-utils transition (LP: #1980095)
41 [In 1:2.6.2-1~exp1]
42
43 -- Andreas Hasenack <andreas@canonical.com> Sun, 19 Feb 2023 14:49:53 -0300
44
1nfs-utils (1:2.6.2-4) unstable; urgency=medium45nfs-utils (1:2.6.2-4) unstable; urgency=medium
246
3 [ Guillem Jover ]47 [ Guillem Jover ]
@@ -25,6 +69,39 @@ nfs-utils (1:2.6.2-3) unstable; urgency=medium
2569
26 -- Salvatore Bonaccorso <carnil@debian.org> Tue, 06 Dec 2022 16:38:32 +010070 -- Salvatore Bonaccorso <carnil@debian.org> Tue, 06 Dec 2022 16:38:32 +0100
2771
72nfs-utils (1:2.6.2-2ubuntu1) lunar; urgency=low
73
74 * Merge from Debian unstable. Remaining changes:
75 - d/control: don't provide libnfsidmap2 in libnfsidmap1. This
76 package contains not only plugins, but an actual shared library,
77 with a different soname.
78 - Update README file:
79 + d/README.Ubuntu: new /etc/nfs.conf config structure
80 + d/libnfsidmap1.docs, d/nfs-common.docs: install README.Ubuntu
81 - New apport hook (LP #1961058):
82 + d/source.apport: apport hook for nfs-utils
83 + d/control: build-depend dh-apport
84 + d/rules: build with apport, and install the hook in the
85 nfs-common package which is installed on both client and servers
86 - Add more DEP8 tests (LP #1960828):
87 + d/t/{control,kerberos-mount,util}: test NFSv4 krb5p mounts
88 + d/t/{control, v3-moun}t: specific NFSv3 mount test
89 - Move the regex module to a separate binary package libnfsidmap-regex
90 (LP: #1974067):
91 + d/control: new package
92 + d/libnfsidmap-regex.install: install the plugin file
93 + d/not-installed: remove the plugin from the not-installed list
94 + d/p/remove-regex-from-docs.patch: deleted
95 + d/p/ubuntu-idmapd-manpage-update-regex-other-package.patch:
96 note that the regex plugin is in another package
97 - rpc.svcgssd fixes and improvements (LP: #1977745):
98 + d/p/nfs-conf-manpage-missing-svcgssd-options.patch: also
99 document the missing svcgssd options to the nfs.conf(5) manpage
100 - d/README.Ubuntu: updated with the content of the previous d/NEWS
101 file
102
103 -- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Fri, 25 Nov 2022 10:40:08 +0100
104
28nfs-utils (1:2.6.2-2) unstable; urgency=medium105nfs-utils (1:2.6.2-2) unstable; urgency=medium
29106
30 [ Debian Janitor ]107 [ Debian Janitor ]
@@ -60,6 +137,96 @@ nfs-utils (1:2.6.2-1~exp1) experimental; urgency=medium
60137
61 -- Salvatore Bonaccorso <carnil@debian.org> Sun, 21 Aug 2022 22:41:04 +0200138 -- Salvatore Bonaccorso <carnil@debian.org> Sun, 21 Aug 2022 22:41:04 +0200
62139
140nfs-utils (1:2.6.1-2ubuntu5) lunar; urgency=medium
141
142 * d/p/blkmapd-fix-invalid-free.patch: fix blkmapd crash due to invalid
143 free() (LP: #1979885)
144
145 -- Andreas Hasenack <andreas@canonical.com> Fri, 28 Oct 2022 08:26:52 -0300
146
147nfs-utils (1:2.6.1-2ubuntu4) kinetic; urgency=medium
148
149 * No-change rebuild against libevent-core-2.1-7a
150
151 -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 07 Oct 2022 21:23:03 +0000
152
153nfs-utils (1:2.6.1-2ubuntu3) kinetic; urgency=medium
154
155 * d/p/fix-format-overflow-warning.patch: fix a format-overflow warning
156 from gcc which was failing the build
157
158 -- Andreas Hasenack <andreas@canonical.com> Thu, 28 Jul 2022 20:39:54 +0000
159
160nfs-utils (1:2.6.1-2ubuntu2) kinetic; urgency=medium
161
162 * Rely on the generator units for the rpc_pipefs mount
163 (LP: #1971935):
164 - d/p/always-run-generator.patch: run the generator even if the
165 config differs from the built-in default
166 - d/rules: exclude the units we will let the generator produce
167
168 -- Andreas Hasenack <andreas@canonical.com> Thu, 07 Jul 2022 21:08:11 +0000
169
170nfs-utils (1:2.6.1-2ubuntu1) kinetic; urgency=medium
171
172 * Merge with Debian unstable (LP: #1974233). Remaining changes:
173 - d/control: don't provide libnfsidmap2 in libnfsidmap1. This
174 package contains not only plugins, but an actual shared library,
175 with a different soname.
176 - Don't install the regex module, as it's built by
177 src:libnfsidmap-regex which is in Universe (MIR: #1960824)
178 + d/control: don't conflict/break/etc with libnfsidmap-regex
179 + d/libnfsidmap1.install: don't install regex.so
180 + d/not-installed: mark files we knowingly don't include in the
181 packaging
182 + d/p/remove-regex-from-docs.patch: remove the regex section from
183 the idmapd.conf(5) manpage, as we are not building that plugin in
184 this package
185 - Update README file:
186 + d/README.Ubuntu: new /etc/nfs.conf config structure
187 + d/libnfsidmap1.docs, d/nfs-common.docs: install README.Ubuntu
188 - d/nfs-common.postrm: also purge /etc/nfs.conf.d/local.conf
189 - d/nfs-common.dirs: we also own /etc/nfs.conf.d
190 - New apport hook (LP #1961058):
191 + d/source.apport: apport hook for nfs-utils
192 + d/control: build-depend dh-apport
193 + d/rules: build with apport, and install the hook in the
194 nfs-common package which is installed on both client and servers
195 - Add more DEP8 tests (LP #1960828):
196 + d/t/{control,kerberos-mount,util}: test NFSv4 krb5p mounts
197 + d/t/{control, v3-moun}t: specific NFSv3 mount test
198 * Dropped:
199 - d/nfsconvert.py: add short "u" option for mountd's no-udp
200 [Included in 1:2.6.1-2]
201 - d/NEWS: explain some of the major changes in 2.6.x
202 [Obsoleted by Debian's update to the per-package NEWS files]
203 - d/nfs-*.bug-script: update to also include /etc/nfs.conf and
204 /etc/nfs.conf.d/*.conf
205 [Included in 1:2.6.1-2]
206 * Added changes:
207 - New binary package libnfsidmap-regex (LP: #1974067):
208 + d/control: new package
209 + d/libnfsidmap-regex.install: install the plugin file
210 + d/not-installed: remove the plugin from the not-installed list
211 + d/p/remove-regex-from-docs.patch: deleted
212 + d/p/ubuntu-idmapd-manpage-update-regex-other-package.patch:
213 note that the regex plugin is in another package
214 - rpc.svcgssd fixes and improvements (LP: #1977745):
215 + d/p/svcgssd-fix-use-after-free.patch: fix use-after-free which was
216 preventing svcgssd options set in /etc/nfs.conf from being used
217 + d/p/svcgssd-display-principal-if-set.patch: improve logging,
218 showing the expected principal name if it was set in the config
219 + d/p/svcgssd-document-missing-options.patch: add missing options to
220 the svcgssd manpage
221 + d/p/nfs-conf-manpage-missing-svcgssd-options.patch: also
222 document the missing svcgssd options to the nfs.conf(5) manpage
223 - d/README.Ubuntu: updated with the content of the previous d/NEWS
224 file
225 - d/rules: re-add hardening option lost from the src:libnfsidmap to
226 src:nfs-utils transition (LP: #1980095)
227
228 -- Andreas Hasenack <andreas@canonical.com> Tue, 28 Jun 2022 10:59:36 -0300
229
63nfs-utils (1:2.6.1-2) unstable; urgency=medium230nfs-utils (1:2.6.1-2) unstable; urgency=medium
64231
65 [ Andreas Hasenack ]232 [ Andreas Hasenack ]
@@ -86,6 +253,51 @@ nfs-utils (1:2.6.1-2) unstable; urgency=medium
86253
87 -- Salvatore Bonaccorso <carnil@debian.org> Tue, 12 Apr 2022 12:20:44 +0200254 -- Salvatore Bonaccorso <carnil@debian.org> Tue, 12 Apr 2022 12:20:44 +0200
88255
256nfs-utils (1:2.6.1-1ubuntu1) jammy; urgency=medium
257
258 * Merge with Debian unstable (LP: #1960829). Remaining changes:
259 - d/control: don't provide libnfsidmap2 in libnfsidmap1. This
260 package contains not only plugins, but an actual shared library,
261 with a different soname.
262 - d/NEWS: explain some of the major changes in 2.6.x
263 - Don't install the regex module, as it's built by
264 src:libnfsidmap-regex which is in Universe (MIR: #1960824)
265 + d/control: don't conflict/break/etc with libnfsidmap-regex
266 + d/libnfsidmap1.install: don't install regex.so
267 + d/not-installed: mark files we knowingly don't include in the
268 packaging
269 + d/p/remove-regex-from-docs.patch: remove the regex section from
270 the idmapd.conf(5) manpage, as we are not building that plugin in
271 this package
272 - Update README files:
273 + d/README.Ubuntu: explains some of the packaging decisions
274 + d/README.Debian.nfsv4: removed as the content is out of date
275 + d/nfs-common.docs: install README.Ubuntu instead of
276 README.Debian.nfsv4
277 + d/libnfsidmap1.docs: install README.Ubuntu
278 * Dropped:
279 - d/nfs-common.postinst: always start nfs-utils.service, so the restart in
280 the #DEBHELPER# section can do its job if needed
281 [Fixed with the upstream re-arrangement of systemd units]
282 * Added:
283 - d/nfsconvert.py: add short "u" option for mountd's no-udp
284 - d/NEWS: update
285 - d/nfs-common.postrm: also purge /etc/nfs.conf.d/local.conf
286 - d/nfs-common.dirs: we also own /etc/nfs.conf.d
287 - d/README.Ubuntu: update
288 - d/nfs-*.bug-script: update to also include /etc/nfs.conf and
289 /etc/nfs.conf.d/*.conf
290 - New apport hook (LP: #1961058):
291 + d/source.apport: apport hook for nfs-utils
292 + d/control: build-depend dh-apport
293 + d/rules: build with apport, and install the hook in the
294 nfs-common package which is installed on both client and servers
295 - Add more DEP8 tests (LP: #1960828):
296 + d/t/{control,kerberos-mount,util}: test NFSv4 krb5p mounts
297 + d/t/{control, v3-moun}t: specific NFSv3 mount test
298
299 -- Andreas Hasenack <andreas@canonical.com> Fri, 04 Mar 2022 17:44:10 -0300
300
89nfs-utils (1:2.6.1-1) unstable; urgency=medium301nfs-utils (1:2.6.1-1) unstable; urgency=medium
90302
91 [ Ben Hutchings ]303 [ Ben Hutchings ]
@@ -108,6 +320,65 @@ nfs-utils (1:2.6.1-1) unstable; urgency=medium
108320
109 -- Ben Hutchings <benh@debian.org> Thu, 24 Feb 2022 14:54:49 +0100321 -- Ben Hutchings <benh@debian.org> Thu, 24 Feb 2022 14:54:49 +0100
110322
323nfs-utils (1:2.6.1-1~exp1ubuntu1) jammy; urgency=medium
324
325 * Merge with Debian experimental (LP: #1878601, #1812280). Remaining
326 changes:
327 - d/nfs-common.postinst: always start nfs-utils.service, so the restart in
328 the #DEBHELPER# section can do its job if needed
329 * Dropped:
330 - Add remove-gssproxy.patch: Drop gssproxy as it does not exist in Ubuntu
331 [Ubuntu has it, but not in main]
332 - debian/nfs-common.default: remove NEED_STATD and related comment.
333 [/etc/default/nfs-* files are no longer used]
334 - debian/nfs-common.default: always start idmapd automatically; drop the
335 configuration option.
336 [/etc/default/nfs-* files are no longer used]
337 - Add 90-gss-free-lucid-sec-context.patch: adjust for changes to the ctx
338 argument of the serialize_krb5_ctx() function.
339 [Was only needed when libgssglue-dev was used for build, which it
340 isn't since nfs-utils 1:1.2.8-7]
341 - Fixing nfs-mountd dependency on rpcbind (race condition) by adding
342 "rpcbind.socket" to "nfs-mountd.service" as a dependency to avoid race
343 conditions:
344 - Add systemd-Fix-nfs-mountd-dependency-on-rpcbind.patch
345 [Fixed upstream]
346 - truncate_gid*.patch: Backports from upstream to prevent truncating UIDs
347 and GIDs over 65536 on certain architectures
348 [Fixed upstream]
349 - d/p/fix-start-ordering-1.patch, d/p/fix-start-ordering-2.patch, d/p/fix-
350 start-ordering-3.patch, d/nfs-kernel-server.install: Fix systemd service
351 start ordering
352 [Fixed upstream. Patch 3 we don't need anymore because now the pkg
353 is built with --with-systemd]
354 - Depend on network-online.target when starting services.
355 - d/p/lp1918141-use-network-online-target-01.patch: Declare a
356 Wants=network-online.target on all NFS server services.
357 - d/p/lp1918141-use-network-online-target-02.patch: Declare a
358 After=network-online.target on all NFS server services. Thanks to
359 Niklas Edmundsson for helping with the reproducer.
360 [Fixed upstream]
361 * Added:
362 - d/control: don't provide libnfsidmap2 in libnfsidmap1
363 - d/NEWS: explain some of the major changes in 2.6.x
364 - Don't install the regex module, as it's built by
365 src:libnfsidmap-regex which is in Universe (MIR: #1960824)
366 + d/control: don't conflict/break/etc with libnfsidmap-regex
367 + d/libnfsidmap1.install: don't install regex.so
368 + d/not-installed: mark files we knowingly don't include in the
369 packaging
370 + d/p/remove-regex-from-docs.patch: remove the regex section from
371 the idmapd.conf(5) manpage, as we are not building that plugin in
372 this package
373 - Update README files:
374 + d/README.Ubuntu: explains some of the packaging decisions
375 + d/README.Debian.nfsv4: removed as the content is out of date
376 + d/nfs-common.docs: install README.Ubuntu instead of
377 README.Debian.nfsv4
378 + d/libnfsidmap1.docs: install README.Ubuntu
379
380 -- Andreas Hasenack <andreas@canonical.com> Wed, 16 Feb 2022 20:20:26 +0000
381
111nfs-utils (1:2.6.1-1~exp1) experimental; urgency=medium382nfs-utils (1:2.6.1-1~exp1) experimental; urgency=medium
112383
113 [ Romain Perier ]384 [ Romain Perier ]
@@ -229,6 +500,50 @@ nfs-utils (1:2.5.4-1~exp1) experimental; urgency=medium
229500
230 -- Anibal Monsalve Salazar <anibal@debian.org> Sun, 05 Sep 2021 23:50:09 +1000501 -- Anibal Monsalve Salazar <anibal@debian.org> Sun, 05 Sep 2021 23:50:09 +1000
231502
503nfs-utils (1:1.3.4-6ubuntu1) impish; urgency=medium
504
505 * Merge from Debian unstable (LP: #1929406). Remaining changes:
506 - debian/nfs-common.default: always start idmapd automatically; drop the
507 configuration option.
508 - debian/nfs-common.default: remove NEED_STATD and related comment.
509 - Add 90-gss-free-lucid-sec-context.patch: adjust for changes to the ctx
510 argument of the serialize_krb5_ctx() function.
511 - Add remove-gssproxy.patch: Drop gssproxy as it does not exist in Ubuntu
512 - Fixing nfs-mountd dependency on rpcbind (race condition) by adding
513 "rpcbind.socket" to "nfs-mountd.service" as a dependency to avoid race
514 conditions:
515 - Add systemd-Fix-nfs-mountd-dependency-on-rpcbind.patch
516 - truncate_gid*.patch: Backports from upstream to prevent truncating UIDs
517 and GIDs over 65536 on certain architectures
518 - d/p/fix-start-ordering-1.patch, d/p/fix-start-ordering-2.patch, d/p/fix-
519 start-ordering-3.patch, d/nfs-kernel-server.install: Fix systemd service
520 start ordering
521 - Depend on network-online.target when starting services.
522 - d/p/lp1918141-use-network-online-target-01.patch: Declare a
523 Wants=network-online.target on all NFS server services.
524 - d/p/lp1918141-use-network-online-target-02.patch: Declare a
525 After=network-online.target on all NFS server services. Thanks to
526 Niklas Edmundsson for helping with the reproducer.
527 - d/nfs-common.postinst: always start nfs-utils.service, so the restart in
528 the #DEBHELPER# section can do its job if needed
529 * Removed patches obsoleted/merged by upstream:
530 - Remove hard-coded dep on libtirpc1; already merged upstream, but
531 previously un-noted
532 - d/nfs-utils_env.sh: alongside RPCSVCGSSDARGS, also export SVCGSSDARGS,
533 which is the variable name expected by the rpc-svcgssd systemd service;
534 already merged upstream, but previously un-noted
535 - d/p/python3.diff obsoleted by
536 d/p/Convert-remaining-python-scripts-to-python3.patch
537 * d/p/nfsiostat-replace-list-reserved-word.patch: re-instated after
538 previous merge removed a patch already merged upstream
539 * d/p/01-sm-notify-in-sbin.patch,
540 d/p/03-handle-mtab-symlink.patch,
541 d/p/17-multiarch-kerberos-paths.patch,
542 d/p/unbreak-blkmapd-rpc_pipefs-run.patch:
543 reverted unnecessary refresh of patches
544
545 -- Dave Jones <dave.jones@canonical.com> Tue, 06 Jul 2021 11:47:33 +0100
546
232nfs-utils (1:1.3.4-6) unstable; urgency=medium547nfs-utils (1:1.3.4-6) unstable; urgency=medium
233548
234 * mountstats: Remove a shebang549 * mountstats: Remove a shebang
@@ -246,6 +561,59 @@ nfs-utils (1:1.3.4-5) unstable; urgency=medium
246561
247 -- Salvatore Bonaccorso <carnil@debian.org> Tue, 09 Mar 2021 17:17:42 +0100562 -- Salvatore Bonaccorso <carnil@debian.org> Tue, 09 Mar 2021 17:17:42 +0100
248563
564nfs-utils (1:1.3.4-4ubuntu3) impish; urgency=medium
565
566 * d/nfs-common.postinst: always start nfs-utils.service, so the restart in
567 the #DEBHELPER# section can do its job if needed (LP: #1928259)
568
569 -- Andreas Hasenack <andreas@canonical.com> Mon, 24 May 2021 17:59:39 -0300
570
571nfs-utils (1:1.3.4-4ubuntu2) hirsute; urgency=medium
572
573 * Depend on network-online.target when starting services. (LP: #1918141)
574 - d/p/lp1918141-use-network-online-target-01.patch: Declare a
575 Wants=network-online.target on all NFS server services.
576 - d/p/lp1918141-use-network-online-target-02.patch: Declare a
577 After=network-online.target on all NFS server services.
578 Thanks to Niklas Edmundsson for helping with the reproducer.
579
580 -- Sergio Durigan Junior <sergio.durigan@canonical.com> Mon, 15 Mar 2021 18:26:22 -0400
581
582nfs-utils (1:1.3.4-4ubuntu1) hirsute; urgency=low
583
584 * Merge from Debian unstable. Remaining changes:
585 - debian/nfs-common.default: always start idmapd automatically; drop
586 the configuration option.
587 - Add 90-gss-free-lucid-sec-context.patch: adjust for changes to the ctx
588 argument of the serialize_krb5_ctx() function.
589 - Add remove-gssproxy.patch: Drop gssproxy as it does not exist in Ubuntu
590 - Fixing nfs-mountd dependency on rpcbind (race condition)
591 by adding "rpcbind.socket" to "nfs-mountd.service" as a dependency
592 to avoid race conditions:
593 - Add systemd-Fix-nfs-mountd-dependency-on-rpcbind.patch
594 - Convert mountstats and nfsiostat scripts to Python3 and recommend
595 python3 instead of python.
596 - truncate_gid*.patch: Backports from upstream to prevent truncating
597 UIDs and GIDs over 65536 on certain architectures
598 - Remove hard-coded dep on libtirpc1.
599 - d/nfs-utils_env.sh: alongside RPCSVCGSSDARGS, also export SVCGSSDARGS,
600 which is the variable name expected by the rpc-svcgssd systemd service.
601 - d/p/fix-start-ordering-1.patch,
602 d/p/fix-start-ordering-2.patch,
603 d/p/fix-start-ordering-3.patch,
604 d/nfs-kernel-server.install:
605 Fix systemd service start ordering
606 * Dropped changes, included in Debian:
607 - Allow compilation to succeed with -fno-common
608 - debian/nfs-common.postinst: don't make /var/lib/nfs owned by statd.
609 - debian/patches/CVE-2019-3689.patch: take user-id from
610 /var/lib/nfs/sm in support/nsm/file.c, utils/statd/sm-notify.man,
611 utils/statd/statd.man.
612 - d/p/nfsiostat-replace-list-reserved-word.patch: fix nfsiostat crash due
613 to using 'list' as a variable name.
614
615 -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 26 Oct 2020 09:25:58 -0700
616
249nfs-utils (1:1.3.4-4) unstable; urgency=medium617nfs-utils (1:1.3.4-4) unstable; urgency=medium
250618
251 * Allow compilation to succeed with -fno-common (Closes: #957608)619 * Allow compilation to succeed with -fno-common (Closes: #957608)
@@ -284,6 +652,73 @@ nfs-utils (1:1.3.4-3) unstable; urgency=medium
284652
285 -- Salvatore Bonaccorso <carnil@debian.org> Fri, 13 Mar 2020 05:16:46 +0100653 -- Salvatore Bonaccorso <carnil@debian.org> Fri, 13 Mar 2020 05:16:46 +0100
286654
655nfs-utils (1:1.3.4-2.5ubuntu6) groovy; urgency=medium
656
657 * Allow compilation to succeed with -fno-common (Closes: #957608)
658 (cherry picked from 1:1.3.4-4)
659
660 -- Julian Andres Klode <juliank@ubuntu.com> Wed, 16 Sep 2020 16:20:55 +0200
661
662nfs-utils (1:1.3.4-2.5ubuntu5) groovy; urgency=medium
663
664 * SECURITY UPDATE: privilege escalation via directory permissions
665 - debian/patches/CVE-2019-3689.patch: take user-id from
666 /var/lib/nfs/sm in support/nsm/file.c, utils/statd/sm-notify.man,
667 utils/statd/statd.man.
668 - debian/nfs-common.postinst: don't make /var/lib/nfs owned by statd.
669 - CVE-2019-3689
670
671 -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Wed, 17 Jun 2020 08:42:59 -0400
672
673nfs-utils (1:1.3.4-2.5ubuntu4) groovy; urgency=medium
674
675 [ Rodrigo Barbieri ]
676 * d/p/fix-start-ordering-1.patch,
677 d/p/fix-start-ordering-2.patch,
678 d/p/fix-start-ordering-3.patch,
679 d/nfs-kernel-server.install:
680 - Fix systemd service start ordering (LP: #1871214)
681
682 -- Dariusz Gadomski <dariusz.gadomski@canonical.com> Thu, 28 May 2020 17:45:23 -0400
683
684nfs-utils (1:1.3.4-2.5ubuntu3) focal; urgency=medium
685
686 * No-change rebuild for libevent soname changes.
687
688 -- Matthias Klose <doko@ubuntu.com> Sat, 19 Oct 2019 19:57:12 +0000
689
690nfs-utils (1:1.3.4-2.5ubuntu2) eoan; urgency=medium
691
692 * No-change upload with strops.h and sys/strops.h removed in glibc.
693
694 -- Matthias Klose <doko@ubuntu.com> Thu, 05 Sep 2019 11:04:05 +0000
695
696nfs-utils (1:1.3.4-2.5ubuntu1) eoan; urgency=low
697
698 * Merge from Debian unstable. Remaining changes:
699 - debian/nfs-common.default: always start idmapd automatically; drop
700 the configuration option.
701 - Add 90-gss-free-lucid-sec-context.patch: adjust for changes to the ctx
702 argument of the serialize_krb5_ctx() function.
703 - Add remove-gssproxy.patch: Drop gssproxy as it does not exist in Ubuntu
704 - Fixing nfs-mountd dependency on rpcbind (race condition)
705 by adding "rpcbind.socket" to "nfs-mountd.service" as a dependency
706 to avoid race conditions:
707 - Add systemd-Fix-nfs-mountd-dependency-on-rpcbind.patch
708 - Convert mountstats and nfsiostat scripts to Python3 and recommend
709 python3 instead of python.
710 - truncate_gid*.patch: Backports from upstream to prevent truncating
711 UIDs and GIDs over 65536 on certain architectures
712 - Remove hard-coded dep on libtirpc1.
713 - d/nfs-utils_env.sh: alongside RPCSVCGSSDARGS, also export SVCGSSDARGS,
714 which is the variable name expected by the rpc-svcgssd systemd service.
715 - d/p/nfsiostat-replace-list-reserved-word.patch: fix nfsiostat crash due
716 to using 'list' as a variable name.
717 * Dropped changes, included in Debian:
718 - glibc-2.28-compat.patch: Include <sys/sysmacros.h> for major/minor.
719
720 -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 02 May 2019 22:43:12 -0700
721
287nfs-utils (1:1.3.4-2.5) unstable; urgency=medium722nfs-utils (1:1.3.4-2.5) unstable; urgency=medium
288723
289 * Non-maintainer upload.724 * Non-maintainer upload.
@@ -309,6 +744,43 @@ nfs-utils (1:1.3.4-2.4) unstable; urgency=medium
309744
310 -- Hilko Bengen <bengen@debian.org> Sat, 09 Feb 2019 15:26:27 +0100745 -- Hilko Bengen <bengen@debian.org> Sat, 09 Feb 2019 15:26:27 +0100
311746
747nfs-utils (1:1.3.4-2.3ubuntu3) disco; urgency=medium
748
749 * d/p/nfsiostat-replace-list-reserved-word.patch: fix nfsiostat crash due to
750 using 'list' as a variable name. (LP: #1821261)
751
752 -- Matthew Ruffell <matthew.ruffell@canonical.com> Tue, 02 Apr 2019 11:09:15 +1300
753
754nfs-utils (1:1.3.4-2.3ubuntu2) disco; urgency=medium
755
756 * d/nfs-utils_env.sh: alongside RPCSVCGSSDARGS, also export SVCGSSDARGS,
757 which is the variable name expected by the rpc-svcgssd systemd service.
758 (LP: #1616123)
759
760 -- Andreas Hasenack <andreas@canonical.com> Mon, 25 Mar 2019 09:24:29 -0300
761
762nfs-utils (1:1.3.4-2.3ubuntu1) disco; urgency=low
763
764 * Merge from Debian unstable. Remaining changes:
765 - debian/nfs-common.default: always start idmapd automatically; drop
766 the configuration option.
767 - Add 90-gss-free-lucid-sec-context.patch: adjust for changes to the ctx
768 argument of the serialize_krb5_ctx() function.
769 - Add remove-gssproxy.patch: Drop gssproxy as it does not exist in Ubuntu
770 (LP: #1446851)
771 - Fixing nfs-mountd dependency on rpcbind (race condition) (LP: #1590799)
772 by adding "rpcbind.socket" to "nfs-mountd.service" as a dependency
773 to avoid race conditions:
774 - Add systemd-Fix-nfs-mountd-dependency-on-rpcbind.patch
775 - Convert mountstats and nfsiostat scripts to Python3 and recommend
776 python3 instead of python.
777 - glibc-2.28-compat.patch: Include <sys/sysmacros.h> for major/minor.
778 - truncate_gid*.patch: Backports from upstream to prevent truncating
779 UIDs and GIDs over 65536 on certain architectures
780 - Remove hard-coded dep on libtirpc1.
781
782 -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 31 Jan 2019 23:18:10 -0800
783
312nfs-utils (1:1.3.4-2.3) unstable; urgency=medium784nfs-utils (1:1.3.4-2.3) unstable; urgency=medium
313785
314 * Non-maintainer upload.786 * Non-maintainer upload.
@@ -328,6 +800,51 @@ nfs-utils (1:1.3.4-2.3) unstable; urgency=medium
328800
329 -- Laurent Bigonville <bigon@debian.org> Sat, 20 Oct 2018 15:04:07 +0200801 -- Laurent Bigonville <bigon@debian.org> Sat, 20 Oct 2018 15:04:07 +0200
330802
803nfs-utils (1:1.3.4-2.2ubuntu5) disco; urgency=medium
804
805 * Remove hard-coded dep on libtirpc1.
806
807 -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 13 Nov 2018 17:03:07 -0800
808
809nfs-utils (1:1.3.4-2.2ubuntu4) disco; urgency=medium
810
811 * No-change rebuild against latest libtirpc
812
813 -- Jeremy Bicha <jbicha@ubuntu.com> Sat, 10 Nov 2018 07:54:17 -0500
814
815nfs-utils (1:1.3.4-2.2ubuntu3) cosmic; urgency=medium
816
817 * truncate_gid*.patch: Backports from upstream to prevent truncating
818 UIDs and GIDs over 65536 on certain architectures (LP: #1779962)
819
820 -- Adam Conrad <adconrad@ubuntu.com> Tue, 16 Oct 2018 06:06:43 -0600
821
822nfs-utils (1:1.3.4-2.2ubuntu2) cosmic; urgency=medium
823
824 * glibc-2.28-compat.patch: Include <sys/sysmacros.h> for major/minor.
825
826 -- Adam Conrad <adconrad@ubuntu.com> Tue, 16 Oct 2018 05:24:40 -0600
827
828nfs-utils (1:1.3.4-2.2ubuntu1) cosmic; urgency=medium
829
830 * Merge from Debian unstable. Remaining changes:
831 - debian/nfs-common.default: always start idmapd automatically; drop
832 the configuration option.
833 - Add 90-gss-free-lucid-sec-context.patch: adjust for changes to the ctx
834 argument of the serialize_krb5_ctx() function.
835 - Add remove-gssproxy.patch: Drop gssproxy as it does not exist in Ubuntu
836 (LP: #1446851)
837 - Fixing nfs-mountd dependency on rpcbind (race condition) (LP: #1590799)
838 by adding "rpcbind.socket" to "nfs-mountd.service" as a dependency
839 to avoid race conditions:
840 - Add systemd-Fix-nfs-mountd-dependency-on-rpcbind.patch
841 - Convert mountstats and nfsiostat scripts to Python3 and recommend
842 python3 instead of python.
843 * Dropped already integrated changes:
844 - Provide UINT16_MAX definition if not provided by glibc.
845
846 -- Balint Reczey <rbalint@ubuntu.com> Thu, 23 Aug 2018 16:16:30 +0200
847
331nfs-utils (1:1.3.4-2.2) unstable; urgency=medium848nfs-utils (1:1.3.4-2.2) unstable; urgency=medium
332849
333 * Non-maintainer upload.850 * Non-maintainer upload.
@@ -339,6 +856,55 @@ nfs-utils (1:1.3.4-2.2) unstable; urgency=medium
339856
340 -- Adrian Bunk <bunk@debian.org> Tue, 06 Feb 2018 21:20:36 +0200857 -- Adrian Bunk <bunk@debian.org> Tue, 06 Feb 2018 21:20:36 +0200
341858
859nfs-utils (1:1.3.4-2.1ubuntu5) bionic; urgency=medium
860
861 * Drop obsoleted 20-ticket-expired-error.patch (LP: #1709129)
862 The original issue is fixed in the kernel starting with version 3.10.
863 * Refresh patches
864 * Remove whitespace after '=' in service files
865
866 -- Balint Reczey <rbalint@ubuntu.com> Tue, 16 Jan 2018 23:49:38 +0100
867
868nfs-utils (1:1.3.4-2.1ubuntu4) bionic; urgency=medium
869
870 * Convert mountstats and nfsiostat scripts to Python3 and recommend
871 python3 instead of python. LP: #1735458.
872 * Provide UINT16_MAX definition if not provided by glibc.
873
874 -- Matthias Klose <doko@ubuntu.com> Fri, 01 Dec 2017 03:49:39 +0100
875
876nfs-utils (1:1.3.4-2.1ubuntu2) artful; urgency=medium
877
878 * Fix flaky autopkgtest: a 'sync' after an update on the server does not
879 guarantee that the change is visible on the client. For that, we need
880 to flush the inode/dentry cache instead.
881
882 -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 31 Aug 2017 23:08:25 -0700
883
884nfs-utils (1:1.3.4-2.1ubuntu1) artful; urgency=low
885
886 * Merge from Debian unstable. Remaining changes:
887 - debian/nfs-common.default: always start idmapd automatically; drop
888 the configuration option.
889 - Add 20-ticket-expired-error.patch: Add "-e" (ticket expiry is error)
890 option to rpc.gssd to prevent hangs due to EKEYEXPIRED error from kernel
891 on ticket expiry. (LP: #794112)
892 - Add 90-gss-free-lucid-sec-context.patch: adjust for changes to the ctx
893 argument of the serialize_krb5_ctx() function. (LP: #1331201)
894 - Add remove-gssproxy.patch: Drop gssproxy as it does not exist in Ubuntu
895 (LP: #1446851)
896 - Add debian/nfs-common.maintscript: Clean up obsolete conffiles (upstart
897 jobs) on upgrades. This needs to be kept until after 18.04 LTS.
898 - Fixing nfs-mountd dependency on rpcbind (race condition) (LP: #1590799)
899 by adding "rpcbind.socket" to "nfs-mountd.service" as a dependency
900 to avoid race conditions:
901 - Add systemd-Fix-nfs-mountd-dependency-on-rpcbind.patch
902 * Dropped already integrated changes:
903 - Add a dependency on keyutils to nfs-common, so that idmapping will work
904 under systemd. (LP: #1449074)
905
906 -- Balint Reczey <rbalint@ubuntu.com> Thu, 03 Aug 2017 20:50:38 +0200
907
342nfs-utils (1:1.3.4-2.1) unstable; urgency=medium908nfs-utils (1:1.3.4-2.1) unstable; urgency=medium
343909
344 * Non-maintainer upload.910 * Non-maintainer upload.
@@ -372,6 +938,22 @@ nfs-utils (1:1.3.4-1) unstable; urgency=medium
372938
373 -- Daniel Pocock <daniel@pocock.pro> Tue, 13 Dec 2016 19:37:42 +0100939 -- Daniel Pocock <daniel@pocock.pro> Tue, 13 Dec 2016 19:37:42 +0100
374940
941nfs-utils (1:1.2.8-9.2ubuntu2) zesty; urgency=medium
942
943 * Fixing nfs-mountd dependency on rpcbind (race condition) (LP: #1590799)
944 by adding "rpcbind.socket" to "nfs-mountd.service" as a dependency
945 to avoid race conditions:
946 - Add systemd-Fix-nfs-mountd-dependency-on-rpcbind.patch
947 - Add systemd-unit-files-fix-up-dependencies-on-rpcbind.patch
948
949 -- Rafael David Tinoco <rafael.tinoco@canonical.com> Fri, 17 Mar 2017 12:19:53 +0100
950
951nfs-utils (1:1.2.8-9.2ubuntu1) yakkety; urgency=medium
952
953 * Merge fixes from Debian.
954
955 -- Martin Pitt <martin.pitt@ubuntu.com> Mon, 12 Sep 2016 23:18:00 +0200
956
375nfs-utils (1:1.2.8-9.2) unstable; urgency=medium957nfs-utils (1:1.2.8-9.2) unstable; urgency=medium
376958
377 * Non-maintainer upload.959 * Non-maintainer upload.
@@ -387,6 +969,27 @@ nfs-utils (1:1.2.8-9.2) unstable; urgency=medium
387969
388 -- Andreas Henriksson <andreas@fatal.se> Thu, 11 Aug 2016 18:50:24 +0200970 -- Andreas Henriksson <andreas@fatal.se> Thu, 11 Aug 2016 18:50:24 +0200
389971
972nfs-utils (1:1.2.8-9.1ubuntu1) yakkety; urgency=medium
973
974 * Drop upstart jobs, upstart is not in yakkety any more.
975 * Drop libgssglue-dev build dep, --with-gssglue got dropped a while ago.
976 * Merge with Debian unstable. Remaining Ubuntu changes:
977 - debian/nfs-common.default: always start idmapd automatically; drop
978 the configuration option.
979 - Add 20-ticket-expired-error.patch: Add "-e" (ticket expiry is error)
980 option to rpc.gssd to prevent hangs due to EKEYEXPIRED error from kernel
981 on ticket expiry. (LP: #794112)
982 - Add 90-gss-free-lucid-sec-context.patch: adjust for changes to the ctx
983 argument of the serialize_krb5_ctx() function. (LP: #1331201)
984 - Add remove-gssproxy.patch: Drop gssproxy as it does not exist in Ubuntu
985 (LP: #1446851)
986 - Add a dependency on keyutils to nfs-common, so that idmapping will work
987 under systemd. (LP: #1449074)
988 - Add debian/nfs-common.maintscript: Clean up obsolete conffiles (upstart
989 jobs) on upgrades. This needs to be kept until after 18.04 LTS.
990
991 -- Martin Pitt <martin.pitt@ubuntu.com> Thu, 28 Jul 2016 15:21:53 +0200
992
390nfs-utils (1:1.2.8-9.1) unstable; urgency=medium993nfs-utils (1:1.2.8-9.1) unstable; urgency=medium
391994
392 Partial sync from ubuntu, included changes:995 Partial sync from ubuntu, included changes:
@@ -451,6 +1054,149 @@ nfs-utils (1:1.2.8-9.1) unstable; urgency=medium
4511054
452 -- Andreas Henriksson <andreas@fatal.se> Tue, 28 Jun 2016 02:05:16 +02001055 -- Andreas Henriksson <andreas@fatal.se> Tue, 28 Jun 2016 02:05:16 +0200
4531056
1057nfs-utils (1:1.2.8-9ubuntu13) yakkety; urgency=medium
1058
1059 * Drop obsolete versioned initscripts dependency. (Closes: #804990)
1060
1061 -- Martin Pitt <martin.pitt@ubuntu.com> Wed, 22 Jun 2016 16:09:37 +0200
1062
1063nfs-utils (1:1.2.8-9ubuntu12) xenial; urgency=medium
1064
1065 * Drop gssproxy as it's not in Ubuntu (LP: #1446851)
1066 * Fix no nfs doesn't show failed units on client (LP: #1452667)
1067
1068 -- Bryan Quigley <bryan.quigley@canonical.com> Wed, 02 Mar 2016 15:01:29 -0500
1069
1070nfs-utils (1:1.2.8-9ubuntu11) xenial; urgency=medium
1071
1072 * Drop obsolete and no-op dh_installinit --upstart-only option.
1073 (LP: #1519228)
1074
1075 -- Martin Pitt <martin.pitt@ubuntu.com> Tue, 24 Nov 2015 09:39:56 +0100
1076
1077nfs-utils (1:1.2.8-9ubuntu10) wily; urgency=medium
1078
1079 * debian/nfs-common.links: Add naming compatibility symlinks for
1080 gssd.service → rpc-gssd.service and idmapd.service → /dev/null (as this
1081 is bound to/handled by nfs-server.service) to provide a match for the
1082 upstart job names. (LP: #1476010).
1083
1084 -- Martin Pitt <martin.pitt@ubuntu.com> Fri, 28 Aug 2015 09:59:48 +0200
1085
1086nfs-utils (1:1.2.8-9ubuntu9) wily; urgency=medium
1087
1088 * Drop versioned mountall dependency. Trusty's is already newer and we don't
1089 need it with systemd under Ubuntu 15.04 and newer.
1090
1091 -- Martin Pitt <martin.pitt@ubuntu.com> Mon, 27 Jul 2015 10:37:24 +0200
1092
1093nfs-utils (1:1.2.8-9ubuntu8.1) vivid; urgency=medium
1094
1095 * Add a dependency on keyutils to nfs-common, so that idmapping will work
1096 under systemd. LP: #1449074.
1097
1098 -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 27 Apr 2015 17:46:03 +0200
1099
1100nfs-utils (1:1.2.8-9ubuntu8) vivid; urgency=medium
1101
1102 * Ship missing .override files
1103 * Ensure we only remove the manual flag from the statd-mounting.override
1104 file, and potentially, remove it if empty.
1105
1106 -- Didier Roche <didrocks@ubuntu.com> Wed, 01 Apr 2015 08:22:59 +0200
1107
1108nfs-utils (1:1.2.8-9ubuntu7) vivid; urgency=medium
1109
1110 * 27-systemd-enable-with-systemctl-statd.patch: let the admin
1111 enable/disable statd via systemd tools. (LP: #1428486)
1112 * debian/nfs-common.default: remove NEED_STATD and related comment.
1113 * debian/statd{,-mounting}.upstart: remove the usage of NEED_STATD, we'll
1114 directly disable the jobs now.
1115 * debian/rules: don't start statd by default (or it will trigger upstart
1116 and systemd statd unit startup).
1117 * debian/nfs-common.{preinst,postinst}: transition the conffile to the new
1118 template and enable statd services in both upstart and systemd if
1119 NEED_STATD was set to yes.
1120 * debian/control, debian/*install: move nfs-utils.service to nfs-common
1121 package. (LP: #1436304)
1122
1123 -- Didier Roche <didrocks@ubuntu.com> Thu, 12 Mar 2015 09:13:06 +0100
1124
1125nfs-utils (1:1.2.8-9ubuntu6) vivid; urgency=medium
1126
1127 * Revert previous upload; per upstream, rpc.idmapd is not used when the
1128 nfsidmap utility is available and configured for use in request-key
1129 upcalls. So rpc.idmapd does not need to be started on clients anymore.
1130
1131 -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 06 Mar 2015 10:19:57 -0800
1132
1133nfs-utils (1:1.2.8-9ubuntu5) vivid; urgency=medium
1134
1135 * Add 27-systemd-start-nfs-idmapd-also-on-clients.patch: idmapd is needed
1136 for clients too, so start it from nfs-client.target and stop binding to it
1137 in nfs-server.service. (LP: #1428961)
1138
1139 -- Martin Pitt <martin.pitt@ubuntu.com> Fri, 06 Mar 2015 11:56:46 +0100
1140
1141nfs-utils (1:1.2.8-9ubuntu4) vivid; urgency=medium
1142
1143 * Add autopkgtest for installing server and client on localhost, setting up
1144 two exports, rebooting, and ensuring that the NFS mounts work.
1145 * Add 23-systemd-relax-dependencies.patch: Stop depending on basic.target in
1146 the daemons which still do; i. e. add DefaultDependencies=no. This makes
1147 it possible to run NFS during early boot, helps if you e. g. have /var
1148 on NFS, and avoids dependency cycles with rcS init.d scripts which depend
1149 on $remote_fs. (LP: #1428487)
1150 * Shift number prefixes of other systemd patches accordingly, and adjust
1151 them to the above patch.
1152
1153 -- Martin Pitt <martin.pitt@ubuntu.com> Thu, 05 Mar 2015 10:43:54 +0100
1154
1155nfs-utils (1:1.2.8-9ubuntu3) vivid; urgency=medium
1156
1157 * Add 00git-start-statd-systemd.patch: Latest start-statd script from
1158 1.3.2 to start rpc-statd.service under systemd.
1159 * Add 23-systemd-pipefs_in_run.patch: systemd: Mount rpc_pipefs in /run instead of
1160 /var/lib/nfs/, like in the upstart units.
1161 * Add 24-systemd-daemon-paths.patch: Adjust program paths in systemd units.
1162 * debian/nfs-kernel-server.links: Add nfs-kernel-server.service alias
1163 symlink, to match SysV init script.
1164 * Add 25-systemd-server-before-client.patch: Order NFS server before client,
1165 to make mounting NFS shares from localhost work reliably.
1166 * Add debian/nfs-utils_env.sh: Translate our /etc/default files into runtime
1167 configuration for nfs-config.service.
1168 * debian/nfs-{common,kernel-server}.install: Install systemd units.
1169 * debian/rules: Enable/start systemd units. (LP: #1312976)
1170
1171 -- Martin Pitt <martin.pitt@ubuntu.com> Thu, 05 Mar 2015 07:46:41 +0100
1172
1173nfs-utils (1:1.2.8-9ubuntu2) vivid; urgency=medium
1174
1175 * debian/nfs-common.statd.upstart: wait for rpcbind job instead of
1176 relying on portmap compatibility event. (LP: #1391296)
1177
1178 -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Tue, 18 Nov 2014 19:07:15 -0500
1179
1180nfs-utils (1:1.2.8-9ubuntu1) utopic; urgency=medium
1181
1182 * Merge from Debian usntable, remaining changes:
1183 - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1184 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1185 debian/rules: drop nfs-common init script in favor of upstart jobs.
1186 - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1187 - Depend on mountall (>= 2.41) to avoid deadlocks on boot.
1188 - debian/nfs-common.default: always start idmapd automatically; drop
1189 the configuration option.
1190 - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1191 - Allow issuing options to rpc.nfsd
1192 - Add "-e" (ticket expiry is error) option to rpc.gssd to prevent hangs
1193 due to EKEYEXPIRED error from kernel on ticket expiry.
1194 - drop nfs-kernel-server's LSB dependency on nfs-common.
1195 - Add patch to adjust for changes to the ctx argument of the
1196 serialize_krb5_ctx() function.
1197
1198 -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 21 Aug 2014 11:29:38 -0700
1199
454nfs-utils (1:1.2.8-9) unstable; urgency=medium1200nfs-utils (1:1.2.8-9) unstable; urgency=medium
4551201
456 * debian/patches/22-mountd-fix-segfault-in-add_name-with-newer-gcc-1202 * debian/patches/22-mountd-fix-segfault-in-add_name-with-newer-gcc-
@@ -459,6 +1205,26 @@ nfs-utils (1:1.2.8-9) unstable; urgency=medium
4591205
460 -- Steve Langasek <vorlon@debian.org> Tue, 12 Aug 2014 17:12:38 -07001206 -- Steve Langasek <vorlon@debian.org> Tue, 12 Aug 2014 17:12:38 -0700
4611207
1208nfs-utils (1:1.2.8-8ubuntu1) utopic; urgency=medium
1209
1210 * Merge from Debian unstable, remaining changes:
1211 - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1212 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1213 debian/rules: drop nfs-common init script in favor of upstart jobs.
1214 - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1215 - Depend on mountall (>= 2.41) to avoid deadlocks on boot.
1216 - debian/nfs-common.default: always start idmapd automatically; drop
1217 the configuration option.
1218 - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1219 - Allow issuing options to rpc.nfsd
1220 - Add "-e" (ticket expiry is error) option to rpc.gssd to prevent hangs
1221 due to EKEYEXPIRED error from kernel on ticket expiry.
1222 - drop nfs-kernel-server's LSB dependency on nfs-common.
1223 - Add patch to adjust for changes to the ctx argument of the
1224 serialize_krb5_ctx() function.
1225
1226 -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 11 Aug 2014 01:10:28 -0700
1227
462nfs-utils (1:1.2.8-8) unstable; urgency=medium1228nfs-utils (1:1.2.8-8) unstable; urgency=medium
4631229
464 * Upload to unstable where this belongs.1230 * Upload to unstable where this belongs.
@@ -479,6 +1245,38 @@ nfs-utils (1:1.2.8-7) experimental; urgency=medium
4791245
480 -- Anibal Monsalve Salazar <anibal@debian.org> Sat, 02 Aug 2014 12:25:47 +01001246 -- Anibal Monsalve Salazar <anibal@debian.org> Sat, 02 Aug 2014 12:25:47 +0100
4811247
1248nfs-utils (1:1.2.8-6ubuntu4) utopic; urgency=medium
1249
1250 * Add patch from Sergio Gelato to adjust for changes to the ctx
1251 argument of the serialize_krb5_ctx() function (LP: #1331201)
1252
1253 -- Adam Conrad <adconrad@ubuntu.com> Wed, 25 Jun 2014 12:23:09 -0600
1254
1255nfs-utils (1:1.2.8-6ubuntu3) utopic; urgency=medium
1256
1257 * Soon nfs-common.init is going to be split on the Debian side, and
1258 nfs-kernel-server init.d's LSB depends on "nfs-common" has never done
1259 anything in Ubuntu. Drop it to avoid breaking insserv. (LP: #1323274)
1260
1261 -- Martin Pitt <martin.pitt@ubuntu.com> Tue, 27 May 2014 11:38:51 +0200
1262
1263nfs-utils (1:1.2.8-6ubuntu1) trusty; urgency=medium
1264
1265 * Merge from Debian unstable, remaining changes:
1266 - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1267 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1268 debian/rules: drop nfs-common init script in favor of upstart jobs.
1269 - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1270 - Depend on mountall (>= 2.41) to avoid deadlocks on boot.
1271 - debian/nfs-common.default: always start idmapd automatically; drop
1272 the configuration option.
1273 - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1274 - Allow issuing options to rpc.nfsd
1275 - Add "-e" (ticket expiry is error) option to rpc.gssd to prevent hangs
1276 due to EKEYEXPIRED error from kernel on ticket expiry.
1277
1278 -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 25 Feb 2014 09:18:47 -0800
1279
482nfs-utils (1:1.2.8-6) unstable; urgency=medium1280nfs-utils (1:1.2.8-6) unstable; urgency=medium
4831281
484 * Fix the sec=krb5* handling in debian/nfs-common.init to properly match1282 * Fix the sec=krb5* handling in debian/nfs-common.init to properly match
@@ -505,6 +1303,29 @@ nfs-utils (1:1.2.8-6) unstable; urgency=medium
5051303
506 -- Steve Langasek <vorlon@debian.org> Mon, 24 Feb 2014 18:11:17 +00001304 -- Steve Langasek <vorlon@debian.org> Mon, 24 Feb 2014 18:11:17 +0000
5071305
1306nfs-utils (1:1.2.8-5ubuntu1) trusty; urgency=medium
1307
1308 * Merge from Debian unstable, remaining changes:
1309 - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1310 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1311 debian/rules: drop nfs-common init script in favor of upstart jobs.
1312 - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1313 - Depend on mountall (>= 2.41) to avoid deadlocks on boot.
1314 - debian/nfs-common.default: always start idmapd automatically; drop
1315 the configuration option.
1316 - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1317 - Allow issuing options to rpc.nfsd
1318 - Add "-e" (ticket expiry is error) option to rpc.gssd to prevent hangs
1319 due to EKEYEXPIRED error from kernel on ticket expiry.
1320 * Dropped changes, included in Debian:
1321 - Move /var/lib/nfs/rpc_pipefs to /run/rpc_pipefs. This does not belong
1322 in /var/lib.
1323 - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1324 in the postinst, this is redundant anyway and the nfs-common init script
1325 is gone now.
1326
1327 -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 13 Jan 2014 21:13:11 -0800
1328
508nfs-utils (1:1.2.8-5) unstable; urgency=medium1329nfs-utils (1:1.2.8-5) unstable; urgency=medium
5091330
510 [ Ben Hutchings ]1331 [ Ben Hutchings ]
@@ -521,6 +1342,37 @@ nfs-utils (1:1.2.8-5) unstable; urgency=medium
5211342
522 -- Steve Langasek <vorlon@debian.org> Mon, 13 Jan 2014 22:07:53 +00001343 -- Steve Langasek <vorlon@debian.org> Mon, 13 Jan 2014 22:07:53 +0000
5231344
1345nfs-utils (1:1.2.8-4ubuntu1) trusty; urgency=low
1346
1347 * Merge from Debian unstable, remaining changes:
1348 - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1349 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1350 debian/rules: drop nfs-common init script in favor of upstart jobs.
1351 - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1352 - Depend on mountall (>= 2.41) to avoid deadlocks on boot.
1353 - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1354 in the postinst, this is redundant anyway and the nfs-common init script
1355 is gone now.
1356 - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1357 - Allow issuing options to rpc.nfsd
1358 - debian/nfs-common.defaults: always start idmapd automatically; drop
1359 the configuration option.
1360 - Move /var/lib/nfs/rpc_pipefs to /run/rpc_pipefs. This does not belong
1361 in /var/lib.
1362 - Add "-e" (ticket expiry is error) option to rpc.gssd to prevent hangs due
1363 to EKEYEXPIRED error from kernel on ticket expiry. LP: #794112
1364 - Fix the stop conditions: never stop on 'runlevel [06]' since that gives
1365 the system no time to cleanly unmount nfs mounts; instead, stop only on
1366 the unmounted-remote-filesystems event. LP: #569094.
1367 * Dropped changes:
1368 - build-depend on debhelper (>= 7.3.15ubuntu3): all supported debhelper
1369 versions meet this requirement now, so it's not worth carrying a delta
1370 for.
1371 * Drop removal handling for rpc_pipefs.conf, which has been obsolete since
1372 before the 12.04 release.
1373
1374 -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 21 Nov 2013 13:35:20 -0800
1375
524nfs-utils (1:1.2.8-4) unstable; urgency=low1376nfs-utils (1:1.2.8-4) unstable; urgency=low
5251377
526 * The configure option name is --with-gssglue, not --with-libgssglue.1378 * The configure option name is --with-gssglue, not --with-libgssglue.
@@ -539,6 +1391,64 @@ nfs-utils (1:1.2.8-3) unstable; urgency=low
5391391
540 -- Steve Langasek <vorlon@debian.org> Fri, 31 May 2013 17:59:53 -07001392 -- Steve Langasek <vorlon@debian.org> Fri, 31 May 2013 17:59:53 -0700
5411393
1394nfs-utils (1:1.2.8-2ubuntu2) saucy; urgency=low
1395
1396 * Start statd on virtual-filesystems instead of on local-filesystems;
1397 this works and avoids a deadlock in the nfsroot case. Also, adjust
1398 idmapd to not block MOUNTPOINT=/ for the same reason. This isn't a
1399 perfect fix since idmapd would be needed if we ever wanted nfsv4
1400 nfsroot, but implementing that can wait until we have /usr mounting from
1401 the initramfs. LP: #537133.
1402
1403 -- Steve Langasek <steve.langasek@ubuntu.com> Wed, 11 Sep 2013 15:00:02 -0700
1404
1405nfs-utils (1:1.2.8-2ubuntu1) saucy; urgency=low
1406
1407 [ Stéphane Graber ]
1408 * Merge from Debian unstable.
1409 - includes upstream fix for gssd -R. LP: #1179992.
1410 - includes upstream fix for an exportfs crash when using long paths.
1411 LP: #1062022.
1412 * Remaining changes:
1413 - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1414 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1415 debian/rules: drop nfs-common init script in favor of upstart jobs,
1416 and build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart
1417 init handling.
1418 - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1419 - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1420 in the postinst, this is redundant anyway and the nfs-common init script
1421 is gone now.
1422 - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1423 - Allow issuing options to rpc.nfsd
1424 - debian/nfs-common.defaults: always start idmapd automatically; drop
1425 the configuration option.
1426 - Move /var/lib/nfs/rpc_pipefs to /run/rpc_pipefs. This does not belong
1427 in /var/lib.
1428 - Add "-e" (ticket expiry is error) option to rpc.gssd to prevent hangs due
1429 to EKEYEXPIRED error from kernel on ticket expiry. LP: #794112
1430 - Adjust upstart jobs to treat TYPE=nfs and TYPE=nfs4 mounts identically,
1431 since TYPE=nfs4 is considered deprecated.
1432 - Fix various boot-time race conditions between mountall and nfs-utils by
1433 moving handling of the 'mounting' events to separate gssd-mounting and
1434 idmapd-mounting jobs. Requires mountall 2.41 or better to avoid deadlock
1435 on boot. LP: #643289, LP: #611397.
1436 - Fix the stop conditions: never stop on 'runlevel [06]' since that gives
1437 the system no time to cleanly unmount nfs mounts; instead, stop only on
1438 the unmounted-remote-filesystems event. LP: #569094.
1439 - Newer versions of gssd don't talk to portmap, so don't make the upstart
1440 job depend on it.
1441 - Add an instance to statd-mounting, and change it to just wait for statd
1442 instead of trying to trigger it potentially out of order. This also
1443 means we don't need to try to force portmap to start from statd.
1444
1445 [ Steve Langasek ]
1446 * Build --with-gssglue; linking directly against libgssapi-krb5 results in
1447 rpc.gssd trying to incorrectly pass opaque pointers between two different
1448 gss implementations (via libtirpc).
1449
1450 -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 31 May 2013 18:05:03 -0700
1451
542nfs-utils (1:1.2.8-2) unstable; urgency=medium1452nfs-utils (1:1.2.8-2) unstable; urgency=medium
5431453
544 * Fix reportbug scripts to use rpcinfo in /usr/sbin.1454 * Fix reportbug scripts to use rpcinfo in /usr/sbin.
@@ -568,12 +1478,80 @@ nfs-utils (1:1.2.8-1) unstable; urgency=low
5681478
569 -- Luk Claes <luk@zomers.be> Fri, 10 May 2013 14:27:47 +02001479 -- Luk Claes <luk@zomers.be> Fri, 10 May 2013 14:27:47 +0200
5701480
1481nfs-utils (1:1.2.6-3ubuntu2) quantal; urgency=low
1482
1483 [ Steve Langasek ]
1484 * Adjust upstart jobs to treat TYPE=nfs and TYPE=nfs4 mounts identically,
1485 since TYPE=nfs4 is considered deprecated.
1486 * Fix various boot-time race conditions between mountall and nfs-utils by
1487 moving handling of the 'mounting' events to separate gssd-mounting and
1488 idmapd-mounting jobs. Requires mountall 2.41 or better to avoid deadlock
1489 on boot. LP: #643289, LP: #611397.
1490 * Fix the stop conditions: never stop on 'runlevel [06]' since that gives
1491 the system no time to cleanly unmount nfs mounts; instead, stop only on
1492 the unmounted-remote-filesystems event. LP: #569094.
1493 * Newer versions of gssd don't talk to portmap, so don't make the upstart
1494 job depend on it.
1495 * Add an instance to statd-mounting, and change it to just wait for statd
1496 instead of trying to trigger it potentially out of order. This also means
1497 we don't need to try to force portmap to start from statd.
1498
1499 [ Matthew L. Dailey ]
1500 * Add "-e" (ticket expiry is error) option to rpc.gssd to prevent hangs due
1501 to EKEYEXPIRED error from kernel on ticket expiry. LP: #794112
1502
1503 -- Stéphane Graber <stgraber@ubuntu.com> Fri, 28 Sep 2012 13:58:43 -0400
1504
1505nfs-utils (1:1.2.6-3ubuntu1) quantal; urgency=low
1506
1507 * Merge from Debian unstable. Remaining changes:
1508 - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1509 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1510 debian/rules: drop nfs-common init script in favor of upstart jobs,
1511 and build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart
1512 init handling.
1513 - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1514 - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1515 in the postinst, this is redundant anyway and the nfs-common init script
1516 is gone now.
1517 - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1518 - Allow issuing options to rpc.nfsd
1519 - debian/nfs-common.defaults: always start idmapd automatically; drop
1520 the configuration option.
1521 - Move /var/lib/nfs/rpc_pipefs to /run/rpc_pipefs. This does not belong
1522 in /var/lib.
1523
1524 -- Logan Rosen <logatronico@gmail.com> Sun, 05 Aug 2012 00:56:05 -0400
1525
571nfs-utils (1:1.2.6-3) unstable; urgency=low1526nfs-utils (1:1.2.6-3) unstable; urgency=low
5721527
573 * Iterate through exports.d to look for expors (Closes: #676604).1528 * Iterate through exports.d to look for expors (Closes: #676604).
5741529
575 -- Luk Claes <luk@zomers.be> Tue, 10 Jul 2012 19:38:22 +02001530 -- Luk Claes <luk@zomers.be> Tue, 10 Jul 2012 19:38:22 +0200
5761531
1532nfs-utils (1:1.2.6-2ubuntu1) quantal; urgency=low
1533
1534 * Merge from Debian unstable, remaining changes:
1535 - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1536 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1537 debian/rules: drop nfs-common init script in favor of upstart jobs,
1538 and build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart
1539 init handling.
1540 - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1541 - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1542 in the postinst, this is redundant anyway and the nfs-common init script
1543 is gone now.
1544 - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1545 - Allow issuing options to rpc.nfsd
1546 - debian/nfs-common.defaults: always start idmapd automatically; drop
1547 the configuration option.
1548 - Move /var/lib/nfs/rpc_pipefs to /run/rpc_pipefs. This does not belong
1549 in /var/lib.
1550 * Dropped changes, included in Debian:
1551 - nfs-kernel-server.default: Add comment about how to disable nfs4.
1552
1553 -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 22 Jun 2012 11:25:28 -0700
1554
577nfs-utils (1:1.2.6-2) unstable; urgency=low1555nfs-utils (1:1.2.6-2) unstable; urgency=low
5781556
579 * Move open-iscsi and watchdog to Suggests.1557 * Move open-iscsi and watchdog to Suggests.
@@ -601,6 +1579,44 @@ nfs-utils (1:1.2.5-4) unstable; urgency=low
6011579
602 -- Luk Claes <luk@debian.org> Sun, 22 Jan 2012 15:46:25 +01001580 -- Luk Claes <luk@debian.org> Sun, 22 Jan 2012 15:46:25 +0100
6031581
1582nfs-utils (1:1.2.5-3ubuntu3) precise; urgency=low
1583
1584 * In some cases, /var/lib/nfs/rpc_pipefs is successfully unmounted on
1585 upgrade but the directory still has contents within it. Since this is
1586 /var/lib we shouldn't assume it's ok for delete these; instead, pass
1587 --ignore-fail-on-non-empty to rmdir. LP: #954619.
1588
1589 -- Steve Langasek <steve.langasek@ubuntu.com> Sun, 08 Apr 2012 22:44:40 -0700
1590
1591nfs-utils (1:1.2.5-3ubuntu2) precise; urgency=low
1592
1593 * Fix wrong path to rpcinfo in the init script, which breaks use of nfs
1594 v3 support in the server. LP: #945651.
1595
1596 -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 27 Mar 2012 10:44:03 -0700
1597
1598nfs-utils (1:1.2.5-3ubuntu1) precise; urgency=low
1599
1600 * Merge from Debian testing, remaining changes:
1601 - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1602 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1603 debian/rules: drop nfs-common init script in favor of upstart jobs,
1604 and build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart
1605 init handling.
1606 - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1607 - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1608 in the postinst, this is redundant anyway and the nfs-common init script
1609 is gone now.
1610 - nfs-kernel-server.default: Add comment about how to disable nfs4.
1611 - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1612 - Allow issuing options to rpc.nfsd
1613 - debian/nfs-common.defaults: always start idmapd automatically; drop
1614 the configuration option.
1615 - Move /var/lib/nfs/rpc_pipefs to /run/rpc_pipefs. This does not belong
1616 in /var/lib.
1617
1618 -- Steve Langasek <steve.langasek@ubuntu.com> Wed, 04 Jan 2012 09:20:27 -0800
1619
604nfs-utils (1:1.2.5-3) unstable; urgency=low1620nfs-utils (1:1.2.5-3) unstable; urgency=low
6051621
606 [ Roger Leigh ]1622 [ Roger Leigh ]
@@ -619,6 +1635,33 @@ nfs-utils (1:1.2.5-3) unstable; urgency=low
6191635
620 -- Luk Claes <luk@debian.org> Fri, 09 Dec 2011 11:55:31 +01001636 -- Luk Claes <luk@debian.org> Fri, 09 Dec 2011 11:55:31 +0100
6211637
1638nfs-utils (1:1.2.5-2ubuntu1) precise; urgency=low
1639
1640 * Merge from Debian testing, remaining changes:
1641 - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1642 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1643 debian/rules: drop nfs-common init script in favor of upstart jobs,
1644 and build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart
1645 init handling.
1646 - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1647 - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1648 in the postinst, this is redundant anyway and the nfs-common init script
1649 is gone now.
1650 - nfs-kernel-server.default: Add comment about how to disable nfs4.
1651 - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1652 - Allow issuing options to rpc.nfsd
1653 - debian/nfs-common.defaults: always start idmapd automatically; drop
1654 the configuration option.
1655 - Move /var/lib/nfs/rpc_pipefs to /run/rpc_pipefs. This does not belong
1656 in /var/lib.
1657 * Dropped changes, superseded in Debian/upstream:
1658 - debian/patches/multiarch-kerberos-paths: Search for kerberos libs
1659 in multiarch locations.
1660 - ubuntu-fix-kernel-version-handling: avoid segfaults from short kernel
1661 version numbers.
1662
1663 -- Steve Langasek <steve.langasek@ubuntu.com> Sun, 30 Oct 2011 00:12:50 +0000
1664
622nfs-utils (1:1.2.5-2) unstable; urgency=low1665nfs-utils (1:1.2.5-2) unstable; urgency=low
6231666
624 * debian/patches/18-dont-use-PAGE_SIZE.patch1667 * debian/patches/18-dont-use-PAGE_SIZE.patch
@@ -661,6 +1704,57 @@ nfs-utils (1:1.2.4-2) UNRELEASED; urgency=low
6611704
662 -- Luk Claes <luk@debian.org> Sat, 06 Aug 2011 07:38:48 +02001705 -- Luk Claes <luk@debian.org> Sat, 06 Aug 2011 07:38:48 +0200
6631706
1707nfs-utils (1:1.2.4-1ubuntu4) precise; urgency=low
1708
1709 * debian/nfs-common.postinst: handle the case when /var/lib/nfs/rpc_pipefs
1710 is not already mounted on upgrade - dpkg will already remove the
1711 directory for us on upgrade, so don't fail when it's missing.
1712 LP: #882799.
1713
1714 -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 27 Oct 2011 16:21:22 -0700
1715
1716nfs-utils (1:1.2.4-1ubuntu3) precise; urgency=low
1717
1718 * debian/nfs-common.defaults, debian/nfs-common.idmapd.upstart: idmapd
1719 should always be started automatically, because we can no longer assume
1720 that a mount of type 'nfs' in /etc/fstab is not nfs4. This also lets
1721 things work by default with nfs4 autofs. LP: #662711.
1722 * Move /var/lib/nfs/rpc_pipefs to /run/rpc_pipefs. This does not belong
1723 in /var/lib.
1724 * Ignore errors from mount if the filesystem is already mounted.
1725 LP: #811823.
1726
1727 -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 27 Oct 2011 12:04:58 -0700
1728
1729nfs-utils (1:1.2.4-1ubuntu2) oneiric; urgency=low
1730
1731 * Allow issuing options to rpc.nfsd
1732 (LP: #567491)
1733
1734 -- Bryce Harrington <bryce@ubuntu.com> Mon, 08 Aug 2011 16:37:26 -0700
1735
1736nfs-utils (1:1.2.4-1ubuntu1) oneiric; urgency=low
1737
1738 * Merge from Debian unstable (LP: #728586, LP: #789117), remaining
1739 changes:
1740 - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1741 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1742 debian/rules: drop nfs-common init script in favor of upstart jobs,
1743 and build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart
1744 init handling.
1745 - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1746 - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1747 in the postinst, this is redundant anyway and the nfs-common init script
1748 is gone now.
1749 - nfs-kernel-server.default: Add comment about how to disable nfs4.
1750 - debian/patches/multiarch-kerberos-paths: Search for kerberos libs
1751 in multiarch locations.
1752 - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1753 - ubuntu-fix-kernel-version-handling: avoid segfaults from short kernel
1754 version numbers.
1755
1756 -- Steve Langasek <steve.langasek@ubuntu.com> Sat, 23 Jul 2011 17:54:36 +0200
1757
664nfs-utils (1:1.2.4-1) unstable; urgency=low1758nfs-utils (1:1.2.4-1) unstable; urgency=low
6651759
666 * New upstream version1760 * New upstream version
@@ -748,6 +1842,93 @@ nfs-utils (1:1.2.2-5) unstable; urgency=low
7481842
749 -- Luk Claes <luk@debian.org> Wed, 16 Mar 2011 23:10:15 +01001843 -- Luk Claes <luk@debian.org> Wed, 16 Mar 2011 23:10:15 +0100
7501844
1845nfs-utils (1:1.2.2-4ubuntu8) oneiric; urgency=low
1846
1847 * debian/nfs-common.idmapd.upstart: don't use a script unnecessarily for
1848 our job when we can exec directly - making the job more resilient in
1849 the face of races with /usr being mounted. LP: #811823.
1850 * Drop rpc_pipefs.conf; this has gotten far more complicated than it
1851 should be, just do the mount in-line in each of the gssd and idmapd
1852 jobs.
1853
1854 -- Steve Langasek <steve.langasek@ubuntu.com> Sun, 17 Jul 2011 02:23:01 -0700
1855
1856nfs-utils (1:1.2.2-4ubuntu7) oneiric; urgency=low
1857
1858 [ Andy Whitcroft ]
1859 * ubuntu-fix-kernel-version-handling: avoid segfaults from short kernel
1860 version numbers. (LP: #796611)
1861
1862 -- Evan Dandrea <ev@ubuntu.com> Tue, 14 Jun 2011 17:13:14 +0100
1863
1864nfs-utils (1:1.2.2-4ubuntu6) oneiric; urgency=low
1865
1866 * nfs-kernel-server.init: Unmount nfsd fs when init script stops
1867 (LP: #251026)
1868
1869 -- Bryce Harrington <bryce@ubuntu.com> Mon, 06 Jun 2011 19:18:16 -0700
1870
1871nfs-utils (1:1.2.2-4ubuntu5) natty; urgency=low
1872
1873 * Search kerberos libs in multiarch locations.
1874
1875 -- Matthias Klose <doko@ubuntu.com> Fri, 01 Apr 2011 12:35:30 +0200
1876
1877nfs-utils (1:1.2.2-4ubuntu4) natty; urgency=low
1878
1879 * nvs-kernel-server.default: Add comment about how to disable nfs4.
1880 There are corner cases where the server providing nfsv4 as the default
1881 can confuse the client (117957, 680680) or even cause kernel problems
1882 (716811), so it is worthwhile to document how to fallback to nfs3 only.
1883
1884 -- Bryce Harrington <bryce@ubuntu.com> Mon, 14 Feb 2011 13:20:27 -0800
1885
1886nfs-utils (1:1.2.2-4ubuntu3) natty; urgency=low
1887
1888 * debian/nfs-common.statd.upstart: pass a new WAITER= variable
1889 to portmap-wait, so that multiple jobs can wait in parallel, fixing
1890 another subtle race condition; and bump the portmap dependency again for
1891 the necessary instance support.
1892 * also fix the grouping in the start condition, so that restarts work
1893 correctly when portmap is restarted.
1894 * debian/nfs-common.rpc_pipefs.upstart: instantiate this job separately for
1895 gssd and idmapd, so that the filesystem gets mounted and unmounted
1896 correctly even if both of gssd and idmapd aren't being run, or if one of
1897 the two tries to start before the filesystem is fully mounted. Though
1898 it may be simpler now to move this logic back into the gssd and idmapd
1899 jobs directly, leave that for a later date.
1900
1901 -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 18 Jan 2011 17:45:45 -0800
1902
1903nfs-utils (1:1.2.2-4ubuntu2) natty; urgency=low
1904
1905 * debian/nfs-common.statd.upstart,
1906 debian/nfs-common.statd-mounting.upstart: refactor startup to wait for
1907 local-filesystems. (LP: #525154)
1908 * debian/control: depend on portmap version that sets ON_BOOT=y and
1909 has the portmap-wait job.
1910 * debian/rules: install new statd-mounting upstart job
1911
1912 -- Clint Byrum <clint@ubuntu.com> Wed, 05 Jan 2011 12:27:32 -0800
1913
1914nfs-utils (1:1.2.2-4ubuntu1) natty; urgency=low
1915
1916 * Merge from debian unstable (LP: #685860), remaining changes:
1917 - debian/nfs-common.{statd,gssd,idmapd,rpc_pipefs}.upstart,
1918 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1919 debian/rules: drop nfs-common init script in favor of upstart jobs, and
1920 build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart init
1921 handling.
1922 - debian/control:
1923 + depend on the upstart-using version of portmap, 6.0-10ubuntu1; and
1924 drop the alternative depends on rpcbind, which hasn't been converted.
1925 + depend on portmap 6.0-10ubuntu1.
1926 - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1927 in the postinst, this is redundant anyway and the nfs-common init script
1928 is gone now.
1929
1930 -- Lorenzo De Liso <blackz@ubuntu.com> Wed, 15 Dec 2010 21:42:55 +0100
1931
751nfs-utils (1:1.2.2-4) unstable; urgency=low1932nfs-utils (1:1.2.2-4) unstable; urgency=low
7521933
753 * mountd: fix path comparison for v4 crossmnt (Closes: #578317)1934 * mountd: fix path comparison for v4 crossmnt (Closes: #578317)
@@ -775,6 +1956,28 @@ nfs-utils (1:1.2.2-2) unstable; urgency=low
7751956
776 -- Anibal Monsalve Salazar <anibal@debian.org> Tue, 13 Jul 2010 15:20:17 +10001957 -- Anibal Monsalve Salazar <anibal@debian.org> Tue, 13 Jul 2010 15:20:17 +1000
7771958
1959nfs-utils (1:1.2.2-1ubuntu1) maverick; urgency=low
1960
1961 * Merge from Debian unstable, remaining changes:
1962 - debian/nfs-common.{statd,gssd,idmapd,rpc_pipefs}.upstart,
1963 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1964 debian/rules: drop nfs-common init script in favor of upstart jobs, and
1965 build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart init
1966 handling.
1967 - debian/control: depend on the upstart-using version of portmap,
1968 6.0-10ubuntu1; and drop the alternative depends on rpcbind, which
1969 hasn't been converted.
1970 - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1971 in the postinst, this is redundant anyway and the nfs-common init script
1972 is gone now.
1973 * Dropped changes, included in Debian:
1974 - debian/control: add ${misc:Depends} line for nfs-common, for the
1975 upstart deps
1976 - debian/nfs-kernel-server.init: updated check for presence of nfsd
1977 support
1978
1979 -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 04 Jun 2010 09:55:28 +0000
1980
778nfs-utils (1:1.2.2-1) unstable; urgency=low1981nfs-utils (1:1.2.2-1) unstable; urgency=low
7791982
780 [ Anibal Monsalve Salazar ]1983 [ Anibal Monsalve Salazar ]
@@ -846,6 +2049,51 @@ nfs-utils (1:1.2.0-4.1) unstable; urgency=low
8462049
847 -- Ben Hutchings <ben@decadent.org.uk> Wed, 16 Dec 2009 22:14:01 +00002050 -- Ben Hutchings <ben@decadent.org.uk> Wed, 16 Dec 2009 22:14:01 +0000
8482051
2052nfs-utils (1:1.2.0-4ubuntu4) lucid; urgency=low
2053
2054 * debian/nfs-common.gssd.upstart:
2055 - fix the OPTIONS= match for the start condition (missing a leading '*')
2056 so that we actually match on nfs4 mounts
2057 - drop the 'script' for a straight exec of rpc.gssd; if /usr is a separate
2058 partition then nfs4 mounts might be attempted in parallel, and upstart
2059 gets mightily confused when this happens. LP: #545673
2060
2061 -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 23 Mar 2010 22:26:07 -0700
2062
2063nfs-utils (1:1.2.0-4ubuntu3) lucid; urgency=low
2064
2065 * debian/nfs-common.*.upstart: start on new 'mounting' signal instead of
2066 obsolete 'mount' signal.
2067
2068 -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 25 Feb 2010 06:41:46 -0800
2069
2070nfs-utils (1:1.2.0-4ubuntu2) lucid; urgency=low
2071
2072 * debian/nfs-kernel-server.init: 2.6.32 kernels no longer export the
2073 same symbols. Switch symbol check to nfsd_serv which has been present
2074 since 2005. LP: #493145.
2075
2076 -- Andy Whitcroft <apw@canonical.com> Mon, 07 Dec 2009 16:56:56 +0000
2077
2078nfs-utils (1:1.2.0-4ubuntu1) lucid; urgency=low
2079
2080 * Merge from Debian testing, remaining changes:
2081 - debian/nfs-common.{statd,gssd,idmapd,rpc_pipefs}.upstart,
2082 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
2083 debian/rules: drop nfs-common init script in favor of upstart jobs, and
2084 build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart init
2085 handling.
2086 - debian/control: depend on the upstart-using version of portmap,
2087 6.0-10ubuntu1; and drop the alternative depends on rpcbind, which
2088 hasn't been converted.
2089 - debian/control: add ${misc:Depends} line for nfs-common, for the
2090 upstart deps
2091 - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
2092 in the postinst, this is redundant anyway and the nfs-common init script
2093 is gone now.
2094
2095 -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 04 Dec 2009 18:37:48 -0800
2096
849nfs-utils (1:1.2.0-4) unstable; urgency=low2097nfs-utils (1:1.2.0-4) unstable; urgency=low
8502098
851 * Removing myself from uploaders.2099 * Removing myself from uploaders.
@@ -860,6 +2108,94 @@ nfs-utils (1:1.2.0-3) unstable; urgency=low
8602108
861 -- Steinar H. Gunderson <sesse@debian.org> Sun, 09 Aug 2009 12:47:00 +02002109 -- Steinar H. Gunderson <sesse@debian.org> Sun, 09 Aug 2009 12:47:00 +0200
8622110
2111nfs-utils (1:1.2.0-2ubuntu9) lucid; urgency=low
2112
2113 * debian/nfs-common.statd.upstart: check for a started portmap in a
2114 non-racy manner. LP: #484209.
2115
2116 -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 17 Nov 2009 11:27:37 -0600
2117
2118nfs-utils (1:1.2.0-2ubuntu8) karmic; urgency=low
2119
2120 * debian/control: add missing ${misc:Depends} for nfs-common, else we don't
2121 get the dependency on upstart that we should have. LP: #456281.
2122
2123 -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 20 Oct 2009 13:10:01 +0000
2124
2125nfs-utils (1:1.2.0-2ubuntu7) karmic; urgency=low
2126
2127 * debian/rules: now that the jobs will exit cleanly on their own when
2128 'start' is called but the job is a no-op, remove the --error-handler
2129 option to dh_installinit so that we don't accidentally ignore other
2130 kinds of errors that could point to real problems.
2131
2132 -- Steve Langasek <steve.langasek@ubuntu.com> Sun, 11 Oct 2009 08:51:39 +0000
2133
2134nfs-utils (1:1.2.0-2ubuntu6) karmic; urgency=low
2135
2136 * Drop the gssd upstart job's dependency on "local-filesystems"; at boot
2137 time this is always implied transitively by the dep on portmap, and using
2138 a combination of 'or' and 'and' operators in the dependency list seems
2139 to confuse upstart quite badly, causing kerberized mounts to hang at boot.
2140 LP: #447654.
2141
2142 -- Steve Langasek <steve.langasek@ubuntu.com> Sat, 10 Oct 2009 20:12:11 +0000
2143
2144nfs-utils (1:1.2.0-2ubuntu5) karmic; urgency=low
2145
2146 * Set upstart jobs to also start on mount attempt, in the event that
2147 mountall gets to them before the daemons are done starting. Really-fixes
2148 LP: #431248.
2149 * Call 'stop' in the pre-start scripts for all jobs when we want to prevent
2150 the job from starting; this lets upstart know that it's a clean stop,
2151 and avoids boot-time messages about service start failures
2152
2153 -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 09 Oct 2009 19:17:34 +0000
2154
2155nfs-utils (1:1.2.0-2ubuntu4) karmic; urgency=low
2156
2157 * Mounting rpc_pipefs also requires the sunrpc module, so move this
2158 modprobe to the right upstart job.
2159
2160 -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 05 Oct 2009 22:04:28 -0700
2161
2162nfs-utils (1:1.2.0-2ubuntu3) karmic; urgency=low
2163
2164 * nfs-kernel-server: don't call invoke-rc.d nfs-common in the postinst,
2165 this is redundant anyway and the nfs-common init script is gone now.
2166 LP: #441855.
2167
2168 -- Steve Langasek <steve.langasek@ubuntu.com> Sat, 03 Oct 2009 23:07:09 -0700
2169
2170nfs-utils (1:1.2.0-2ubuntu2) karmic; urgency=low
2171
2172 * Configure gssd and idmapd upstart jobs to stop on runlevels 0 and 6; this
2173 is consistent with previous initscript-based behavior, and spares upstart
2174 trying to restart the jobs repeatedly when sendsigs runs.
2175 * When autodetecting gssd, handle the case of 'sec=krb5' being embedded in
2176 the middle of the options list in /etc/fstab. LP: #364861.
2177 * Fix transition idempotency error when stopping old nfs-common init
2178 script, in case the postinst fails to finish afterwards (e.g., failure to
2179 restart the daemons).
2180 * Fix statd upstart job to properly honor NEED_STATD=no and not get stuck
2181 respawning indefinitely.
2182 * Ignore failures to start the daemons on upgrade, since if they aren't
2183 needed we don't *want* them to start. LP: #441055.
2184 * Fix up the rpc_pipefs job, the wrong version of the file slipped into
2185 the previous upload.
2186
2187 -- Steve Langasek <steve.langasek@ubuntu.com> Sat, 03 Oct 2009 01:52:21 +0000
2188
2189nfs-utils (1:1.2.0-2ubuntu1) karmic; urgency=low
2190
2191 * Drop nfs-common init script in favor of new upstart jobs. LP: #431248.
2192 * Build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart init
2193 handling.
2194 * Depend the upstart-using version of portmap, 6.0-10ubuntu1; and drop the
2195 alternative depends on rpcbind, which hasn't been converted.
2196
2197 -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 02 Oct 2009 19:23:19 +0000
2198
863nfs-utils (1:1.2.0-2) unstable; urgency=low2199nfs-utils (1:1.2.0-2) unstable; urgency=low
8642200
865 * Merge from Ubuntu2201 * Merge from Ubuntu
@@ -2770,3 +4106,4 @@ nfs-utils (0.1.3-1) unstable; urgency=low
2770 * Start following CVS tree at SourceForge.4106 * Start following CVS tree at SourceForge.
27714107
2772 -- Chip Salzenberg <chip@valinux.com> Fri, 3 Dec 1999 20:00:00 -08004108 -- Chip Salzenberg <chip@valinux.com> Fri, 3 Dec 1999 20:00:00 -0800
4109
diff --git a/debian/control b/debian/control
index 5d9d5ed..e268002 100644
--- a/debian/control
+++ b/debian/control
@@ -1,9 +1,10 @@
1Source: nfs-utils1Source: nfs-utils
2Priority: optional2Priority: optional
3Section: net3Section: net
4Maintainer: Debian kernel team <debian-kernel@lists.debian.org>4Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
5XSBC-Original-Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
5Uploaders: Anibal Monsalve Salazar <anibal@debian.org>, Ben Hutchings <benh@debian.org>, Steve Langasek <vorlon@debian.org>, Salvatore Bonaccorso <carnil@debian.org>6Uploaders: Anibal Monsalve Salazar <anibal@debian.org>, Ben Hutchings <benh@debian.org>, Steve Langasek <vorlon@debian.org>, Salvatore Bonaccorso <carnil@debian.org>
6Build-Depends: debhelper-compat (= 13), libwrap0-dev, libevent-dev, libkrb5-dev, libblkid-dev, libkeyutils-dev, pkg-config, libldap2-dev, libcap-dev, libtirpc-dev, libdevmapper-dev, libmount-dev, libsqlite3-dev7Build-Depends: debhelper-compat (= 13), libwrap0-dev, libevent-dev, libkrb5-dev, libblkid-dev, libkeyutils-dev, pkg-config, libldap2-dev, libcap-dev, libtirpc-dev, libdevmapper-dev, libmount-dev, libsqlite3-dev, dh-apport
7Standards-Version: 4.6.28Standards-Version: 4.6.2
8Homepage: https://linux-nfs.org/9Homepage: https://linux-nfs.org/
9Vcs-Git: https://salsa.debian.org/kernel-team/nfs-utils.git10Vcs-Git: https://salsa.debian.org/kernel-team/nfs-utils.git
@@ -60,10 +61,20 @@ Architecture: any
60Multi-Arch: same61Multi-Arch: same
61Pre-Depends: ${misc:Pre-Depends}62Pre-Depends: ${misc:Pre-Depends}
62Depends: ${shlibs:Depends}, ${misc:Depends}63Depends: ${shlibs:Depends}, ${misc:Depends}
63Conflicts: libnfsidmap2, libnfsidmap-regex64Conflicts: libnfsidmap2
64Provides: libnfsidmap2, libnfsidmap-regex65Breaks: libnfsidmap2 (<< 0.25-7~)
65Breaks: libnfsidmap2 (<< 0.25-7~), libnfsidmap-regex66Replaces: libnfsidmap2 (<< 0.25-7~)
66Replaces: libnfsidmap2 (<< 0.25-7~), libnfsidmap-regex
67Description: NFS idmapping library67Description: NFS idmapping library
68 libnfsidmap provides functions to map between NFSv4 names (which are68 libnfsidmap provides functions to map between NFSv4 names (which are
69 of the form user@domain) and local uid's and gid's.69 of the form user@domain) and local uid's and gid's.
70
71Package: libnfsidmap-regex
72Section: libs
73Architecture: any
74Multi-Arch: same
75Pre-Depends: ${misc:Pre-Depends}
76Depends: ${shlibs:Depends}, ${misc:Depends}
77Description: Plugin to map NFSv4 names to and from ids via regex
78 The regex plugin parses NFSv4 user and groups names using regex to extract the
79 local user or group. NFSv4 names are created by adding constant strings before
80 and after the local user and group names.
diff --git a/debian/libnfsidmap-regex.install b/debian/libnfsidmap-regex.install
70new file mode 10064481new file mode 100644
index 0000000..555f60b
--- /dev/null
+++ b/debian/libnfsidmap-regex.install
@@ -0,0 +1 @@
1usr/lib/*/libnfsidmap/regex.so
diff --git a/debian/libnfsidmap1.docs b/debian/libnfsidmap1.docs
0new file mode 1006442new file mode 100644
index 0000000..747afb7
--- /dev/null
+++ b/debian/libnfsidmap1.docs
@@ -0,0 +1 @@
1debian/README.Ubuntu
diff --git a/debian/libnfsidmap1.install b/debian/libnfsidmap1.install
index 2573d9e..a64297a 100644
--- a/debian/libnfsidmap1.install
+++ b/debian/libnfsidmap1.install
@@ -1,3 +1,5 @@
1usr/lib/*/lib*.so.*1usr/lib/*/lib*.so.*
2usr/lib/*/libnfsidmap/*.so2usr/lib/*/libnfsidmap/nsswitch.so
3usr/lib/*/libnfsidmap/static.so
4usr/lib/*/libnfsidmap/umich_ldap.so
3usr/share/man/man5/idmapd.conf.55usr/share/man/man5/idmapd.conf.5
diff --git a/debian/nfs-common.docs b/debian/nfs-common.docs
4new file mode 1006446new file mode 100644
index 0000000..747afb7
--- /dev/null
+++ b/debian/nfs-common.docs
@@ -0,0 +1 @@
1debian/README.Ubuntu
diff --git a/debian/not-installed b/debian/not-installed
0new file mode 1006442new file mode 100644
index 0000000..d970955
--- /dev/null
+++ b/debian/not-installed
@@ -0,0 +1,3 @@
1usr/lib/*/libnfsidmap/*.a
2usr/lib/*/libnfsidmap/*.la
3usr/lib/*/libnfsidmap.la
diff --git a/debian/patches/always-run-generator.patch b/debian/patches/always-run-generator.patch
0new file mode 1006444new file mode 100644
index 0000000..ba420c5
--- /dev/null
+++ b/debian/patches/always-run-generator.patch
@@ -0,0 +1,23 @@
1Description: Always run the generator
2 Run the generator even if the pipefs-directory setting is the default one.
3Author: Andreas Hasenack <andreas@canonical.com>
4Bug-Ubuntu: https://bugs.launchpad.net/bugs/1971935
5Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014429
6Forwarded: https://marc.info/?l=linux-nfs&m=165754514206399&w=4
7Last-Updated: 2022-07-12
8---
9This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
10diff --git a/systemd/rpc-pipefs-generator.c b/systemd/rpc-pipefs-generator.c
11index c24db567..7c42431f 100644
12--- a/systemd/rpc-pipefs-generator.c
13+++ b/systemd/rpc-pipefs-generator.c
14@@ -139,9 +139,6 @@ int main(int argc, char *argv[])
15 s = conf_get_str("general", "pipefs-directory");
16 if (!s)
17 exit(0);
18- if (strlen(s) == strlen(RPC_PIPEFS_DEFAULT) &&
19- strcmp(s, RPC_PIPEFS_DEFAULT) == 0)
20- exit(0);
21
22 if (is_non_pipefs_mountpoint(s))
23 exit(1);
diff --git a/debian/patches/nfs-conf-manpage-missing-svcgssd-options.patch b/debian/patches/nfs-conf-manpage-missing-svcgssd-options.patch
0new file mode 10064424new file mode 100644
index 0000000..b57ad8c
--- /dev/null
+++ b/debian/patches/nfs-conf-manpage-missing-svcgssd-options.patch
@@ -0,0 +1,19 @@
1Description: add missing svcgssd long options to nfs.conf(5)
2Author: Andreas Hasenack <andreas@canonical.com>
3Forwarded: https://marc.info/?l=linux-nfs&m=165635622607689&w=4
4Last-Update: 2022-06-27
5
6--- a/systemd/nfs.conf.man
7+++ b/systemd/nfs.conf.man
8@@ -283,7 +283,10 @@
9 .TP
10 .B svcgssd
11 Recognized values:
12-.BR principal .
13+.BR principal ,
14+.BR verbosity ,
15+.BR rpc-verbosity ,
16+.BR idmap-verbosity .
17
18 See
19 .BR rpc.svcgssd (8)
diff --git a/debian/patches/series b/debian/patches/series
index 7b361be..60ba4c9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,6 +1,9 @@
101-sm-notify-in-sbin.patch101-sm-notify-in-sbin.patch
225-systemd-daemon-paths.patch225-systemd-daemon-paths.patch
3multiarch-kerberos-paths.patch3multiarch-kerberos-paths.patch
4ubuntu-idmapd-manpage-update-regex-other-package.patch
5nfs-conf-manpage-missing-svcgssd-options.patch
6always-run-generator.patch
4blkmapd-fix-coredump-in-bl_add_disk.patch7blkmapd-fix-coredump-in-bl_add_disk.patch
5Revert-configure-make-modprobe.d-directory-configura.patch8Revert-configure-make-modprobe.d-directory-configura.patch
6Revert-modprobe-protect-against-sysctl-errors.patch9Revert-modprobe-protect-against-sysctl-errors.patch
diff --git a/debian/patches/ubuntu-idmapd-manpage-update-regex-other-package.patch b/debian/patches/ubuntu-idmapd-manpage-update-regex-other-package.patch
7new file mode 10064410new file mode 100644
index 0000000..cf63722
--- /dev/null
+++ b/debian/patches/ubuntu-idmapd-manpage-update-regex-other-package.patch
@@ -0,0 +1,12 @@
1--- a/support/nfsidmap/idmapd.conf.5
2+++ b/support/nfsidmap/idmapd.conf.5
3@@ -158,6 +158,9 @@
4 .nf
5
6 .fi
7+.B NOTE:
8+In Ubuntu, the regex plugin is shipped in the libnfsidmap-regex package. If you want to use this plugin, please install that package.
9+
10 If the "regex" translation method is specified, the following
11 variables within the [REGEX] section are used to map between NFS4 names and local IDs.
12 .TP
diff --git a/debian/rules b/debian/rules
index 50bdfad..fcc473d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
7DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)7DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
88
9%:9%:
10 dh $@10 dh $@ --with apport
1111
12override_dh_auto_configure:12override_dh_auto_configure:
13 dh_auto_configure -- \13 dh_auto_configure -- \
@@ -27,6 +27,10 @@ override_dh_fixperms:
27 dh_fixperms27 dh_fixperms
28 chmod u+s debian/nfs-common/sbin/mount.nfs28 chmod u+s debian/nfs-common/sbin/mount.nfs
2929
30override_dh_install:
31 # we will let the generator produce these units, see LP: #1971935
32 dh_install -Xvar-lib-nfs-rpc_pipefs.mount -Xrpc_pipefs.target
33
30override_dh_installinit:34override_dh_installinit:
31 dh_installinit -pnfs-common -R35 dh_installinit -pnfs-common -R
32 install -m 0755 debian/nfs-kernel-server.init debian/nfs-kernel-server/etc/init.d/nfs-kernel-server36 install -m 0755 debian/nfs-kernel-server.init debian/nfs-kernel-server/etc/init.d/nfs-kernel-server
@@ -36,3 +40,6 @@ override_dh_md5sums:
3640
37override_dh_missing:41override_dh_missing:
38 dh_missing --list-missing42 dh_missing --list-missing
43
44override_dh_apport:
45 dh_apport -pnfs-common
diff --git a/debian/source.apport b/debian/source.apport
39new file mode 10064446new file mode 100644
index 0000000..6ea9c65
--- /dev/null
+++ b/debian/source.apport
@@ -0,0 +1,32 @@
1#!/usr/bin/python3
2
3'''NFS Apport Interface
4
5Copyright (C) 2022 Canonical Ltd
6Author: Andreas Hasenack <andreas@canonical.com>
7
8This program is free software; you can redistribute it and/or modify it
9under the terms of the GNU General Public License as published by the
10Free Software Foundation; either version 2 of the License, or (at your
11option) any later version. See http://www.gnu.org/copyleft/gpl.html for
12the full text of the license.
13'''
14
15from apport.hookutils import (
16 attach_file_if_exists,
17 command_output,
18 recent_syslog,
19)
20from glob import glob
21import re
22
23def add_info(report, ui):
24 file_list = ["/etc/nfs.conf","/etc/default/nfs-common", "/etc/default/nfs-kernel-server"]
25 file_list.extend(glob("/etc/nfs.conf.d/*.conf"))
26 file_list.append("/etc/exports")
27 file_list.append("/etc/request-key.d/id_resolver.conf")
28 for f in file_list:
29 attach_file_if_exists(report, f)
30 report["SyslogNFS"] = recent_syslog(re.compile("(rpc\.(nfsd|gssd|svcgssd|statd|mountd|idmapd)|blkmapd|nfsdcld|nfsidmap)\["))
31 report["NFSMounts"] = command_output(["findmnt", "-n", "-t", "nfs"])
32 report["NFSv4Mounts"] = command_output(["findmnt", "-n", "-t", "nfs4"])
diff --git a/debian/tests/control b/debian/tests/control
index dea3f82..8232531 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -2,3 +2,14 @@ Tests: local-server-client
2Depends: nfs-kernel-server2Depends: nfs-kernel-server
3# we need machine isolation as we need to modprobe stuff3# we need machine isolation as we need to modprobe stuff
4Restrictions: needs-root, isolation-machine, breaks-testbed4Restrictions: needs-root, isolation-machine, breaks-testbed
5
6Tests: kerberos-mount
7Depends: nfs-kernel-server, krb5-kdc, krb5-admin-server, krb5-user, keyutils
8Restrictions: needs-root, isolation-machine, breaks-testbed
9
10Tests: v3-mount
11Depends: nfs-kernel-server
12# this one allow stderr because when mounting nfsv3, a systemd message
13# about statd being started shows up, and I rather not supress stderr
14# in the mount command
15Restrictions: needs-root, isolation-machine, breaks-testbed, allow-stderr
diff --git a/debian/tests/kerberos-mount b/debian/tests/kerberos-mount
5new file mode 10075516new file mode 100755
index 0000000..9ea2f52
--- /dev/null
+++ b/debian/tests/kerberos-mount
@@ -0,0 +1,38 @@
1#!/bin/sh
2
3set -e
4
5. debian/tests/util
6
7cleanup() {
8 umount /mnt || :
9}
10
11trap cleanup EXIT
12
13myhostname="nfs-server.dep8"
14myrealm="DEP8"
15hello="Hello from NFS server $$"
16
17adjust_hostname "${myhostname}"
18
19create_realm ${myrealm} ${myhostname}
20
21for p in "nfs/${myhostname}" "host/${myhostname}"; do
22 create_krb_svc_principal "${p}"
23 extract_principal_key_into_keytab "${p}"
24done
25
26# or else clients have to wait 90s by default
27nfsconf --set nfsd grace-time 10
28systemctl restart nfs-server.service nfs-client.target
29
30mkdir -p /storage
31echo "${hello}" > /storage/hello.txt
32
33echo "/storage *(sec=krb5p,rw,sync,no_subtree_check)" > /etc/exports
34exportfs -rav
35
36mount "${myhostname}":/storage /mnt
37findmnt -n -t nfs4 | grep -E "/storage.*vers=4.*sec=krb5p"
38grep "${hello}" /mnt/hello.txt
diff --git a/debian/tests/util b/debian/tests/util
0new file mode 10064439new file mode 100644
index 0000000..cd8c9e2
--- /dev/null
+++ b/debian/tests/util
@@ -0,0 +1,89 @@
1#!/bin/sh
2
3die() {
4 echo "ERROR"
5 echo "$@"
6 exit 1
7}
8
9adjust_hostname() {
10 local myhostname="$1"
11
12 echo "${myhostname}" > /etc/hostname
13 hostname "${myhostname}"
14 if ! grep -qE "${myhostname}" /etc/hosts; then
15 # just so it's resolvable
16 echo "127.0.1.10 ${myhostname}" >> /etc/hosts
17 fi
18}
19
20create_realm() {
21 local realm_name="$1"
22 local kerberos_server="$2"
23
24 # start fresh
25 rm -rf /var/lib/krb5kdc/*
26 rm -rf /etc/krb5kdc/*
27 rm -f /etc/krb5.keytab
28
29 # setup some defaults
30 cat > /etc/krb5kdc/kdc.conf <<EOF
31[kdcdefaults]
32 kdc_ports = 750,88
33[realms]
34 ${realm_name} = {
35 database_name = /var/lib/krb5kdc/principal
36 admin_keytab = FILE:/etc/krb5kdc/kadm5.keytab
37 acl_file = /etc/krb5kdc/kadm5.acl
38 key_stash_file = /etc/krb5kdc/stash
39 kdc_ports = 750,88
40 max_life = 10h 0m 0s
41 max_renewable_life = 7d 0h 0m 0s
42 master_key_type = des3-hmac-sha1
43 #supported_enctypes = aes256-cts:normal aes128-cts:normal
44 default_principal_flags = +preauth
45 }
46EOF
47
48 cat > /etc/krb5.conf <<EOF
49[libdefaults]
50 default_realm = ${realm_name}
51 kdc_timesync = 1
52 ccache_type = 4
53 forwardable = true
54 proxiable = true
55 fcc-mit-ticketflags = true
56[realms]
57 ${realm_name} = {
58 kdc = ${kerberos_server}
59 admin_server = ${kerberos_server}
60 }
61EOF
62 echo "# */admin *" > /etc/krb5kdc/kadm5.acl
63
64 # create the realm
65 kdb5_util create -s -P secretpassword
66
67 # restart services
68 systemctl restart krb5-kdc.service krb5-admin-server.service
69}
70
71create_krb_principal() {
72 local principal="$1"
73 local password="$2"
74
75 kadmin.local -q "addprinc -pw ${password} ${principal}" 2>/dev/null
76}
77
78create_krb_svc_principal() {
79 local principal="$1"
80
81 kadmin.local -q "addprinc -randkey ${principal}" 2>/dev/null
82}
83
84extract_principal_key_into_keytab() {
85 local principal="$1"
86
87 kadmin.local -q "ktadd ${principal}"
88}
89
diff --git a/debian/tests/v3-mount b/debian/tests/v3-mount
0new file mode 10075590new file mode 100755
index 0000000..7eb5e6b
--- /dev/null
+++ b/debian/tests/v3-mount
@@ -0,0 +1,34 @@
1#!/bin/sh
2
3set -e
4
5cleanup() {
6 umount /mnt || :
7}
8
9hello="Hello from NFS server $$"
10mkdir -p /storage
11echo "${hello}" > /storage/hello.txt
12
13echo "/storage *(sec=sys,rw,sync,no_subtree_check)" > /etc/exports
14exportfs -rav
15
16# stop statd if it's running, because we will check later if it
17# was started automatically for the NFSv3 mount as it should
18if pidof rpc.statd > /dev/null 2>&1; then
19 systemctl stop rpc-statd.service > /dev/null 2>&1 || :
20 pidof rpc.statd > /dev/null 2>&1 && {
21 echo "couldn't kill rpc.statd before the NFSv3 test"
22 exit 1
23 }
24fi
25
26mount localhost:/storage /mnt -o vers=3
27grep "${hello}" /mnt/hello.txt
28
29pidof rpc.statd > /dev/null 2>&1 || {
30 echo "rpc.statd isn't running after the NVSv3 mount, and it should..."
31 exit 1
32}
33
34findmnt -n -t nfs | grep -E "/storage.*vers=3.*sec=sys"

Subscribers

People subscribed via source and target branches