Merge ~vpa1977/ubuntu/+source/nfs-utils:2055100 into ubuntu/+source/nfs-utils:debian/sid

Proposed by Vladimir Petko
Status: Merged
Merge reported by: Vladimir Petko
Merged at revision: 86e924b7a8f68924304db261455cfff593cd5516
Proposed branch: ~vpa1977/ubuntu/+source/nfs-utils:2055100
Merge into: ubuntu/+source/nfs-utils:debian/sid
Diff against target: 2081 lines (+1734/-8)
18 files modified
debian/README.Ubuntu (+30/-0)
debian/changelog (+1420/-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/armhf-time-t-format-error.patch (+16/-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 (+4/-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
Vladimir Petko (community) Abstain
Zixing Liu (community) Approve
git-ubuntu import Pending
Review via email: mp+461314@code.launchpad.net

Description of the change

This MR merges new Debian version.

Changes:
 - rebase existing Ubuntu delta on top of new Debian version.

PPA: ppa:vpa1977/plusone[1]

Testing:
 - autopkgtest:
    + ✅ nfs-utils on noble for amd64 @ 27.02.24 05:47:02 Log️ 🗒️
    + ✅ nfs-utils on noble for arm64 @ 27.02.24 05:50:20 Log️ 🗒️
    + ✅ nfs-utils on noble for armhf @ 27.02.24 05:39:02 Log️ 🗒️
    + ❌ nfs-utils on noble for i386 @ 27.02.24 05:51:16 Log️ 🗒️[2]
      • local-server-client FAIL 🟥
      • kerberos-mount FAIL 🟥
      • v3-mount FAIL 🟥
    + ✅ nfs-utils on noble for ppc64el @ 27.02.24 05:56:29 Log️ 🗒️
    + ✅ nfs-utils on noble for s390x @ 27.02.24 20:41:32 Log️ 🗒️[3]
    + ❌ nfs-utils on noble for s390x @ 27.02.24 19:54:47 Log️ 🗒️[4]
      • local-server-client FAIL 🟥
      • kerberos-mount FAIL 🟥
      • v3-mount PASS 🟩
i386 package is not installable.
S390x tests fail with all-proposed enabled.
  - piuparts test [5]

[1] https://launchpad.net/~vpa1977/+archive/ubuntu/plusone/+packages
[2] https://autopkgtest.ubuntu.com/results/autopkgtest-noble-vpa1977-plusone/noble/i386/n/nfs-utils/20240227_055116_f31a5@/log.gz
[3] https://autopkgtest.ubuntu.com/results/autopkgtest-noble-vpa1977-plusone/noble/s390x/n/nfs-utils/20240227_204132_2cd96@/log.gz
[4] https://autopkgtest.ubuntu.com/results/autopkgtest-noble-vpa1977-plusone/noble/s390x/n/nfs-utils/20240227_195447_56314@/log.gz
[5] https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/2055100/comments/1

To post a comment you must log in.
Revision history for this message
Vladimir Petko (vpa1977) wrote :

Investigating which dependency causes the test failure running kerberos-mount test in proposed.

$ sudo mount -vvvv nfs-server.dep8:/storage /mnt
mount.nfs: timeout set for Wed Feb 28 04:34:09 2024
mount.nfs: trying text-based options 'nolock,vers=4.2,addr=127.0.1.10,clientaddr=127.0.0.1'
mount.nfs: mount(2): Input/output error
mount.nfs: mount system call failed for /mnt

Revision history for this message
Zixing Liu (liushuyu-011) wrote :

Generally looks good to me with some notes.

Revision history for this message
Vladimir Petko (vpa1977) wrote :

Thank you!!!

Revision history for this message
Zixing Liu (liushuyu-011) :
review: Approve
Revision history for this message
Zixing Liu (liushuyu-011) wrote :

For the record, the LP bug numbers are not in the expected format due to those bugs are already closed/fixed.
This is to avoid causing further noise.

64e7128... by Vladimir Petko

  * d/p/armhf-time-t-format-error.patch: resolve armhf ftbfs due to
    time_t transition (LP: 2055349).

9c04033... by Vladimir Petko

changelog

Revision history for this message
Vladimir Petko (vpa1977) wrote :

Needs to fix ftbfs on armhf due to time_t transition.

review: Needs Fixing
Revision history for this message
Vladimir Petko (vpa1977) wrote (last edit ):

Did a ppa rebuild that is stalled currently[1]

Validated that package builds in a local armhf container:
--
$dpkg-buildpackage -b
...
dpkg-source: info: unapplying fsidd-call-anonymous-sockets-by-their-name-only-don-.patch
dpkg-source: info: unapplying always-run-generator.patch
dpkg-source: info: unapplying multiarch-kerberos-paths.patch
dpkg-buildpackage: info: binary-only upload (no source included)
--

[1] https://launchpad.net/~vpa1977/+archive/ubuntu/plusone/+sourcepub/15826263/+listing-archive-extra

Revision history for this message
Vladimir Petko (vpa1977) :
review: Abstain
86e924b... by Steve Langasek

1:2.6.4-3ubuntu3 (patches unapplied)

Imported using git-ubuntu import.

Revision history for this message
Vladimir Petko (vpa1977) wrote :

Marked MR merged manually due to no-change-rebuild upload

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/README.Ubuntu b/debian/README.Ubuntu
2new file mode 100644
3index 0000000..bf80042
4--- /dev/null
5+++ b/debian/README.Ubuntu
6@@ -0,0 +1,30 @@
7+# New configuration file
8+
9+nfs-common and nfs-kernel-server use a common configuration file /etc/nfs.conf.
10+They also support a /etc/nfs.conf.d/*.conf structure.
11+
12+If there are local modifications to either /etc/default/nfs-common or
13+/etc/default/nfs-kernel-server as installed by previous versions of the
14+corresponding Debian packages, nfs-common will attempt a migration to the new
15+configuration file. This migration is done by calling the
16+/usr/share/nfs-common/nfsconvert.py script in postinst.
17+
18+Upon success, the script will produce /etc/nfs.conf.d/local.conf with the local
19+customizations specified in those older config files, while /etc/nfs.conf will
20+remain with the default settings.
21+
22+If the migration fails for some reason, the package installation will fail and
23+manual intervention will be required. This will probably involve temporarily
24+removing the offending configuration option that was not handled by the
25+migration script and configuring the package again. Please consult nfs.conf(5)
26+and each daemon's manpage to determine how to translate the command line
27+options previously defined in /etc/default/nfs-* to the new configuration file
28+format.
29+
30+# Services
31+
32+All NFS related services are enabled by default. This means that depending on
33+the NFS version that you intend to use, some services might be superfluous.
34+For example, if you never intend to serve NFSv3, then you can safely disable
35+the rpc-statd.service unit. Note that some NFSv4 service units will start only
36+if Kerberos is setup.
37diff --git a/debian/changelog b/debian/changelog
38index f9379b1..1c51987 100644
39--- a/debian/changelog
40+++ b/debian/changelog
41@@ -1,3 +1,49 @@
42+nfs-utils (1:2.6.4-3ubuntu3) noble; urgency=medium
43+
44+ * No-change rebuild against libtirpc3t64
45+
46+ -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 29 Feb 2024 09:30:58 +0000
47+
48+nfs-utils (1:2.6.4-3ubuntu2) noble; urgency=medium
49+
50+ * d/p/armhf-time-t-format-error.patch: resolve armhf ftbfs due to
51+ time_t transition (LP: #2055349).
52+
53+ -- Vladimir Petko <vladimir.petko@canonical.com> Thu, 29 Feb 2024 10:52:10 +1300
54+
55+nfs-utils (1:2.6.4-3ubuntu1) noble; urgency=medium
56+
57+ * Merge with Debian unstable (LP: #2055100). Remaining changes:
58+ - d/control: don't provide libnfsidmap2 in libnfsidmap1. This
59+ package contains not only plugins, but an actual shared library,
60+ with a different soname.
61+ - Update README file:
62+ + d/README.Ubuntu: new /etc/nfs.conf config structure
63+ + d/libnfsidmap1.docs, d/nfs-common.docs: install README.Ubuntu
64+ - New apport hook (LP 1961058):
65+ + d/source.apport: apport hook for nfs-utils
66+ + d/control: build-depend dh-apport
67+ + d/rules: build with apport, and install the hook in the
68+ nfs-common package which is installed on both client and servers
69+ - Add more DEP8 tests (LP 1960828):
70+ + d/t/{control,kerberos-mount,util}: test NFSv4 krb5p mounts
71+ + d/t/{control, v3-mount}: specific NFSv3 mount test
72+ - Move the regex module to a separate binary package libnfsidmap-regex
73+ (LP 1974067):
74+ + d/control: new package, adjust breaks/conflicts
75+ + d/libnfsidmap-regex.install: install the plugin file
76+ + d/libnfsidmap1.install: don't install regex.so
77+ [missed in previous d/changelog]
78+ + d/p/ubuntu-idmapd-manpage-update-regex-other-package.patch:
79+ note that the regex plugin is in another package
80+ - rpc.svcgssd fixes and improvements (LP 1977745):
81+ + d/p/nfs-conf-manpage-missing-svcgssd-options.patch: also
82+ document the missing svcgssd options to the nfs.conf(5) manpage
83+ - d/not-installed: mark files we knowingly don't include in the
84+ packaging
85+
86+ -- Vladimir Petko <vladimir.petko@canonical.com> Tue, 27 Feb 2024 14:48:29 +1300
87+
88 nfs-utils (1:2.6.4-3) unstable; urgency=medium
89
90 [ Salvatore Bonaccorso ]
91@@ -54,6 +100,44 @@ nfs-utils (1:2.6.3-4~exp1) experimental; urgency=medium
92
93 -- Salvatore Bonaccorso <carnil@debian.org> Mon, 20 Nov 2023 22:13:01 +0100
94
95+nfs-utils (1:2.6.3-3ubuntu1) mantic; urgency=medium
96+
97+ * Merge with Debian unstable (LP: #2030474). Remaining changes:
98+ - d/control: don't provide libnfsidmap2 in libnfsidmap1. This
99+ package contains not only plugins, but an actual shared library,
100+ with a different soname.
101+ - Update README file:
102+ + d/README.Ubuntu: new /etc/nfs.conf config structure
103+ + d/libnfsidmap1.docs, d/nfs-common.docs: install README.Ubuntu
104+ - New apport hook (LP #1961058):
105+ + d/source.apport: apport hook for nfs-utils
106+ + d/control: build-depend dh-apport
107+ + d/rules: build with apport, and install the hook in the
108+ nfs-common package which is installed on both client and servers
109+ - Add more DEP8 tests (LP #1960828):
110+ + d/t/{control,kerberos-mount,util}: test NFSv4 krb5p mounts
111+ + d/t/{control, v3-mount}: specific NFSv3 mount test
112+ - Move the regex module to a separate binary package libnfsidmap-regex
113+ (LP #1974067):
114+ + d/control: new package, adjust breaks/conflicts
115+ + d/libnfsidmap-regex.install: install the plugin file
116+ + d/libnfsidmap1.install: don't install regex.so
117+ + d/p/ubuntu-idmapd-manpage-update-regex-other-package.patch:
118+ note that the regex plugin is in another package
119+ - rpc.svcgssd fixes and improvements (LP #1977745):
120+ + d/p/nfs-conf-manpage-missing-svcgssd-options.patch: also
121+ document the missing svcgssd options to the nfs.conf(5) manpage
122+ - d/not-installed: mark files we knowingly don't include in the
123+ packaging
124+ * Dropped changes:
125+ - Rely on the generator units for the rpc_pipefs mount (LP #1971935):
126+ + d/p/always-run-generator.patch: run the generator even if the
127+ config differs from the built-in default
128+ + d/rules: exclude the units we will let the generator produce
129+ [Fixed in 1:2.6.3-1]
130+
131+ -- Vladimir Petko <vladimir.petko@canonical.com> Tue, 08 Aug 2023 09:54:52 +1200
132+
133 nfs-utils (1:2.6.3-3) unstable; urgency=medium
134
135 * nfs-idmapd.service: add network-online.target to Wants= and After=
136@@ -115,6 +199,50 @@ nfs-utils (1:2.6.3-1~exp1) experimental; urgency=medium
137
138 -- Salvatore Bonaccorso <carnil@debian.org> Sun, 23 Apr 2023 18:08:07 +0200
139
140+nfs-utils (1:2.6.2-4ubuntu1) lunar; urgency=medium
141+
142+ * Merge with Debian unstable. Remaining changes:
143+ - d/control: don't provide libnfsidmap2 in libnfsidmap1. This
144+ package contains not only plugins, but an actual shared library,
145+ with a different soname.
146+ - Update README file:
147+ + d/README.Ubuntu: new /etc/nfs.conf config structure
148+ + d/libnfsidmap1.docs, d/nfs-common.docs: install README.Ubuntu
149+ - New apport hook (LP #1961058):
150+ + d/source.apport: apport hook for nfs-utils
151+ + d/control: build-depend dh-apport
152+ + d/rules: build with apport, and install the hook in the
153+ nfs-common package which is installed on both client and servers
154+ - Add more DEP8 tests (LP #1960828):
155+ + d/t/{control,kerberos-mount,util}: test NFSv4 krb5p mounts
156+ + d/t/{control, v3-mount}: specific NFSv3 mount test
157+ - Move the regex module to a separate binary package libnfsidmap-regex
158+ (LP #1974067):
159+ + d/control: new package, adjust breaks/conflicts
160+ + d/libnfsidmap-regex.install: install the plugin file
161+ + d/libnfsidmap1.install: don't install regex.so
162+ [missed in previous d/changelog]
163+ + d/p/ubuntu-idmapd-manpage-update-regex-other-package.patch:
164+ note that the regex plugin is in another package
165+ - rpc.svcgssd fixes and improvements (LP #1977745):
166+ + d/p/nfs-conf-manpage-missing-svcgssd-options.patch: also
167+ document the missing svcgssd options to the nfs.conf(5) manpage
168+ - Rely on the generator units for the rpc_pipefs mount
169+ (LP #1971935):
170+ + d/p/always-run-generator.patch: run the generator even if the
171+ config differs from the built-in default
172+ + d/rules: exclude the units we will let the generator produce
173+ [Missed in previous d/changelog]
174+ - d/not-installed: mark files we knowingly don't include in the
175+ packaging
176+ [Missed in previous d/changelog]
177+ * Dropped:
178+ - d/rules: re-add hardening option lost from the src:libnfsidmap to
179+ src:nfs-utils transition (LP: #1980095)
180+ [In 1:2.6.2-1~exp1]
181+
182+ -- Andreas Hasenack <andreas@canonical.com> Sun, 19 Feb 2023 14:49:53 -0300
183+
184 nfs-utils (1:2.6.2-4) unstable; urgency=medium
185
186 [ Guillem Jover ]
187@@ -142,6 +270,39 @@ nfs-utils (1:2.6.2-3) unstable; urgency=medium
188
189 -- Salvatore Bonaccorso <carnil@debian.org> Tue, 06 Dec 2022 16:38:32 +0100
190
191+nfs-utils (1:2.6.2-2ubuntu1) lunar; urgency=low
192+
193+ * Merge from Debian unstable. Remaining changes:
194+ - d/control: don't provide libnfsidmap2 in libnfsidmap1. This
195+ package contains not only plugins, but an actual shared library,
196+ with a different soname.
197+ - Update README file:
198+ + d/README.Ubuntu: new /etc/nfs.conf config structure
199+ + d/libnfsidmap1.docs, d/nfs-common.docs: install README.Ubuntu
200+ - New apport hook (LP #1961058):
201+ + d/source.apport: apport hook for nfs-utils
202+ + d/control: build-depend dh-apport
203+ + d/rules: build with apport, and install the hook in the
204+ nfs-common package which is installed on both client and servers
205+ - Add more DEP8 tests (LP #1960828):
206+ + d/t/{control,kerberos-mount,util}: test NFSv4 krb5p mounts
207+ + d/t/{control, v3-moun}t: specific NFSv3 mount test
208+ - Move the regex module to a separate binary package libnfsidmap-regex
209+ (LP: #1974067):
210+ + d/control: new package
211+ + d/libnfsidmap-regex.install: install the plugin file
212+ + d/not-installed: remove the plugin from the not-installed list
213+ + d/p/remove-regex-from-docs.patch: deleted
214+ + d/p/ubuntu-idmapd-manpage-update-regex-other-package.patch:
215+ note that the regex plugin is in another package
216+ - rpc.svcgssd fixes and improvements (LP: #1977745):
217+ + d/p/nfs-conf-manpage-missing-svcgssd-options.patch: also
218+ document the missing svcgssd options to the nfs.conf(5) manpage
219+ - d/README.Ubuntu: updated with the content of the previous d/NEWS
220+ file
221+
222+ -- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Fri, 25 Nov 2022 10:40:08 +0100
223+
224 nfs-utils (1:2.6.2-2) unstable; urgency=medium
225
226 [ Debian Janitor ]
227@@ -177,6 +338,96 @@ nfs-utils (1:2.6.2-1~exp1) experimental; urgency=medium
228
229 -- Salvatore Bonaccorso <carnil@debian.org> Sun, 21 Aug 2022 22:41:04 +0200
230
231+nfs-utils (1:2.6.1-2ubuntu5) lunar; urgency=medium
232+
233+ * d/p/blkmapd-fix-invalid-free.patch: fix blkmapd crash due to invalid
234+ free() (LP: #1979885)
235+
236+ -- Andreas Hasenack <andreas@canonical.com> Fri, 28 Oct 2022 08:26:52 -0300
237+
238+nfs-utils (1:2.6.1-2ubuntu4) kinetic; urgency=medium
239+
240+ * No-change rebuild against libevent-core-2.1-7a
241+
242+ -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 07 Oct 2022 21:23:03 +0000
243+
244+nfs-utils (1:2.6.1-2ubuntu3) kinetic; urgency=medium
245+
246+ * d/p/fix-format-overflow-warning.patch: fix a format-overflow warning
247+ from gcc which was failing the build
248+
249+ -- Andreas Hasenack <andreas@canonical.com> Thu, 28 Jul 2022 20:39:54 +0000
250+
251+nfs-utils (1:2.6.1-2ubuntu2) kinetic; urgency=medium
252+
253+ * Rely on the generator units for the rpc_pipefs mount
254+ (LP: #1971935):
255+ - d/p/always-run-generator.patch: run the generator even if the
256+ config differs from the built-in default
257+ - d/rules: exclude the units we will let the generator produce
258+
259+ -- Andreas Hasenack <andreas@canonical.com> Thu, 07 Jul 2022 21:08:11 +0000
260+
261+nfs-utils (1:2.6.1-2ubuntu1) kinetic; urgency=medium
262+
263+ * Merge with Debian unstable (LP: #1974233). Remaining changes:
264+ - d/control: don't provide libnfsidmap2 in libnfsidmap1. This
265+ package contains not only plugins, but an actual shared library,
266+ with a different soname.
267+ - Don't install the regex module, as it's built by
268+ src:libnfsidmap-regex which is in Universe (MIR: #1960824)
269+ + d/control: don't conflict/break/etc with libnfsidmap-regex
270+ + d/libnfsidmap1.install: don't install regex.so
271+ + d/not-installed: mark files we knowingly don't include in the
272+ packaging
273+ + d/p/remove-regex-from-docs.patch: remove the regex section from
274+ the idmapd.conf(5) manpage, as we are not building that plugin in
275+ this package
276+ - Update README file:
277+ + d/README.Ubuntu: new /etc/nfs.conf config structure
278+ + d/libnfsidmap1.docs, d/nfs-common.docs: install README.Ubuntu
279+ - d/nfs-common.postrm: also purge /etc/nfs.conf.d/local.conf
280+ - d/nfs-common.dirs: we also own /etc/nfs.conf.d
281+ - New apport hook (LP #1961058):
282+ + d/source.apport: apport hook for nfs-utils
283+ + d/control: build-depend dh-apport
284+ + d/rules: build with apport, and install the hook in the
285+ nfs-common package which is installed on both client and servers
286+ - Add more DEP8 tests (LP #1960828):
287+ + d/t/{control,kerberos-mount,util}: test NFSv4 krb5p mounts
288+ + d/t/{control, v3-moun}t: specific NFSv3 mount test
289+ * Dropped:
290+ - d/nfsconvert.py: add short "u" option for mountd's no-udp
291+ [Included in 1:2.6.1-2]
292+ - d/NEWS: explain some of the major changes in 2.6.x
293+ [Obsoleted by Debian's update to the per-package NEWS files]
294+ - d/nfs-*.bug-script: update to also include /etc/nfs.conf and
295+ /etc/nfs.conf.d/*.conf
296+ [Included in 1:2.6.1-2]
297+ * Added changes:
298+ - New binary package libnfsidmap-regex (LP: #1974067):
299+ + d/control: new package
300+ + d/libnfsidmap-regex.install: install the plugin file
301+ + d/not-installed: remove the plugin from the not-installed list
302+ + d/p/remove-regex-from-docs.patch: deleted
303+ + d/p/ubuntu-idmapd-manpage-update-regex-other-package.patch:
304+ note that the regex plugin is in another package
305+ - rpc.svcgssd fixes and improvements (LP: #1977745):
306+ + d/p/svcgssd-fix-use-after-free.patch: fix use-after-free which was
307+ preventing svcgssd options set in /etc/nfs.conf from being used
308+ + d/p/svcgssd-display-principal-if-set.patch: improve logging,
309+ showing the expected principal name if it was set in the config
310+ + d/p/svcgssd-document-missing-options.patch: add missing options to
311+ the svcgssd manpage
312+ + d/p/nfs-conf-manpage-missing-svcgssd-options.patch: also
313+ document the missing svcgssd options to the nfs.conf(5) manpage
314+ - d/README.Ubuntu: updated with the content of the previous d/NEWS
315+ file
316+ - d/rules: re-add hardening option lost from the src:libnfsidmap to
317+ src:nfs-utils transition (LP: #1980095)
318+
319+ -- Andreas Hasenack <andreas@canonical.com> Tue, 28 Jun 2022 10:59:36 -0300
320+
321 nfs-utils (1:2.6.1-2) unstable; urgency=medium
322
323 [ Andreas Hasenack ]
324@@ -203,6 +454,51 @@ nfs-utils (1:2.6.1-2) unstable; urgency=medium
325
326 -- Salvatore Bonaccorso <carnil@debian.org> Tue, 12 Apr 2022 12:20:44 +0200
327
328+nfs-utils (1:2.6.1-1ubuntu1) jammy; urgency=medium
329+
330+ * Merge with Debian unstable (LP: #1960829). Remaining changes:
331+ - d/control: don't provide libnfsidmap2 in libnfsidmap1. This
332+ package contains not only plugins, but an actual shared library,
333+ with a different soname.
334+ - d/NEWS: explain some of the major changes in 2.6.x
335+ - Don't install the regex module, as it's built by
336+ src:libnfsidmap-regex which is in Universe (MIR: #1960824)
337+ + d/control: don't conflict/break/etc with libnfsidmap-regex
338+ + d/libnfsidmap1.install: don't install regex.so
339+ + d/not-installed: mark files we knowingly don't include in the
340+ packaging
341+ + d/p/remove-regex-from-docs.patch: remove the regex section from
342+ the idmapd.conf(5) manpage, as we are not building that plugin in
343+ this package
344+ - Update README files:
345+ + d/README.Ubuntu: explains some of the packaging decisions
346+ + d/README.Debian.nfsv4: removed as the content is out of date
347+ + d/nfs-common.docs: install README.Ubuntu instead of
348+ README.Debian.nfsv4
349+ + d/libnfsidmap1.docs: install README.Ubuntu
350+ * Dropped:
351+ - d/nfs-common.postinst: always start nfs-utils.service, so the restart in
352+ the #DEBHELPER# section can do its job if needed
353+ [Fixed with the upstream re-arrangement of systemd units]
354+ * Added:
355+ - d/nfsconvert.py: add short "u" option for mountd's no-udp
356+ - d/NEWS: update
357+ - d/nfs-common.postrm: also purge /etc/nfs.conf.d/local.conf
358+ - d/nfs-common.dirs: we also own /etc/nfs.conf.d
359+ - d/README.Ubuntu: update
360+ - d/nfs-*.bug-script: update to also include /etc/nfs.conf and
361+ /etc/nfs.conf.d/*.conf
362+ - New apport hook (LP: #1961058):
363+ + d/source.apport: apport hook for nfs-utils
364+ + d/control: build-depend dh-apport
365+ + d/rules: build with apport, and install the hook in the
366+ nfs-common package which is installed on both client and servers
367+ - Add more DEP8 tests (LP: #1960828):
368+ + d/t/{control,kerberos-mount,util}: test NFSv4 krb5p mounts
369+ + d/t/{control, v3-moun}t: specific NFSv3 mount test
370+
371+ -- Andreas Hasenack <andreas@canonical.com> Fri, 04 Mar 2022 17:44:10 -0300
372+
373 nfs-utils (1:2.6.1-1) unstable; urgency=medium
374
375 [ Ben Hutchings ]
376@@ -225,6 +521,65 @@ nfs-utils (1:2.6.1-1) unstable; urgency=medium
377
378 -- Ben Hutchings <benh@debian.org> Thu, 24 Feb 2022 14:54:49 +0100
379
380+nfs-utils (1:2.6.1-1~exp1ubuntu1) jammy; urgency=medium
381+
382+ * Merge with Debian experimental (LP: #1878601, #1812280). Remaining
383+ changes:
384+ - d/nfs-common.postinst: always start nfs-utils.service, so the restart in
385+ the #DEBHELPER# section can do its job if needed
386+ * Dropped:
387+ - Add remove-gssproxy.patch: Drop gssproxy as it does not exist in Ubuntu
388+ [Ubuntu has it, but not in main]
389+ - debian/nfs-common.default: remove NEED_STATD and related comment.
390+ [/etc/default/nfs-* files are no longer used]
391+ - debian/nfs-common.default: always start idmapd automatically; drop the
392+ configuration option.
393+ [/etc/default/nfs-* files are no longer used]
394+ - Add 90-gss-free-lucid-sec-context.patch: adjust for changes to the ctx
395+ argument of the serialize_krb5_ctx() function.
396+ [Was only needed when libgssglue-dev was used for build, which it
397+ isn't since nfs-utils 1:1.2.8-7]
398+ - Fixing nfs-mountd dependency on rpcbind (race condition) by adding
399+ "rpcbind.socket" to "nfs-mountd.service" as a dependency to avoid race
400+ conditions:
401+ - Add systemd-Fix-nfs-mountd-dependency-on-rpcbind.patch
402+ [Fixed upstream]
403+ - truncate_gid*.patch: Backports from upstream to prevent truncating UIDs
404+ and GIDs over 65536 on certain architectures
405+ [Fixed upstream]
406+ - d/p/fix-start-ordering-1.patch, d/p/fix-start-ordering-2.patch, d/p/fix-
407+ start-ordering-3.patch, d/nfs-kernel-server.install: Fix systemd service
408+ start ordering
409+ [Fixed upstream. Patch 3 we don't need anymore because now the pkg
410+ is built with --with-systemd]
411+ - Depend on network-online.target when starting services.
412+ - d/p/lp1918141-use-network-online-target-01.patch: Declare a
413+ Wants=network-online.target on all NFS server services.
414+ - d/p/lp1918141-use-network-online-target-02.patch: Declare a
415+ After=network-online.target on all NFS server services. Thanks to
416+ Niklas Edmundsson for helping with the reproducer.
417+ [Fixed upstream]
418+ * Added:
419+ - d/control: don't provide libnfsidmap2 in libnfsidmap1
420+ - d/NEWS: explain some of the major changes in 2.6.x
421+ - Don't install the regex module, as it's built by
422+ src:libnfsidmap-regex which is in Universe (MIR: #1960824)
423+ + d/control: don't conflict/break/etc with libnfsidmap-regex
424+ + d/libnfsidmap1.install: don't install regex.so
425+ + d/not-installed: mark files we knowingly don't include in the
426+ packaging
427+ + d/p/remove-regex-from-docs.patch: remove the regex section from
428+ the idmapd.conf(5) manpage, as we are not building that plugin in
429+ this package
430+ - Update README files:
431+ + d/README.Ubuntu: explains some of the packaging decisions
432+ + d/README.Debian.nfsv4: removed as the content is out of date
433+ + d/nfs-common.docs: install README.Ubuntu instead of
434+ README.Debian.nfsv4
435+ + d/libnfsidmap1.docs: install README.Ubuntu
436+
437+ -- Andreas Hasenack <andreas@canonical.com> Wed, 16 Feb 2022 20:20:26 +0000
438+
439 nfs-utils (1:2.6.1-1~exp1) experimental; urgency=medium
440
441 [ Romain Perier ]
442@@ -346,6 +701,50 @@ nfs-utils (1:2.5.4-1~exp1) experimental; urgency=medium
443
444 -- Anibal Monsalve Salazar <anibal@debian.org> Sun, 05 Sep 2021 23:50:09 +1000
445
446+nfs-utils (1:1.3.4-6ubuntu1) impish; urgency=medium
447+
448+ * Merge from Debian unstable (LP: #1929406). Remaining changes:
449+ - debian/nfs-common.default: always start idmapd automatically; drop the
450+ configuration option.
451+ - debian/nfs-common.default: remove NEED_STATD and related comment.
452+ - Add 90-gss-free-lucid-sec-context.patch: adjust for changes to the ctx
453+ argument of the serialize_krb5_ctx() function.
454+ - Add remove-gssproxy.patch: Drop gssproxy as it does not exist in Ubuntu
455+ - Fixing nfs-mountd dependency on rpcbind (race condition) by adding
456+ "rpcbind.socket" to "nfs-mountd.service" as a dependency to avoid race
457+ conditions:
458+ - Add systemd-Fix-nfs-mountd-dependency-on-rpcbind.patch
459+ - truncate_gid*.patch: Backports from upstream to prevent truncating UIDs
460+ and GIDs over 65536 on certain architectures
461+ - d/p/fix-start-ordering-1.patch, d/p/fix-start-ordering-2.patch, d/p/fix-
462+ start-ordering-3.patch, d/nfs-kernel-server.install: Fix systemd service
463+ start ordering
464+ - Depend on network-online.target when starting services.
465+ - d/p/lp1918141-use-network-online-target-01.patch: Declare a
466+ Wants=network-online.target on all NFS server services.
467+ - d/p/lp1918141-use-network-online-target-02.patch: Declare a
468+ After=network-online.target on all NFS server services. Thanks to
469+ Niklas Edmundsson for helping with the reproducer.
470+ - d/nfs-common.postinst: always start nfs-utils.service, so the restart in
471+ the #DEBHELPER# section can do its job if needed
472+ * Removed patches obsoleted/merged by upstream:
473+ - Remove hard-coded dep on libtirpc1; already merged upstream, but
474+ previously un-noted
475+ - d/nfs-utils_env.sh: alongside RPCSVCGSSDARGS, also export SVCGSSDARGS,
476+ which is the variable name expected by the rpc-svcgssd systemd service;
477+ already merged upstream, but previously un-noted
478+ - d/p/python3.diff obsoleted by
479+ d/p/Convert-remaining-python-scripts-to-python3.patch
480+ * d/p/nfsiostat-replace-list-reserved-word.patch: re-instated after
481+ previous merge removed a patch already merged upstream
482+ * d/p/01-sm-notify-in-sbin.patch,
483+ d/p/03-handle-mtab-symlink.patch,
484+ d/p/17-multiarch-kerberos-paths.patch,
485+ d/p/unbreak-blkmapd-rpc_pipefs-run.patch:
486+ reverted unnecessary refresh of patches
487+
488+ -- Dave Jones <dave.jones@canonical.com> Tue, 06 Jul 2021 11:47:33 +0100
489+
490 nfs-utils (1:1.3.4-6) unstable; urgency=medium
491
492 * mountstats: Remove a shebang
493@@ -363,6 +762,59 @@ nfs-utils (1:1.3.4-5) unstable; urgency=medium
494
495 -- Salvatore Bonaccorso <carnil@debian.org> Tue, 09 Mar 2021 17:17:42 +0100
496
497+nfs-utils (1:1.3.4-4ubuntu3) impish; urgency=medium
498+
499+ * d/nfs-common.postinst: always start nfs-utils.service, so the restart in
500+ the #DEBHELPER# section can do its job if needed (LP: #1928259)
501+
502+ -- Andreas Hasenack <andreas@canonical.com> Mon, 24 May 2021 17:59:39 -0300
503+
504+nfs-utils (1:1.3.4-4ubuntu2) hirsute; urgency=medium
505+
506+ * Depend on network-online.target when starting services. (LP: #1918141)
507+ - d/p/lp1918141-use-network-online-target-01.patch: Declare a
508+ Wants=network-online.target on all NFS server services.
509+ - d/p/lp1918141-use-network-online-target-02.patch: Declare a
510+ After=network-online.target on all NFS server services.
511+ Thanks to Niklas Edmundsson for helping with the reproducer.
512+
513+ -- Sergio Durigan Junior <sergio.durigan@canonical.com> Mon, 15 Mar 2021 18:26:22 -0400
514+
515+nfs-utils (1:1.3.4-4ubuntu1) hirsute; urgency=low
516+
517+ * Merge from Debian unstable. Remaining changes:
518+ - debian/nfs-common.default: always start idmapd automatically; drop
519+ the configuration option.
520+ - Add 90-gss-free-lucid-sec-context.patch: adjust for changes to the ctx
521+ argument of the serialize_krb5_ctx() function.
522+ - Add remove-gssproxy.patch: Drop gssproxy as it does not exist in Ubuntu
523+ - Fixing nfs-mountd dependency on rpcbind (race condition)
524+ by adding "rpcbind.socket" to "nfs-mountd.service" as a dependency
525+ to avoid race conditions:
526+ - Add systemd-Fix-nfs-mountd-dependency-on-rpcbind.patch
527+ - Convert mountstats and nfsiostat scripts to Python3 and recommend
528+ python3 instead of python.
529+ - truncate_gid*.patch: Backports from upstream to prevent truncating
530+ UIDs and GIDs over 65536 on certain architectures
531+ - Remove hard-coded dep on libtirpc1.
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+ - d/p/fix-start-ordering-1.patch,
535+ d/p/fix-start-ordering-2.patch,
536+ d/p/fix-start-ordering-3.patch,
537+ d/nfs-kernel-server.install:
538+ Fix systemd service start ordering
539+ * Dropped changes, included in Debian:
540+ - Allow compilation to succeed with -fno-common
541+ - debian/nfs-common.postinst: don't make /var/lib/nfs owned by statd.
542+ - debian/patches/CVE-2019-3689.patch: take user-id from
543+ /var/lib/nfs/sm in support/nsm/file.c, utils/statd/sm-notify.man,
544+ utils/statd/statd.man.
545+ - d/p/nfsiostat-replace-list-reserved-word.patch: fix nfsiostat crash due
546+ to using 'list' as a variable name.
547+
548+ -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 26 Oct 2020 09:25:58 -0700
549+
550 nfs-utils (1:1.3.4-4) unstable; urgency=medium
551
552 * Allow compilation to succeed with -fno-common (Closes: #957608)
553@@ -401,6 +853,73 @@ nfs-utils (1:1.3.4-3) unstable; urgency=medium
554
555 -- Salvatore Bonaccorso <carnil@debian.org> Fri, 13 Mar 2020 05:16:46 +0100
556
557+nfs-utils (1:1.3.4-2.5ubuntu6) groovy; urgency=medium
558+
559+ * Allow compilation to succeed with -fno-common (Closes: #957608)
560+ (cherry picked from 1:1.3.4-4)
561+
562+ -- Julian Andres Klode <juliank@ubuntu.com> Wed, 16 Sep 2020 16:20:55 +0200
563+
564+nfs-utils (1:1.3.4-2.5ubuntu5) groovy; urgency=medium
565+
566+ * SECURITY UPDATE: privilege escalation via directory permissions
567+ - debian/patches/CVE-2019-3689.patch: take user-id from
568+ /var/lib/nfs/sm in support/nsm/file.c, utils/statd/sm-notify.man,
569+ utils/statd/statd.man.
570+ - debian/nfs-common.postinst: don't make /var/lib/nfs owned by statd.
571+ - CVE-2019-3689
572+
573+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Wed, 17 Jun 2020 08:42:59 -0400
574+
575+nfs-utils (1:1.3.4-2.5ubuntu4) groovy; urgency=medium
576+
577+ [ Rodrigo Barbieri ]
578+ * d/p/fix-start-ordering-1.patch,
579+ d/p/fix-start-ordering-2.patch,
580+ d/p/fix-start-ordering-3.patch,
581+ d/nfs-kernel-server.install:
582+ - Fix systemd service start ordering (LP: #1871214)
583+
584+ -- Dariusz Gadomski <dariusz.gadomski@canonical.com> Thu, 28 May 2020 17:45:23 -0400
585+
586+nfs-utils (1:1.3.4-2.5ubuntu3) focal; urgency=medium
587+
588+ * No-change rebuild for libevent soname changes.
589+
590+ -- Matthias Klose <doko@ubuntu.com> Sat, 19 Oct 2019 19:57:12 +0000
591+
592+nfs-utils (1:1.3.4-2.5ubuntu2) eoan; urgency=medium
593+
594+ * No-change upload with strops.h and sys/strops.h removed in glibc.
595+
596+ -- Matthias Klose <doko@ubuntu.com> Thu, 05 Sep 2019 11:04:05 +0000
597+
598+nfs-utils (1:1.3.4-2.5ubuntu1) eoan; urgency=low
599+
600+ * Merge from Debian unstable. Remaining changes:
601+ - debian/nfs-common.default: always start idmapd automatically; drop
602+ the configuration option.
603+ - Add 90-gss-free-lucid-sec-context.patch: adjust for changes to the ctx
604+ argument of the serialize_krb5_ctx() function.
605+ - Add remove-gssproxy.patch: Drop gssproxy as it does not exist in Ubuntu
606+ - Fixing nfs-mountd dependency on rpcbind (race condition)
607+ by adding "rpcbind.socket" to "nfs-mountd.service" as a dependency
608+ to avoid race conditions:
609+ - Add systemd-Fix-nfs-mountd-dependency-on-rpcbind.patch
610+ - Convert mountstats and nfsiostat scripts to Python3 and recommend
611+ python3 instead of python.
612+ - truncate_gid*.patch: Backports from upstream to prevent truncating
613+ UIDs and GIDs over 65536 on certain architectures
614+ - Remove hard-coded dep on libtirpc1.
615+ - d/nfs-utils_env.sh: alongside RPCSVCGSSDARGS, also export SVCGSSDARGS,
616+ which is the variable name expected by the rpc-svcgssd systemd service.
617+ - d/p/nfsiostat-replace-list-reserved-word.patch: fix nfsiostat crash due
618+ to using 'list' as a variable name.
619+ * Dropped changes, included in Debian:
620+ - glibc-2.28-compat.patch: Include <sys/sysmacros.h> for major/minor.
621+
622+ -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 02 May 2019 22:43:12 -0700
623+
624 nfs-utils (1:1.3.4-2.5) unstable; urgency=medium
625
626 * Non-maintainer upload.
627@@ -426,6 +945,43 @@ nfs-utils (1:1.3.4-2.4) unstable; urgency=medium
628
629 -- Hilko Bengen <bengen@debian.org> Sat, 09 Feb 2019 15:26:27 +0100
630
631+nfs-utils (1:1.3.4-2.3ubuntu3) disco; urgency=medium
632+
633+ * d/p/nfsiostat-replace-list-reserved-word.patch: fix nfsiostat crash due to
634+ using 'list' as a variable name. (LP: #1821261)
635+
636+ -- Matthew Ruffell <matthew.ruffell@canonical.com> Tue, 02 Apr 2019 11:09:15 +1300
637+
638+nfs-utils (1:1.3.4-2.3ubuntu2) disco; urgency=medium
639+
640+ * d/nfs-utils_env.sh: alongside RPCSVCGSSDARGS, also export SVCGSSDARGS,
641+ which is the variable name expected by the rpc-svcgssd systemd service.
642+ (LP: #1616123)
643+
644+ -- Andreas Hasenack <andreas@canonical.com> Mon, 25 Mar 2019 09:24:29 -0300
645+
646+nfs-utils (1:1.3.4-2.3ubuntu1) disco; urgency=low
647+
648+ * Merge from Debian unstable. Remaining changes:
649+ - debian/nfs-common.default: always start idmapd automatically; drop
650+ the configuration option.
651+ - Add 90-gss-free-lucid-sec-context.patch: adjust for changes to the ctx
652+ argument of the serialize_krb5_ctx() function.
653+ - Add remove-gssproxy.patch: Drop gssproxy as it does not exist in Ubuntu
654+ (LP: #1446851)
655+ - Fixing nfs-mountd dependency on rpcbind (race condition) (LP: #1590799)
656+ by adding "rpcbind.socket" to "nfs-mountd.service" as a dependency
657+ to avoid race conditions:
658+ - Add systemd-Fix-nfs-mountd-dependency-on-rpcbind.patch
659+ - Convert mountstats and nfsiostat scripts to Python3 and recommend
660+ python3 instead of python.
661+ - glibc-2.28-compat.patch: Include <sys/sysmacros.h> for major/minor.
662+ - truncate_gid*.patch: Backports from upstream to prevent truncating
663+ UIDs and GIDs over 65536 on certain architectures
664+ - Remove hard-coded dep on libtirpc1.
665+
666+ -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 31 Jan 2019 23:18:10 -0800
667+
668 nfs-utils (1:1.3.4-2.3) unstable; urgency=medium
669
670 * Non-maintainer upload.
671@@ -445,6 +1001,51 @@ nfs-utils (1:1.3.4-2.3) unstable; urgency=medium
672
673 -- Laurent Bigonville <bigon@debian.org> Sat, 20 Oct 2018 15:04:07 +0200
674
675+nfs-utils (1:1.3.4-2.2ubuntu5) disco; urgency=medium
676+
677+ * Remove hard-coded dep on libtirpc1.
678+
679+ -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 13 Nov 2018 17:03:07 -0800
680+
681+nfs-utils (1:1.3.4-2.2ubuntu4) disco; urgency=medium
682+
683+ * No-change rebuild against latest libtirpc
684+
685+ -- Jeremy Bicha <jbicha@ubuntu.com> Sat, 10 Nov 2018 07:54:17 -0500
686+
687+nfs-utils (1:1.3.4-2.2ubuntu3) cosmic; urgency=medium
688+
689+ * truncate_gid*.patch: Backports from upstream to prevent truncating
690+ UIDs and GIDs over 65536 on certain architectures (LP: #1779962)
691+
692+ -- Adam Conrad <adconrad@ubuntu.com> Tue, 16 Oct 2018 06:06:43 -0600
693+
694+nfs-utils (1:1.3.4-2.2ubuntu2) cosmic; urgency=medium
695+
696+ * glibc-2.28-compat.patch: Include <sys/sysmacros.h> for major/minor.
697+
698+ -- Adam Conrad <adconrad@ubuntu.com> Tue, 16 Oct 2018 05:24:40 -0600
699+
700+nfs-utils (1:1.3.4-2.2ubuntu1) cosmic; urgency=medium
701+
702+ * Merge from Debian unstable. Remaining changes:
703+ - debian/nfs-common.default: always start idmapd automatically; drop
704+ the configuration option.
705+ - Add 90-gss-free-lucid-sec-context.patch: adjust for changes to the ctx
706+ argument of the serialize_krb5_ctx() function.
707+ - Add remove-gssproxy.patch: Drop gssproxy as it does not exist in Ubuntu
708+ (LP: #1446851)
709+ - Fixing nfs-mountd dependency on rpcbind (race condition) (LP: #1590799)
710+ by adding "rpcbind.socket" to "nfs-mountd.service" as a dependency
711+ to avoid race conditions:
712+ - Add systemd-Fix-nfs-mountd-dependency-on-rpcbind.patch
713+ - Convert mountstats and nfsiostat scripts to Python3 and recommend
714+ python3 instead of python.
715+ * Dropped already integrated changes:
716+ - Provide UINT16_MAX definition if not provided by glibc.
717+
718+ -- Balint Reczey <rbalint@ubuntu.com> Thu, 23 Aug 2018 16:16:30 +0200
719+
720 nfs-utils (1:1.3.4-2.2) unstable; urgency=medium
721
722 * Non-maintainer upload.
723@@ -456,6 +1057,55 @@ nfs-utils (1:1.3.4-2.2) unstable; urgency=medium
724
725 -- Adrian Bunk <bunk@debian.org> Tue, 06 Feb 2018 21:20:36 +0200
726
727+nfs-utils (1:1.3.4-2.1ubuntu5) bionic; urgency=medium
728+
729+ * Drop obsoleted 20-ticket-expired-error.patch (LP: #1709129)
730+ The original issue is fixed in the kernel starting with version 3.10.
731+ * Refresh patches
732+ * Remove whitespace after '=' in service files
733+
734+ -- Balint Reczey <rbalint@ubuntu.com> Tue, 16 Jan 2018 23:49:38 +0100
735+
736+nfs-utils (1:1.3.4-2.1ubuntu4) bionic; urgency=medium
737+
738+ * Convert mountstats and nfsiostat scripts to Python3 and recommend
739+ python3 instead of python. LP: #1735458.
740+ * Provide UINT16_MAX definition if not provided by glibc.
741+
742+ -- Matthias Klose <doko@ubuntu.com> Fri, 01 Dec 2017 03:49:39 +0100
743+
744+nfs-utils (1:1.3.4-2.1ubuntu2) artful; urgency=medium
745+
746+ * Fix flaky autopkgtest: a 'sync' after an update on the server does not
747+ guarantee that the change is visible on the client. For that, we need
748+ to flush the inode/dentry cache instead.
749+
750+ -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 31 Aug 2017 23:08:25 -0700
751+
752+nfs-utils (1:1.3.4-2.1ubuntu1) artful; urgency=low
753+
754+ * Merge from Debian unstable. Remaining changes:
755+ - debian/nfs-common.default: always start idmapd automatically; drop
756+ the configuration option.
757+ - Add 20-ticket-expired-error.patch: Add "-e" (ticket expiry is error)
758+ option to rpc.gssd to prevent hangs due to EKEYEXPIRED error from kernel
759+ on ticket expiry. (LP: #794112)
760+ - Add 90-gss-free-lucid-sec-context.patch: adjust for changes to the ctx
761+ argument of the serialize_krb5_ctx() function. (LP: #1331201)
762+ - Add remove-gssproxy.patch: Drop gssproxy as it does not exist in Ubuntu
763+ (LP: #1446851)
764+ - Add debian/nfs-common.maintscript: Clean up obsolete conffiles (upstart
765+ jobs) on upgrades. This needs to be kept until after 18.04 LTS.
766+ - Fixing nfs-mountd dependency on rpcbind (race condition) (LP: #1590799)
767+ by adding "rpcbind.socket" to "nfs-mountd.service" as a dependency
768+ to avoid race conditions:
769+ - Add systemd-Fix-nfs-mountd-dependency-on-rpcbind.patch
770+ * Dropped already integrated changes:
771+ - Add a dependency on keyutils to nfs-common, so that idmapping will work
772+ under systemd. (LP: #1449074)
773+
774+ -- Balint Reczey <rbalint@ubuntu.com> Thu, 03 Aug 2017 20:50:38 +0200
775+
776 nfs-utils (1:1.3.4-2.1) unstable; urgency=medium
777
778 * Non-maintainer upload.
779@@ -489,6 +1139,22 @@ nfs-utils (1:1.3.4-1) unstable; urgency=medium
780
781 -- Daniel Pocock <daniel@pocock.pro> Tue, 13 Dec 2016 19:37:42 +0100
782
783+nfs-utils (1:1.2.8-9.2ubuntu2) zesty; urgency=medium
784+
785+ * Fixing nfs-mountd dependency on rpcbind (race condition) (LP: #1590799)
786+ by adding "rpcbind.socket" to "nfs-mountd.service" as a dependency
787+ to avoid race conditions:
788+ - Add systemd-Fix-nfs-mountd-dependency-on-rpcbind.patch
789+ - Add systemd-unit-files-fix-up-dependencies-on-rpcbind.patch
790+
791+ -- Rafael David Tinoco <rafael.tinoco@canonical.com> Fri, 17 Mar 2017 12:19:53 +0100
792+
793+nfs-utils (1:1.2.8-9.2ubuntu1) yakkety; urgency=medium
794+
795+ * Merge fixes from Debian.
796+
797+ -- Martin Pitt <martin.pitt@ubuntu.com> Mon, 12 Sep 2016 23:18:00 +0200
798+
799 nfs-utils (1:1.2.8-9.2) unstable; urgency=medium
800
801 * Non-maintainer upload.
802@@ -504,6 +1170,27 @@ nfs-utils (1:1.2.8-9.2) unstable; urgency=medium
803
804 -- Andreas Henriksson <andreas@fatal.se> Thu, 11 Aug 2016 18:50:24 +0200
805
806+nfs-utils (1:1.2.8-9.1ubuntu1) yakkety; urgency=medium
807+
808+ * Drop upstart jobs, upstart is not in yakkety any more.
809+ * Drop libgssglue-dev build dep, --with-gssglue got dropped a while ago.
810+ * Merge with Debian unstable. Remaining Ubuntu changes:
811+ - debian/nfs-common.default: always start idmapd automatically; drop
812+ the configuration option.
813+ - Add 20-ticket-expired-error.patch: Add "-e" (ticket expiry is error)
814+ option to rpc.gssd to prevent hangs due to EKEYEXPIRED error from kernel
815+ on ticket expiry. (LP: #794112)
816+ - Add 90-gss-free-lucid-sec-context.patch: adjust for changes to the ctx
817+ argument of the serialize_krb5_ctx() function. (LP: #1331201)
818+ - Add remove-gssproxy.patch: Drop gssproxy as it does not exist in Ubuntu
819+ (LP: #1446851)
820+ - Add a dependency on keyutils to nfs-common, so that idmapping will work
821+ under systemd. (LP: #1449074)
822+ - Add debian/nfs-common.maintscript: Clean up obsolete conffiles (upstart
823+ jobs) on upgrades. This needs to be kept until after 18.04 LTS.
824+
825+ -- Martin Pitt <martin.pitt@ubuntu.com> Thu, 28 Jul 2016 15:21:53 +0200
826+
827 nfs-utils (1:1.2.8-9.1) unstable; urgency=medium
828
829 Partial sync from ubuntu, included changes:
830@@ -568,6 +1255,149 @@ nfs-utils (1:1.2.8-9.1) unstable; urgency=medium
831
832 -- Andreas Henriksson <andreas@fatal.se> Tue, 28 Jun 2016 02:05:16 +0200
833
834+nfs-utils (1:1.2.8-9ubuntu13) yakkety; urgency=medium
835+
836+ * Drop obsolete versioned initscripts dependency. (Closes: #804990)
837+
838+ -- Martin Pitt <martin.pitt@ubuntu.com> Wed, 22 Jun 2016 16:09:37 +0200
839+
840+nfs-utils (1:1.2.8-9ubuntu12) xenial; urgency=medium
841+
842+ * Drop gssproxy as it's not in Ubuntu (LP: #1446851)
843+ * Fix no nfs doesn't show failed units on client (LP: #1452667)
844+
845+ -- Bryan Quigley <bryan.quigley@canonical.com> Wed, 02 Mar 2016 15:01:29 -0500
846+
847+nfs-utils (1:1.2.8-9ubuntu11) xenial; urgency=medium
848+
849+ * Drop obsolete and no-op dh_installinit --upstart-only option.
850+ (LP: #1519228)
851+
852+ -- Martin Pitt <martin.pitt@ubuntu.com> Tue, 24 Nov 2015 09:39:56 +0100
853+
854+nfs-utils (1:1.2.8-9ubuntu10) wily; urgency=medium
855+
856+ * debian/nfs-common.links: Add naming compatibility symlinks for
857+ gssd.service → rpc-gssd.service and idmapd.service → /dev/null (as this
858+ is bound to/handled by nfs-server.service) to provide a match for the
859+ upstart job names. (LP: #1476010).
860+
861+ -- Martin Pitt <martin.pitt@ubuntu.com> Fri, 28 Aug 2015 09:59:48 +0200
862+
863+nfs-utils (1:1.2.8-9ubuntu9) wily; urgency=medium
864+
865+ * Drop versioned mountall dependency. Trusty's is already newer and we don't
866+ need it with systemd under Ubuntu 15.04 and newer.
867+
868+ -- Martin Pitt <martin.pitt@ubuntu.com> Mon, 27 Jul 2015 10:37:24 +0200
869+
870+nfs-utils (1:1.2.8-9ubuntu8.1) vivid; urgency=medium
871+
872+ * Add a dependency on keyutils to nfs-common, so that idmapping will work
873+ under systemd. LP: #1449074.
874+
875+ -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 27 Apr 2015 17:46:03 +0200
876+
877+nfs-utils (1:1.2.8-9ubuntu8) vivid; urgency=medium
878+
879+ * Ship missing .override files
880+ * Ensure we only remove the manual flag from the statd-mounting.override
881+ file, and potentially, remove it if empty.
882+
883+ -- Didier Roche <didrocks@ubuntu.com> Wed, 01 Apr 2015 08:22:59 +0200
884+
885+nfs-utils (1:1.2.8-9ubuntu7) vivid; urgency=medium
886+
887+ * 27-systemd-enable-with-systemctl-statd.patch: let the admin
888+ enable/disable statd via systemd tools. (LP: #1428486)
889+ * debian/nfs-common.default: remove NEED_STATD and related comment.
890+ * debian/statd{,-mounting}.upstart: remove the usage of NEED_STATD, we'll
891+ directly disable the jobs now.
892+ * debian/rules: don't start statd by default (or it will trigger upstart
893+ and systemd statd unit startup).
894+ * debian/nfs-common.{preinst,postinst}: transition the conffile to the new
895+ template and enable statd services in both upstart and systemd if
896+ NEED_STATD was set to yes.
897+ * debian/control, debian/*install: move nfs-utils.service to nfs-common
898+ package. (LP: #1436304)
899+
900+ -- Didier Roche <didrocks@ubuntu.com> Thu, 12 Mar 2015 09:13:06 +0100
901+
902+nfs-utils (1:1.2.8-9ubuntu6) vivid; urgency=medium
903+
904+ * Revert previous upload; per upstream, rpc.idmapd is not used when the
905+ nfsidmap utility is available and configured for use in request-key
906+ upcalls. So rpc.idmapd does not need to be started on clients anymore.
907+
908+ -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 06 Mar 2015 10:19:57 -0800
909+
910+nfs-utils (1:1.2.8-9ubuntu5) vivid; urgency=medium
911+
912+ * Add 27-systemd-start-nfs-idmapd-also-on-clients.patch: idmapd is needed
913+ for clients too, so start it from nfs-client.target and stop binding to it
914+ in nfs-server.service. (LP: #1428961)
915+
916+ -- Martin Pitt <martin.pitt@ubuntu.com> Fri, 06 Mar 2015 11:56:46 +0100
917+
918+nfs-utils (1:1.2.8-9ubuntu4) vivid; urgency=medium
919+
920+ * Add autopkgtest for installing server and client on localhost, setting up
921+ two exports, rebooting, and ensuring that the NFS mounts work.
922+ * Add 23-systemd-relax-dependencies.patch: Stop depending on basic.target in
923+ the daemons which still do; i. e. add DefaultDependencies=no. This makes
924+ it possible to run NFS during early boot, helps if you e. g. have /var
925+ on NFS, and avoids dependency cycles with rcS init.d scripts which depend
926+ on $remote_fs. (LP: #1428487)
927+ * Shift number prefixes of other systemd patches accordingly, and adjust
928+ them to the above patch.
929+
930+ -- Martin Pitt <martin.pitt@ubuntu.com> Thu, 05 Mar 2015 10:43:54 +0100
931+
932+nfs-utils (1:1.2.8-9ubuntu3) vivid; urgency=medium
933+
934+ * Add 00git-start-statd-systemd.patch: Latest start-statd script from
935+ 1.3.2 to start rpc-statd.service under systemd.
936+ * Add 23-systemd-pipefs_in_run.patch: systemd: Mount rpc_pipefs in /run instead of
937+ /var/lib/nfs/, like in the upstart units.
938+ * Add 24-systemd-daemon-paths.patch: Adjust program paths in systemd units.
939+ * debian/nfs-kernel-server.links: Add nfs-kernel-server.service alias
940+ symlink, to match SysV init script.
941+ * Add 25-systemd-server-before-client.patch: Order NFS server before client,
942+ to make mounting NFS shares from localhost work reliably.
943+ * Add debian/nfs-utils_env.sh: Translate our /etc/default files into runtime
944+ configuration for nfs-config.service.
945+ * debian/nfs-{common,kernel-server}.install: Install systemd units.
946+ * debian/rules: Enable/start systemd units. (LP: #1312976)
947+
948+ -- Martin Pitt <martin.pitt@ubuntu.com> Thu, 05 Mar 2015 07:46:41 +0100
949+
950+nfs-utils (1:1.2.8-9ubuntu2) vivid; urgency=medium
951+
952+ * debian/nfs-common.statd.upstart: wait for rpcbind job instead of
953+ relying on portmap compatibility event. (LP: #1391296)
954+
955+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Tue, 18 Nov 2014 19:07:15 -0500
956+
957+nfs-utils (1:1.2.8-9ubuntu1) utopic; urgency=medium
958+
959+ * Merge from Debian usntable, remaining changes:
960+ - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
961+ debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
962+ debian/rules: drop nfs-common init script in favor of upstart jobs.
963+ - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
964+ - Depend on mountall (>= 2.41) to avoid deadlocks on boot.
965+ - debian/nfs-common.default: always start idmapd automatically; drop
966+ the configuration option.
967+ - nfs-kernel-server.init: Unmount nfsd fs when init script stops
968+ - Allow issuing options to rpc.nfsd
969+ - Add "-e" (ticket expiry is error) option to rpc.gssd to prevent hangs
970+ due to EKEYEXPIRED error from kernel on ticket expiry.
971+ - drop nfs-kernel-server's LSB dependency on nfs-common.
972+ - Add patch to adjust for changes to the ctx argument of the
973+ serialize_krb5_ctx() function.
974+
975+ -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 21 Aug 2014 11:29:38 -0700
976+
977 nfs-utils (1:1.2.8-9) unstable; urgency=medium
978
979 * debian/patches/22-mountd-fix-segfault-in-add_name-with-newer-gcc-
980@@ -576,6 +1406,26 @@ nfs-utils (1:1.2.8-9) unstable; urgency=medium
981
982 -- Steve Langasek <vorlon@debian.org> Tue, 12 Aug 2014 17:12:38 -0700
983
984+nfs-utils (1:1.2.8-8ubuntu1) utopic; urgency=medium
985+
986+ * Merge from Debian unstable, remaining changes:
987+ - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
988+ debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
989+ debian/rules: drop nfs-common init script in favor of upstart jobs.
990+ - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
991+ - Depend on mountall (>= 2.41) to avoid deadlocks on boot.
992+ - debian/nfs-common.default: always start idmapd automatically; drop
993+ the configuration option.
994+ - nfs-kernel-server.init: Unmount nfsd fs when init script stops
995+ - Allow issuing options to rpc.nfsd
996+ - Add "-e" (ticket expiry is error) option to rpc.gssd to prevent hangs
997+ due to EKEYEXPIRED error from kernel on ticket expiry.
998+ - drop nfs-kernel-server's LSB dependency on nfs-common.
999+ - Add patch to adjust for changes to the ctx argument of the
1000+ serialize_krb5_ctx() function.
1001+
1002+ -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 11 Aug 2014 01:10:28 -0700
1003+
1004 nfs-utils (1:1.2.8-8) unstable; urgency=medium
1005
1006 * Upload to unstable where this belongs.
1007@@ -596,6 +1446,38 @@ nfs-utils (1:1.2.8-7) experimental; urgency=medium
1008
1009 -- Anibal Monsalve Salazar <anibal@debian.org> Sat, 02 Aug 2014 12:25:47 +0100
1010
1011+nfs-utils (1:1.2.8-6ubuntu4) utopic; urgency=medium
1012+
1013+ * Add patch from Sergio Gelato to adjust for changes to the ctx
1014+ argument of the serialize_krb5_ctx() function (LP: #1331201)
1015+
1016+ -- Adam Conrad <adconrad@ubuntu.com> Wed, 25 Jun 2014 12:23:09 -0600
1017+
1018+nfs-utils (1:1.2.8-6ubuntu3) utopic; urgency=medium
1019+
1020+ * Soon nfs-common.init is going to be split on the Debian side, and
1021+ nfs-kernel-server init.d's LSB depends on "nfs-common" has never done
1022+ anything in Ubuntu. Drop it to avoid breaking insserv. (LP: #1323274)
1023+
1024+ -- Martin Pitt <martin.pitt@ubuntu.com> Tue, 27 May 2014 11:38:51 +0200
1025+
1026+nfs-utils (1:1.2.8-6ubuntu1) trusty; urgency=medium
1027+
1028+ * Merge from Debian unstable, remaining changes:
1029+ - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1030+ debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1031+ debian/rules: drop nfs-common init script in favor of upstart jobs.
1032+ - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1033+ - Depend on mountall (>= 2.41) to avoid deadlocks on boot.
1034+ - debian/nfs-common.default: always start idmapd automatically; drop
1035+ the configuration option.
1036+ - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1037+ - Allow issuing options to rpc.nfsd
1038+ - Add "-e" (ticket expiry is error) option to rpc.gssd to prevent hangs
1039+ due to EKEYEXPIRED error from kernel on ticket expiry.
1040+
1041+ -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 25 Feb 2014 09:18:47 -0800
1042+
1043 nfs-utils (1:1.2.8-6) unstable; urgency=medium
1044
1045 * Fix the sec=krb5* handling in debian/nfs-common.init to properly match
1046@@ -622,6 +1504,29 @@ nfs-utils (1:1.2.8-6) unstable; urgency=medium
1047
1048 -- Steve Langasek <vorlon@debian.org> Mon, 24 Feb 2014 18:11:17 +0000
1049
1050+nfs-utils (1:1.2.8-5ubuntu1) trusty; urgency=medium
1051+
1052+ * Merge from Debian unstable, remaining changes:
1053+ - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1054+ debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1055+ debian/rules: drop nfs-common init script in favor of upstart jobs.
1056+ - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1057+ - Depend on mountall (>= 2.41) to avoid deadlocks on boot.
1058+ - debian/nfs-common.default: always start idmapd automatically; drop
1059+ the configuration option.
1060+ - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1061+ - Allow issuing options to rpc.nfsd
1062+ - Add "-e" (ticket expiry is error) option to rpc.gssd to prevent hangs
1063+ due to EKEYEXPIRED error from kernel on ticket expiry.
1064+ * Dropped changes, included in Debian:
1065+ - Move /var/lib/nfs/rpc_pipefs to /run/rpc_pipefs. This does not belong
1066+ in /var/lib.
1067+ - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1068+ in the postinst, this is redundant anyway and the nfs-common init script
1069+ is gone now.
1070+
1071+ -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 13 Jan 2014 21:13:11 -0800
1072+
1073 nfs-utils (1:1.2.8-5) unstable; urgency=medium
1074
1075 [ Ben Hutchings ]
1076@@ -638,6 +1543,37 @@ nfs-utils (1:1.2.8-5) unstable; urgency=medium
1077
1078 -- Steve Langasek <vorlon@debian.org> Mon, 13 Jan 2014 22:07:53 +0000
1079
1080+nfs-utils (1:1.2.8-4ubuntu1) trusty; urgency=low
1081+
1082+ * Merge from Debian unstable, remaining changes:
1083+ - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1084+ debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1085+ debian/rules: drop nfs-common init script in favor of upstart jobs.
1086+ - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1087+ - Depend on mountall (>= 2.41) to avoid deadlocks on boot.
1088+ - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1089+ in the postinst, this is redundant anyway and the nfs-common init script
1090+ is gone now.
1091+ - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1092+ - Allow issuing options to rpc.nfsd
1093+ - debian/nfs-common.defaults: always start idmapd automatically; drop
1094+ the configuration option.
1095+ - Move /var/lib/nfs/rpc_pipefs to /run/rpc_pipefs. This does not belong
1096+ in /var/lib.
1097+ - Add "-e" (ticket expiry is error) option to rpc.gssd to prevent hangs due
1098+ to EKEYEXPIRED error from kernel on ticket expiry. LP: #794112
1099+ - Fix the stop conditions: never stop on 'runlevel [06]' since that gives
1100+ the system no time to cleanly unmount nfs mounts; instead, stop only on
1101+ the unmounted-remote-filesystems event. LP: #569094.
1102+ * Dropped changes:
1103+ - build-depend on debhelper (>= 7.3.15ubuntu3): all supported debhelper
1104+ versions meet this requirement now, so it's not worth carrying a delta
1105+ for.
1106+ * Drop removal handling for rpc_pipefs.conf, which has been obsolete since
1107+ before the 12.04 release.
1108+
1109+ -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 21 Nov 2013 13:35:20 -0800
1110+
1111 nfs-utils (1:1.2.8-4) unstable; urgency=low
1112
1113 * The configure option name is --with-gssglue, not --with-libgssglue.
1114@@ -656,6 +1592,64 @@ nfs-utils (1:1.2.8-3) unstable; urgency=low
1115
1116 -- Steve Langasek <vorlon@debian.org> Fri, 31 May 2013 17:59:53 -0700
1117
1118+nfs-utils (1:1.2.8-2ubuntu2) saucy; urgency=low
1119+
1120+ * Start statd on virtual-filesystems instead of on local-filesystems;
1121+ this works and avoids a deadlock in the nfsroot case. Also, adjust
1122+ idmapd to not block MOUNTPOINT=/ for the same reason. This isn't a
1123+ perfect fix since idmapd would be needed if we ever wanted nfsv4
1124+ nfsroot, but implementing that can wait until we have /usr mounting from
1125+ the initramfs. LP: #537133.
1126+
1127+ -- Steve Langasek <steve.langasek@ubuntu.com> Wed, 11 Sep 2013 15:00:02 -0700
1128+
1129+nfs-utils (1:1.2.8-2ubuntu1) saucy; urgency=low
1130+
1131+ [ Stéphane Graber ]
1132+ * Merge from Debian unstable.
1133+ - includes upstream fix for gssd -R. LP: #1179992.
1134+ - includes upstream fix for an exportfs crash when using long paths.
1135+ LP: #1062022.
1136+ * Remaining changes:
1137+ - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1138+ debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1139+ debian/rules: drop nfs-common init script in favor of upstart jobs,
1140+ and build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart
1141+ init handling.
1142+ - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1143+ - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1144+ in the postinst, this is redundant anyway and the nfs-common init script
1145+ is gone now.
1146+ - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1147+ - Allow issuing options to rpc.nfsd
1148+ - debian/nfs-common.defaults: always start idmapd automatically; drop
1149+ the configuration option.
1150+ - Move /var/lib/nfs/rpc_pipefs to /run/rpc_pipefs. This does not belong
1151+ in /var/lib.
1152+ - Add "-e" (ticket expiry is error) option to rpc.gssd to prevent hangs due
1153+ to EKEYEXPIRED error from kernel on ticket expiry. LP: #794112
1154+ - Adjust upstart jobs to treat TYPE=nfs and TYPE=nfs4 mounts identically,
1155+ since TYPE=nfs4 is considered deprecated.
1156+ - Fix various boot-time race conditions between mountall and nfs-utils by
1157+ moving handling of the 'mounting' events to separate gssd-mounting and
1158+ idmapd-mounting jobs. Requires mountall 2.41 or better to avoid deadlock
1159+ on boot. LP: #643289, LP: #611397.
1160+ - Fix the stop conditions: never stop on 'runlevel [06]' since that gives
1161+ the system no time to cleanly unmount nfs mounts; instead, stop only on
1162+ the unmounted-remote-filesystems event. LP: #569094.
1163+ - Newer versions of gssd don't talk to portmap, so don't make the upstart
1164+ job depend on it.
1165+ - Add an instance to statd-mounting, and change it to just wait for statd
1166+ instead of trying to trigger it potentially out of order. This also
1167+ means we don't need to try to force portmap to start from statd.
1168+
1169+ [ Steve Langasek ]
1170+ * Build --with-gssglue; linking directly against libgssapi-krb5 results in
1171+ rpc.gssd trying to incorrectly pass opaque pointers between two different
1172+ gss implementations (via libtirpc).
1173+
1174+ -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 31 May 2013 18:05:03 -0700
1175+
1176 nfs-utils (1:1.2.8-2) unstable; urgency=medium
1177
1178 * Fix reportbug scripts to use rpcinfo in /usr/sbin.
1179@@ -685,12 +1679,80 @@ nfs-utils (1:1.2.8-1) unstable; urgency=low
1180
1181 -- Luk Claes <luk@zomers.be> Fri, 10 May 2013 14:27:47 +0200
1182
1183+nfs-utils (1:1.2.6-3ubuntu2) quantal; urgency=low
1184+
1185+ [ Steve Langasek ]
1186+ * Adjust upstart jobs to treat TYPE=nfs and TYPE=nfs4 mounts identically,
1187+ since TYPE=nfs4 is considered deprecated.
1188+ * Fix various boot-time race conditions between mountall and nfs-utils by
1189+ moving handling of the 'mounting' events to separate gssd-mounting and
1190+ idmapd-mounting jobs. Requires mountall 2.41 or better to avoid deadlock
1191+ on boot. LP: #643289, LP: #611397.
1192+ * Fix the stop conditions: never stop on 'runlevel [06]' since that gives
1193+ the system no time to cleanly unmount nfs mounts; instead, stop only on
1194+ the unmounted-remote-filesystems event. LP: #569094.
1195+ * Newer versions of gssd don't talk to portmap, so don't make the upstart
1196+ job depend on it.
1197+ * Add an instance to statd-mounting, and change it to just wait for statd
1198+ instead of trying to trigger it potentially out of order. This also means
1199+ we don't need to try to force portmap to start from statd.
1200+
1201+ [ Matthew L. Dailey ]
1202+ * Add "-e" (ticket expiry is error) option to rpc.gssd to prevent hangs due
1203+ to EKEYEXPIRED error from kernel on ticket expiry. LP: #794112
1204+
1205+ -- Stéphane Graber <stgraber@ubuntu.com> Fri, 28 Sep 2012 13:58:43 -0400
1206+
1207+nfs-utils (1:1.2.6-3ubuntu1) quantal; urgency=low
1208+
1209+ * Merge from Debian unstable. Remaining changes:
1210+ - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1211+ debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1212+ debian/rules: drop nfs-common init script in favor of upstart jobs,
1213+ and build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart
1214+ init handling.
1215+ - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1216+ - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1217+ in the postinst, this is redundant anyway and the nfs-common init script
1218+ is gone now.
1219+ - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1220+ - Allow issuing options to rpc.nfsd
1221+ - debian/nfs-common.defaults: always start idmapd automatically; drop
1222+ the configuration option.
1223+ - Move /var/lib/nfs/rpc_pipefs to /run/rpc_pipefs. This does not belong
1224+ in /var/lib.
1225+
1226+ -- Logan Rosen <logatronico@gmail.com> Sun, 05 Aug 2012 00:56:05 -0400
1227+
1228 nfs-utils (1:1.2.6-3) unstable; urgency=low
1229
1230 * Iterate through exports.d to look for expors (Closes: #676604).
1231
1232 -- Luk Claes <luk@zomers.be> Tue, 10 Jul 2012 19:38:22 +0200
1233
1234+nfs-utils (1:1.2.6-2ubuntu1) quantal; urgency=low
1235+
1236+ * Merge from Debian unstable, remaining changes:
1237+ - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1238+ debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1239+ debian/rules: drop nfs-common init script in favor of upstart jobs,
1240+ and build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart
1241+ init handling.
1242+ - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1243+ - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1244+ in the postinst, this is redundant anyway and the nfs-common init script
1245+ is gone now.
1246+ - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1247+ - Allow issuing options to rpc.nfsd
1248+ - debian/nfs-common.defaults: always start idmapd automatically; drop
1249+ the configuration option.
1250+ - Move /var/lib/nfs/rpc_pipefs to /run/rpc_pipefs. This does not belong
1251+ in /var/lib.
1252+ * Dropped changes, included in Debian:
1253+ - nfs-kernel-server.default: Add comment about how to disable nfs4.
1254+
1255+ -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 22 Jun 2012 11:25:28 -0700
1256+
1257 nfs-utils (1:1.2.6-2) unstable; urgency=low
1258
1259 * Move open-iscsi and watchdog to Suggests.
1260@@ -718,6 +1780,44 @@ nfs-utils (1:1.2.5-4) unstable; urgency=low
1261
1262 -- Luk Claes <luk@debian.org> Sun, 22 Jan 2012 15:46:25 +0100
1263
1264+nfs-utils (1:1.2.5-3ubuntu3) precise; urgency=low
1265+
1266+ * In some cases, /var/lib/nfs/rpc_pipefs is successfully unmounted on
1267+ upgrade but the directory still has contents within it. Since this is
1268+ /var/lib we shouldn't assume it's ok for delete these; instead, pass
1269+ --ignore-fail-on-non-empty to rmdir. LP: #954619.
1270+
1271+ -- Steve Langasek <steve.langasek@ubuntu.com> Sun, 08 Apr 2012 22:44:40 -0700
1272+
1273+nfs-utils (1:1.2.5-3ubuntu2) precise; urgency=low
1274+
1275+ * Fix wrong path to rpcinfo in the init script, which breaks use of nfs
1276+ v3 support in the server. LP: #945651.
1277+
1278+ -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 27 Mar 2012 10:44:03 -0700
1279+
1280+nfs-utils (1:1.2.5-3ubuntu1) precise; urgency=low
1281+
1282+ * Merge from Debian testing, remaining changes:
1283+ - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1284+ debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1285+ debian/rules: drop nfs-common init script in favor of upstart jobs,
1286+ and build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart
1287+ init handling.
1288+ - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1289+ - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1290+ in the postinst, this is redundant anyway and the nfs-common init script
1291+ is gone now.
1292+ - nfs-kernel-server.default: Add comment about how to disable nfs4.
1293+ - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1294+ - Allow issuing options to rpc.nfsd
1295+ - debian/nfs-common.defaults: always start idmapd automatically; drop
1296+ the configuration option.
1297+ - Move /var/lib/nfs/rpc_pipefs to /run/rpc_pipefs. This does not belong
1298+ in /var/lib.
1299+
1300+ -- Steve Langasek <steve.langasek@ubuntu.com> Wed, 04 Jan 2012 09:20:27 -0800
1301+
1302 nfs-utils (1:1.2.5-3) unstable; urgency=low
1303
1304 [ Roger Leigh ]
1305@@ -736,6 +1836,33 @@ nfs-utils (1:1.2.5-3) unstable; urgency=low
1306
1307 -- Luk Claes <luk@debian.org> Fri, 09 Dec 2011 11:55:31 +0100
1308
1309+nfs-utils (1:1.2.5-2ubuntu1) precise; urgency=low
1310+
1311+ * Merge from Debian testing, remaining changes:
1312+ - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1313+ debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1314+ debian/rules: drop nfs-common init script in favor of upstart jobs,
1315+ and build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart
1316+ init handling.
1317+ - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1318+ - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1319+ in the postinst, this is redundant anyway and the nfs-common init script
1320+ is gone now.
1321+ - nfs-kernel-server.default: Add comment about how to disable nfs4.
1322+ - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1323+ - Allow issuing options to rpc.nfsd
1324+ - debian/nfs-common.defaults: always start idmapd automatically; drop
1325+ the configuration option.
1326+ - Move /var/lib/nfs/rpc_pipefs to /run/rpc_pipefs. This does not belong
1327+ in /var/lib.
1328+ * Dropped changes, superseded in Debian/upstream:
1329+ - debian/patches/multiarch-kerberos-paths: Search for kerberos libs
1330+ in multiarch locations.
1331+ - ubuntu-fix-kernel-version-handling: avoid segfaults from short kernel
1332+ version numbers.
1333+
1334+ -- Steve Langasek <steve.langasek@ubuntu.com> Sun, 30 Oct 2011 00:12:50 +0000
1335+
1336 nfs-utils (1:1.2.5-2) unstable; urgency=low
1337
1338 * debian/patches/18-dont-use-PAGE_SIZE.patch
1339@@ -778,6 +1905,57 @@ nfs-utils (1:1.2.4-2) UNRELEASED; urgency=low
1340
1341 -- Luk Claes <luk@debian.org> Sat, 06 Aug 2011 07:38:48 +0200
1342
1343+nfs-utils (1:1.2.4-1ubuntu4) precise; urgency=low
1344+
1345+ * debian/nfs-common.postinst: handle the case when /var/lib/nfs/rpc_pipefs
1346+ is not already mounted on upgrade - dpkg will already remove the
1347+ directory for us on upgrade, so don't fail when it's missing.
1348+ LP: #882799.
1349+
1350+ -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 27 Oct 2011 16:21:22 -0700
1351+
1352+nfs-utils (1:1.2.4-1ubuntu3) precise; urgency=low
1353+
1354+ * debian/nfs-common.defaults, debian/nfs-common.idmapd.upstart: idmapd
1355+ should always be started automatically, because we can no longer assume
1356+ that a mount of type 'nfs' in /etc/fstab is not nfs4. This also lets
1357+ things work by default with nfs4 autofs. LP: #662711.
1358+ * Move /var/lib/nfs/rpc_pipefs to /run/rpc_pipefs. This does not belong
1359+ in /var/lib.
1360+ * Ignore errors from mount if the filesystem is already mounted.
1361+ LP: #811823.
1362+
1363+ -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 27 Oct 2011 12:04:58 -0700
1364+
1365+nfs-utils (1:1.2.4-1ubuntu2) oneiric; urgency=low
1366+
1367+ * Allow issuing options to rpc.nfsd
1368+ (LP: #567491)
1369+
1370+ -- Bryce Harrington <bryce@ubuntu.com> Mon, 08 Aug 2011 16:37:26 -0700
1371+
1372+nfs-utils (1:1.2.4-1ubuntu1) oneiric; urgency=low
1373+
1374+ * Merge from Debian unstable (LP: #728586, LP: #789117), remaining
1375+ changes:
1376+ - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1377+ debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1378+ debian/rules: drop nfs-common init script in favor of upstart jobs,
1379+ and build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart
1380+ init handling.
1381+ - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1382+ - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1383+ in the postinst, this is redundant anyway and the nfs-common init script
1384+ is gone now.
1385+ - nfs-kernel-server.default: Add comment about how to disable nfs4.
1386+ - debian/patches/multiarch-kerberos-paths: Search for kerberos libs
1387+ in multiarch locations.
1388+ - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1389+ - ubuntu-fix-kernel-version-handling: avoid segfaults from short kernel
1390+ version numbers.
1391+
1392+ -- Steve Langasek <steve.langasek@ubuntu.com> Sat, 23 Jul 2011 17:54:36 +0200
1393+
1394 nfs-utils (1:1.2.4-1) unstable; urgency=low
1395
1396 * New upstream version
1397@@ -865,6 +2043,93 @@ nfs-utils (1:1.2.2-5) unstable; urgency=low
1398
1399 -- Luk Claes <luk@debian.org> Wed, 16 Mar 2011 23:10:15 +0100
1400
1401+nfs-utils (1:1.2.2-4ubuntu8) oneiric; urgency=low
1402+
1403+ * debian/nfs-common.idmapd.upstart: don't use a script unnecessarily for
1404+ our job when we can exec directly - making the job more resilient in
1405+ the face of races with /usr being mounted. LP: #811823.
1406+ * Drop rpc_pipefs.conf; this has gotten far more complicated than it
1407+ should be, just do the mount in-line in each of the gssd and idmapd
1408+ jobs.
1409+
1410+ -- Steve Langasek <steve.langasek@ubuntu.com> Sun, 17 Jul 2011 02:23:01 -0700
1411+
1412+nfs-utils (1:1.2.2-4ubuntu7) oneiric; urgency=low
1413+
1414+ [ Andy Whitcroft ]
1415+ * ubuntu-fix-kernel-version-handling: avoid segfaults from short kernel
1416+ version numbers. (LP: #796611)
1417+
1418+ -- Evan Dandrea <ev@ubuntu.com> Tue, 14 Jun 2011 17:13:14 +0100
1419+
1420+nfs-utils (1:1.2.2-4ubuntu6) oneiric; urgency=low
1421+
1422+ * nfs-kernel-server.init: Unmount nfsd fs when init script stops
1423+ (LP: #251026)
1424+
1425+ -- Bryce Harrington <bryce@ubuntu.com> Mon, 06 Jun 2011 19:18:16 -0700
1426+
1427+nfs-utils (1:1.2.2-4ubuntu5) natty; urgency=low
1428+
1429+ * Search kerberos libs in multiarch locations.
1430+
1431+ -- Matthias Klose <doko@ubuntu.com> Fri, 01 Apr 2011 12:35:30 +0200
1432+
1433+nfs-utils (1:1.2.2-4ubuntu4) natty; urgency=low
1434+
1435+ * nvs-kernel-server.default: Add comment about how to disable nfs4.
1436+ There are corner cases where the server providing nfsv4 as the default
1437+ can confuse the client (117957, 680680) or even cause kernel problems
1438+ (716811), so it is worthwhile to document how to fallback to nfs3 only.
1439+
1440+ -- Bryce Harrington <bryce@ubuntu.com> Mon, 14 Feb 2011 13:20:27 -0800
1441+
1442+nfs-utils (1:1.2.2-4ubuntu3) natty; urgency=low
1443+
1444+ * debian/nfs-common.statd.upstart: pass a new WAITER= variable
1445+ to portmap-wait, so that multiple jobs can wait in parallel, fixing
1446+ another subtle race condition; and bump the portmap dependency again for
1447+ the necessary instance support.
1448+ * also fix the grouping in the start condition, so that restarts work
1449+ correctly when portmap is restarted.
1450+ * debian/nfs-common.rpc_pipefs.upstart: instantiate this job separately for
1451+ gssd and idmapd, so that the filesystem gets mounted and unmounted
1452+ correctly even if both of gssd and idmapd aren't being run, or if one of
1453+ the two tries to start before the filesystem is fully mounted. Though
1454+ it may be simpler now to move this logic back into the gssd and idmapd
1455+ jobs directly, leave that for a later date.
1456+
1457+ -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 18 Jan 2011 17:45:45 -0800
1458+
1459+nfs-utils (1:1.2.2-4ubuntu2) natty; urgency=low
1460+
1461+ * debian/nfs-common.statd.upstart,
1462+ debian/nfs-common.statd-mounting.upstart: refactor startup to wait for
1463+ local-filesystems. (LP: #525154)
1464+ * debian/control: depend on portmap version that sets ON_BOOT=y and
1465+ has the portmap-wait job.
1466+ * debian/rules: install new statd-mounting upstart job
1467+
1468+ -- Clint Byrum <clint@ubuntu.com> Wed, 05 Jan 2011 12:27:32 -0800
1469+
1470+nfs-utils (1:1.2.2-4ubuntu1) natty; urgency=low
1471+
1472+ * Merge from debian unstable (LP: #685860), remaining changes:
1473+ - debian/nfs-common.{statd,gssd,idmapd,rpc_pipefs}.upstart,
1474+ debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1475+ debian/rules: drop nfs-common init script in favor of upstart jobs, and
1476+ build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart init
1477+ handling.
1478+ - debian/control:
1479+ + depend on the upstart-using version of portmap, 6.0-10ubuntu1; and
1480+ drop the alternative depends on rpcbind, which hasn't been converted.
1481+ + depend on portmap 6.0-10ubuntu1.
1482+ - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1483+ in the postinst, this is redundant anyway and the nfs-common init script
1484+ is gone now.
1485+
1486+ -- Lorenzo De Liso <blackz@ubuntu.com> Wed, 15 Dec 2010 21:42:55 +0100
1487+
1488 nfs-utils (1:1.2.2-4) unstable; urgency=low
1489
1490 * mountd: fix path comparison for v4 crossmnt (Closes: #578317)
1491@@ -892,6 +2157,28 @@ nfs-utils (1:1.2.2-2) unstable; urgency=low
1492
1493 -- Anibal Monsalve Salazar <anibal@debian.org> Tue, 13 Jul 2010 15:20:17 +1000
1494
1495+nfs-utils (1:1.2.2-1ubuntu1) maverick; urgency=low
1496+
1497+ * Merge from Debian unstable, remaining changes:
1498+ - debian/nfs-common.{statd,gssd,idmapd,rpc_pipefs}.upstart,
1499+ debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1500+ debian/rules: drop nfs-common init script in favor of upstart jobs, and
1501+ build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart init
1502+ handling.
1503+ - debian/control: depend on the upstart-using version of portmap,
1504+ 6.0-10ubuntu1; and drop the alternative depends on rpcbind, which
1505+ hasn't been converted.
1506+ - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1507+ in the postinst, this is redundant anyway and the nfs-common init script
1508+ is gone now.
1509+ * Dropped changes, included in Debian:
1510+ - debian/control: add ${misc:Depends} line for nfs-common, for the
1511+ upstart deps
1512+ - debian/nfs-kernel-server.init: updated check for presence of nfsd
1513+ support
1514+
1515+ -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 04 Jun 2010 09:55:28 +0000
1516+
1517 nfs-utils (1:1.2.2-1) unstable; urgency=low
1518
1519 [ Anibal Monsalve Salazar ]
1520@@ -963,6 +2250,51 @@ nfs-utils (1:1.2.0-4.1) unstable; urgency=low
1521
1522 -- Ben Hutchings <ben@decadent.org.uk> Wed, 16 Dec 2009 22:14:01 +0000
1523
1524+nfs-utils (1:1.2.0-4ubuntu4) lucid; urgency=low
1525+
1526+ * debian/nfs-common.gssd.upstart:
1527+ - fix the OPTIONS= match for the start condition (missing a leading '*')
1528+ so that we actually match on nfs4 mounts
1529+ - drop the 'script' for a straight exec of rpc.gssd; if /usr is a separate
1530+ partition then nfs4 mounts might be attempted in parallel, and upstart
1531+ gets mightily confused when this happens. LP: #545673
1532+
1533+ -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 23 Mar 2010 22:26:07 -0700
1534+
1535+nfs-utils (1:1.2.0-4ubuntu3) lucid; urgency=low
1536+
1537+ * debian/nfs-common.*.upstart: start on new 'mounting' signal instead of
1538+ obsolete 'mount' signal.
1539+
1540+ -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 25 Feb 2010 06:41:46 -0800
1541+
1542+nfs-utils (1:1.2.0-4ubuntu2) lucid; urgency=low
1543+
1544+ * debian/nfs-kernel-server.init: 2.6.32 kernels no longer export the
1545+ same symbols. Switch symbol check to nfsd_serv which has been present
1546+ since 2005. LP: #493145.
1547+
1548+ -- Andy Whitcroft <apw@canonical.com> Mon, 07 Dec 2009 16:56:56 +0000
1549+
1550+nfs-utils (1:1.2.0-4ubuntu1) lucid; urgency=low
1551+
1552+ * Merge from Debian testing, remaining changes:
1553+ - debian/nfs-common.{statd,gssd,idmapd,rpc_pipefs}.upstart,
1554+ debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1555+ debian/rules: drop nfs-common init script in favor of upstart jobs, and
1556+ build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart init
1557+ handling.
1558+ - debian/control: depend on the upstart-using version of portmap,
1559+ 6.0-10ubuntu1; and drop the alternative depends on rpcbind, which
1560+ hasn't been converted.
1561+ - debian/control: add ${misc:Depends} line for nfs-common, for the
1562+ upstart deps
1563+ - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1564+ in the postinst, this is redundant anyway and the nfs-common init script
1565+ is gone now.
1566+
1567+ -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 04 Dec 2009 18:37:48 -0800
1568+
1569 nfs-utils (1:1.2.0-4) unstable; urgency=low
1570
1571 * Removing myself from uploaders.
1572@@ -977,6 +2309,94 @@ nfs-utils (1:1.2.0-3) unstable; urgency=low
1573
1574 -- Steinar H. Gunderson <sesse@debian.org> Sun, 09 Aug 2009 12:47:00 +0200
1575
1576+nfs-utils (1:1.2.0-2ubuntu9) lucid; urgency=low
1577+
1578+ * debian/nfs-common.statd.upstart: check for a started portmap in a
1579+ non-racy manner. LP: #484209.
1580+
1581+ -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 17 Nov 2009 11:27:37 -0600
1582+
1583+nfs-utils (1:1.2.0-2ubuntu8) karmic; urgency=low
1584+
1585+ * debian/control: add missing ${misc:Depends} for nfs-common, else we don't
1586+ get the dependency on upstart that we should have. LP: #456281.
1587+
1588+ -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 20 Oct 2009 13:10:01 +0000
1589+
1590+nfs-utils (1:1.2.0-2ubuntu7) karmic; urgency=low
1591+
1592+ * debian/rules: now that the jobs will exit cleanly on their own when
1593+ 'start' is called but the job is a no-op, remove the --error-handler
1594+ option to dh_installinit so that we don't accidentally ignore other
1595+ kinds of errors that could point to real problems.
1596+
1597+ -- Steve Langasek <steve.langasek@ubuntu.com> Sun, 11 Oct 2009 08:51:39 +0000
1598+
1599+nfs-utils (1:1.2.0-2ubuntu6) karmic; urgency=low
1600+
1601+ * Drop the gssd upstart job's dependency on "local-filesystems"; at boot
1602+ time this is always implied transitively by the dep on portmap, and using
1603+ a combination of 'or' and 'and' operators in the dependency list seems
1604+ to confuse upstart quite badly, causing kerberized mounts to hang at boot.
1605+ LP: #447654.
1606+
1607+ -- Steve Langasek <steve.langasek@ubuntu.com> Sat, 10 Oct 2009 20:12:11 +0000
1608+
1609+nfs-utils (1:1.2.0-2ubuntu5) karmic; urgency=low
1610+
1611+ * Set upstart jobs to also start on mount attempt, in the event that
1612+ mountall gets to them before the daemons are done starting. Really-fixes
1613+ LP: #431248.
1614+ * Call 'stop' in the pre-start scripts for all jobs when we want to prevent
1615+ the job from starting; this lets upstart know that it's a clean stop,
1616+ and avoids boot-time messages about service start failures
1617+
1618+ -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 09 Oct 2009 19:17:34 +0000
1619+
1620+nfs-utils (1:1.2.0-2ubuntu4) karmic; urgency=low
1621+
1622+ * Mounting rpc_pipefs also requires the sunrpc module, so move this
1623+ modprobe to the right upstart job.
1624+
1625+ -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 05 Oct 2009 22:04:28 -0700
1626+
1627+nfs-utils (1:1.2.0-2ubuntu3) karmic; urgency=low
1628+
1629+ * nfs-kernel-server: don't call invoke-rc.d nfs-common in the postinst,
1630+ this is redundant anyway and the nfs-common init script is gone now.
1631+ LP: #441855.
1632+
1633+ -- Steve Langasek <steve.langasek@ubuntu.com> Sat, 03 Oct 2009 23:07:09 -0700
1634+
1635+nfs-utils (1:1.2.0-2ubuntu2) karmic; urgency=low
1636+
1637+ * Configure gssd and idmapd upstart jobs to stop on runlevels 0 and 6; this
1638+ is consistent with previous initscript-based behavior, and spares upstart
1639+ trying to restart the jobs repeatedly when sendsigs runs.
1640+ * When autodetecting gssd, handle the case of 'sec=krb5' being embedded in
1641+ the middle of the options list in /etc/fstab. LP: #364861.
1642+ * Fix transition idempotency error when stopping old nfs-common init
1643+ script, in case the postinst fails to finish afterwards (e.g., failure to
1644+ restart the daemons).
1645+ * Fix statd upstart job to properly honor NEED_STATD=no and not get stuck
1646+ respawning indefinitely.
1647+ * Ignore failures to start the daemons on upgrade, since if they aren't
1648+ needed we don't *want* them to start. LP: #441055.
1649+ * Fix up the rpc_pipefs job, the wrong version of the file slipped into
1650+ the previous upload.
1651+
1652+ -- Steve Langasek <steve.langasek@ubuntu.com> Sat, 03 Oct 2009 01:52:21 +0000
1653+
1654+nfs-utils (1:1.2.0-2ubuntu1) karmic; urgency=low
1655+
1656+ * Drop nfs-common init script in favor of new upstart jobs. LP: #431248.
1657+ * Build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart init
1658+ handling.
1659+ * Depend the upstart-using version of portmap, 6.0-10ubuntu1; and drop the
1660+ alternative depends on rpcbind, which hasn't been converted.
1661+
1662+ -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 02 Oct 2009 19:23:19 +0000
1663+
1664 nfs-utils (1:1.2.0-2) unstable; urgency=low
1665
1666 * Merge from Ubuntu
1667diff --git a/debian/control b/debian/control
1668index 6a74306..547accf 100644
1669--- a/debian/control
1670+++ b/debian/control
1671@@ -1,9 +1,10 @@
1672 Source: nfs-utils
1673 Priority: optional
1674 Section: net
1675-Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
1676+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
1677+XSBC-Original-Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
1678 Uploaders: Anibal Monsalve Salazar <anibal@debian.org>, Ben Hutchings <benh@debian.org>, Steve Langasek <vorlon@debian.org>, Salvatore Bonaccorso <carnil@debian.org>
1679-Build-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, libxml2-dev
1680+Build-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, libxml2-dev, dh-apport
1681 Standards-Version: 4.6.2
1682 Homepage: https://linux-nfs.org/
1683 Vcs-Git: https://salsa.debian.org/kernel-team/nfs-utils.git
1684@@ -61,10 +62,20 @@ Architecture: any
1685 Multi-Arch: same
1686 Pre-Depends: ${misc:Pre-Depends}
1687 Depends: ${shlibs:Depends}, ${misc:Depends}
1688-Conflicts: libnfsidmap2, libnfsidmap-regex
1689-Provides: libnfsidmap2, libnfsidmap-regex
1690-Breaks: libnfsidmap2 (<< 0.25-7~), libnfsidmap-regex
1691-Replaces: libnfsidmap2 (<< 0.25-7~), libnfsidmap-regex
1692+Conflicts: libnfsidmap2
1693+Breaks: libnfsidmap2 (<< 0.25-7~)
1694+Replaces: libnfsidmap2 (<< 0.25-7~)
1695 Description: NFS idmapping library
1696 libnfsidmap provides functions to map between NFSv4 names (which are
1697 of the form user@domain) and local uid's and gid's.
1698+
1699+Package: libnfsidmap-regex
1700+Section: libs
1701+Architecture: any
1702+Multi-Arch: same
1703+Pre-Depends: ${misc:Pre-Depends}
1704+Depends: ${shlibs:Depends}, ${misc:Depends}
1705+Description: Plugin to map NFSv4 names to and from ids via regex
1706+ The regex plugin parses NFSv4 user and groups names using regex to extract the
1707+ local user or group. NFSv4 names are created by adding constant strings before
1708+ and after the local user and group names.
1709diff --git a/debian/libnfsidmap-regex.install b/debian/libnfsidmap-regex.install
1710new file mode 100644
1711index 0000000..555f60b
1712--- /dev/null
1713+++ b/debian/libnfsidmap-regex.install
1714@@ -0,0 +1 @@
1715+usr/lib/*/libnfsidmap/regex.so
1716diff --git a/debian/libnfsidmap1.docs b/debian/libnfsidmap1.docs
1717new file mode 100644
1718index 0000000..747afb7
1719--- /dev/null
1720+++ b/debian/libnfsidmap1.docs
1721@@ -0,0 +1 @@
1722+debian/README.Ubuntu
1723diff --git a/debian/libnfsidmap1.install b/debian/libnfsidmap1.install
1724index 2573d9e..a64297a 100644
1725--- a/debian/libnfsidmap1.install
1726+++ b/debian/libnfsidmap1.install
1727@@ -1,3 +1,5 @@
1728 usr/lib/*/lib*.so.*
1729-usr/lib/*/libnfsidmap/*.so
1730+usr/lib/*/libnfsidmap/nsswitch.so
1731+usr/lib/*/libnfsidmap/static.so
1732+usr/lib/*/libnfsidmap/umich_ldap.so
1733 usr/share/man/man5/idmapd.conf.5
1734diff --git a/debian/nfs-common.docs b/debian/nfs-common.docs
1735new file mode 100644
1736index 0000000..747afb7
1737--- /dev/null
1738+++ b/debian/nfs-common.docs
1739@@ -0,0 +1 @@
1740+debian/README.Ubuntu
1741diff --git a/debian/not-installed b/debian/not-installed
1742new file mode 100644
1743index 0000000..d970955
1744--- /dev/null
1745+++ b/debian/not-installed
1746@@ -0,0 +1,3 @@
1747+usr/lib/*/libnfsidmap/*.a
1748+usr/lib/*/libnfsidmap/*.la
1749+usr/lib/*/libnfsidmap.la
1750diff --git a/debian/patches/armhf-time-t-format-error.patch b/debian/patches/armhf-time-t-format-error.patch
1751new file mode 100644
1752index 0000000..d23fd62
1753--- /dev/null
1754+++ b/debian/patches/armhf-time-t-format-error.patch
1755@@ -0,0 +1,16 @@
1756+Description: cast to a type with a known size to ensure sprintf works
1757+Author: Vladimir Petko <vladimir.petko@canonical.com>
1758+Bug: https://bugzilla.kernel.org/show_bug.cgi?id=218540
1759+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/2055349
1760+Last-Update: 2024-02-29
1761+--- a/support/junction/export-cache.c
1762++++ b/support/junction/export-cache.c
1763+@@ -107,7 +107,7 @@
1764+ xlog(D_GENERAL, "%s: time(3) failed", __func__);
1765+ return FEDFS_ERR_SVRFAULT;
1766+ }
1767+- snprintf(flushtime, sizeof(flushtime), "%ld\n", now);
1768++ snprintf(flushtime, sizeof(flushtime), "%lld\n", (long long int)now);
1769+
1770+ for (i = 0; junction_proc_files[i] != NULL; i++) {
1771+ retval = junction_write_time(junction_proc_files[i], flushtime);
1772diff --git a/debian/patches/nfs-conf-manpage-missing-svcgssd-options.patch b/debian/patches/nfs-conf-manpage-missing-svcgssd-options.patch
1773new file mode 100644
1774index 0000000..b57ad8c
1775--- /dev/null
1776+++ b/debian/patches/nfs-conf-manpage-missing-svcgssd-options.patch
1777@@ -0,0 +1,19 @@
1778+Description: add missing svcgssd long options to nfs.conf(5)
1779+Author: Andreas Hasenack <andreas@canonical.com>
1780+Forwarded: https://marc.info/?l=linux-nfs&m=165635622607689&w=4
1781+Last-Update: 2022-06-27
1782+
1783+--- a/systemd/nfs.conf.man
1784++++ b/systemd/nfs.conf.man
1785+@@ -283,7 +283,10 @@
1786+ .TP
1787+ .B svcgssd
1788+ Recognized values:
1789+-.BR principal .
1790++.BR principal ,
1791++.BR verbosity ,
1792++.BR rpc-verbosity ,
1793++.BR idmap-verbosity .
1794+
1795+ See
1796+ .BR rpc.svcgssd (8)
1797diff --git a/debian/patches/series b/debian/patches/series
1798index cd3fe23..e37a3d9 100644
1799--- a/debian/patches/series
1800+++ b/debian/patches/series
1801@@ -1,3 +1,6 @@
1802 multiarch-kerberos-paths.patch
1803 always-run-generator.patch
1804 fsidd-call-anonymous-sockets-by-their-name-only-don-.patch
1805+ubuntu-idmapd-manpage-update-regex-other-package.patch
1806+nfs-conf-manpage-missing-svcgssd-options.patch
1807+armhf-time-t-format-error.patch
1808diff --git a/debian/patches/ubuntu-idmapd-manpage-update-regex-other-package.patch b/debian/patches/ubuntu-idmapd-manpage-update-regex-other-package.patch
1809new file mode 100644
1810index 0000000..cf63722
1811--- /dev/null
1812+++ b/debian/patches/ubuntu-idmapd-manpage-update-regex-other-package.patch
1813@@ -0,0 +1,12 @@
1814+--- a/support/nfsidmap/idmapd.conf.5
1815++++ b/support/nfsidmap/idmapd.conf.5
1816+@@ -158,6 +158,9 @@
1817+ .nf
1818+
1819+ .fi
1820++.B NOTE:
1821++In Ubuntu, the regex plugin is shipped in the libnfsidmap-regex package. If you want to use this plugin, please install that package.
1822++
1823+ If the "regex" translation method is specified, the following
1824+ variables within the [REGEX] section are used to map between NFS4 names and local IDs.
1825+ .TP
1826diff --git a/debian/rules b/debian/rules
1827index e3fe8a0..a26b266 100755
1828--- a/debian/rules
1829+++ b/debian/rules
1830@@ -9,7 +9,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
1831 include /usr/share/dpkg/architecture.mk
1832
1833 %:
1834- dh $@
1835+ dh $@ --with apport
1836
1837 override_dh_auto_configure:
1838 # Use --with-systemd=/lib/systemd/system if backporting to bookworm or earlier
1839@@ -46,3 +46,6 @@ override_dh_md5sums:
1840
1841 override_dh_missing:
1842 dh_missing --list-missing
1843+
1844+override_dh_apport:
1845+ dh_apport -pnfs-common
1846diff --git a/debian/source.apport b/debian/source.apport
1847new file mode 100644
1848index 0000000..6ea9c65
1849--- /dev/null
1850+++ b/debian/source.apport
1851@@ -0,0 +1,32 @@
1852+#!/usr/bin/python3
1853+
1854+'''NFS Apport Interface
1855+
1856+Copyright (C) 2022 Canonical Ltd
1857+Author: Andreas Hasenack <andreas@canonical.com>
1858+
1859+This program is free software; you can redistribute it and/or modify it
1860+under the terms of the GNU General Public License as published by the
1861+Free Software Foundation; either version 2 of the License, or (at your
1862+option) any later version. See http://www.gnu.org/copyleft/gpl.html for
1863+the full text of the license.
1864+'''
1865+
1866+from apport.hookutils import (
1867+ attach_file_if_exists,
1868+ command_output,
1869+ recent_syslog,
1870+)
1871+from glob import glob
1872+import re
1873+
1874+def add_info(report, ui):
1875+ file_list = ["/etc/nfs.conf","/etc/default/nfs-common", "/etc/default/nfs-kernel-server"]
1876+ file_list.extend(glob("/etc/nfs.conf.d/*.conf"))
1877+ file_list.append("/etc/exports")
1878+ file_list.append("/etc/request-key.d/id_resolver.conf")
1879+ for f in file_list:
1880+ attach_file_if_exists(report, f)
1881+ report["SyslogNFS"] = recent_syslog(re.compile("(rpc\.(nfsd|gssd|svcgssd|statd|mountd|idmapd)|blkmapd|nfsdcld|nfsidmap)\["))
1882+ report["NFSMounts"] = command_output(["findmnt", "-n", "-t", "nfs"])
1883+ report["NFSv4Mounts"] = command_output(["findmnt", "-n", "-t", "nfs4"])
1884diff --git a/debian/tests/control b/debian/tests/control
1885index dea3f82..8232531 100644
1886--- a/debian/tests/control
1887+++ b/debian/tests/control
1888@@ -2,3 +2,14 @@ Tests: local-server-client
1889 Depends: nfs-kernel-server
1890 # we need machine isolation as we need to modprobe stuff
1891 Restrictions: needs-root, isolation-machine, breaks-testbed
1892+
1893+Tests: kerberos-mount
1894+Depends: nfs-kernel-server, krb5-kdc, krb5-admin-server, krb5-user, keyutils
1895+Restrictions: needs-root, isolation-machine, breaks-testbed
1896+
1897+Tests: v3-mount
1898+Depends: nfs-kernel-server
1899+# this one allow stderr because when mounting nfsv3, a systemd message
1900+# about statd being started shows up, and I rather not supress stderr
1901+# in the mount command
1902+Restrictions: needs-root, isolation-machine, breaks-testbed, allow-stderr
1903diff --git a/debian/tests/kerberos-mount b/debian/tests/kerberos-mount
1904new file mode 100755
1905index 0000000..9ea2f52
1906--- /dev/null
1907+++ b/debian/tests/kerberos-mount
1908@@ -0,0 +1,38 @@
1909+#!/bin/sh
1910+
1911+set -e
1912+
1913+. debian/tests/util
1914+
1915+cleanup() {
1916+ umount /mnt || :
1917+}
1918+
1919+trap cleanup EXIT
1920+
1921+myhostname="nfs-server.dep8"
1922+myrealm="DEP8"
1923+hello="Hello from NFS server $$"
1924+
1925+adjust_hostname "${myhostname}"
1926+
1927+create_realm ${myrealm} ${myhostname}
1928+
1929+for p in "nfs/${myhostname}" "host/${myhostname}"; do
1930+ create_krb_svc_principal "${p}"
1931+ extract_principal_key_into_keytab "${p}"
1932+done
1933+
1934+# or else clients have to wait 90s by default
1935+nfsconf --set nfsd grace-time 10
1936+systemctl restart nfs-server.service nfs-client.target
1937+
1938+mkdir -p /storage
1939+echo "${hello}" > /storage/hello.txt
1940+
1941+echo "/storage *(sec=krb5p,rw,sync,no_subtree_check)" > /etc/exports
1942+exportfs -rav
1943+
1944+mount "${myhostname}":/storage /mnt
1945+findmnt -n -t nfs4 | grep -E "/storage.*vers=4.*sec=krb5p"
1946+grep "${hello}" /mnt/hello.txt
1947diff --git a/debian/tests/util b/debian/tests/util
1948new file mode 100644
1949index 0000000..cd8c9e2
1950--- /dev/null
1951+++ b/debian/tests/util
1952@@ -0,0 +1,89 @@
1953+#!/bin/sh
1954+
1955+die() {
1956+ echo "ERROR"
1957+ echo "$@"
1958+ exit 1
1959+}
1960+
1961+adjust_hostname() {
1962+ local myhostname="$1"
1963+
1964+ echo "${myhostname}" > /etc/hostname
1965+ hostname "${myhostname}"
1966+ if ! grep -qE "${myhostname}" /etc/hosts; then
1967+ # just so it's resolvable
1968+ echo "127.0.1.10 ${myhostname}" >> /etc/hosts
1969+ fi
1970+}
1971+
1972+create_realm() {
1973+ local realm_name="$1"
1974+ local kerberos_server="$2"
1975+
1976+ # start fresh
1977+ rm -rf /var/lib/krb5kdc/*
1978+ rm -rf /etc/krb5kdc/*
1979+ rm -f /etc/krb5.keytab
1980+
1981+ # setup some defaults
1982+ cat > /etc/krb5kdc/kdc.conf <<EOF
1983+[kdcdefaults]
1984+ kdc_ports = 750,88
1985+[realms]
1986+ ${realm_name} = {
1987+ database_name = /var/lib/krb5kdc/principal
1988+ admin_keytab = FILE:/etc/krb5kdc/kadm5.keytab
1989+ acl_file = /etc/krb5kdc/kadm5.acl
1990+ key_stash_file = /etc/krb5kdc/stash
1991+ kdc_ports = 750,88
1992+ max_life = 10h 0m 0s
1993+ max_renewable_life = 7d 0h 0m 0s
1994+ master_key_type = des3-hmac-sha1
1995+ #supported_enctypes = aes256-cts:normal aes128-cts:normal
1996+ default_principal_flags = +preauth
1997+ }
1998+EOF
1999+
2000+ cat > /etc/krb5.conf <<EOF
2001+[libdefaults]
2002+ default_realm = ${realm_name}
2003+ kdc_timesync = 1
2004+ ccache_type = 4
2005+ forwardable = true
2006+ proxiable = true
2007+ fcc-mit-ticketflags = true
2008+[realms]
2009+ ${realm_name} = {
2010+ kdc = ${kerberos_server}
2011+ admin_server = ${kerberos_server}
2012+ }
2013+EOF
2014+ echo "# */admin *" > /etc/krb5kdc/kadm5.acl
2015+
2016+ # create the realm
2017+ kdb5_util create -s -P secretpassword
2018+
2019+ # restart services
2020+ systemctl restart krb5-kdc.service krb5-admin-server.service
2021+}
2022+
2023+create_krb_principal() {
2024+ local principal="$1"
2025+ local password="$2"
2026+
2027+ kadmin.local -q "addprinc -pw ${password} ${principal}" 2>/dev/null
2028+}
2029+
2030+create_krb_svc_principal() {
2031+ local principal="$1"
2032+
2033+ kadmin.local -q "addprinc -randkey ${principal}" 2>/dev/null
2034+}
2035+
2036+extract_principal_key_into_keytab() {
2037+ local principal="$1"
2038+
2039+ kadmin.local -q "ktadd ${principal}"
2040+}
2041+
2042diff --git a/debian/tests/v3-mount b/debian/tests/v3-mount
2043new file mode 100755
2044index 0000000..7eb5e6b
2045--- /dev/null
2046+++ b/debian/tests/v3-mount
2047@@ -0,0 +1,34 @@
2048+#!/bin/sh
2049+
2050+set -e
2051+
2052+cleanup() {
2053+ umount /mnt || :
2054+}
2055+
2056+hello="Hello from NFS server $$"
2057+mkdir -p /storage
2058+echo "${hello}" > /storage/hello.txt
2059+
2060+echo "/storage *(sec=sys,rw,sync,no_subtree_check)" > /etc/exports
2061+exportfs -rav
2062+
2063+# stop statd if it's running, because we will check later if it
2064+# was started automatically for the NFSv3 mount as it should
2065+if pidof rpc.statd > /dev/null 2>&1; then
2066+ systemctl stop rpc-statd.service > /dev/null 2>&1 || :
2067+ pidof rpc.statd > /dev/null 2>&1 && {
2068+ echo "couldn't kill rpc.statd before the NFSv3 test"
2069+ exit 1
2070+ }
2071+fi
2072+
2073+mount localhost:/storage /mnt -o vers=3
2074+grep "${hello}" /mnt/hello.txt
2075+
2076+pidof rpc.statd > /dev/null 2>&1 || {
2077+ echo "rpc.statd isn't running after the NVSv3 mount, and it should..."
2078+ exit 1
2079+}
2080+
2081+findmnt -n -t nfs | grep -E "/storage.*vers=3.*sec=sys"

Subscribers

People subscribed via source and target branches