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

Proposed by Vladimir Petko
Status: Merged
Merge reported by: Andreas Hasenack
Merged at revision: 8f29204ba56ce3adf1e7fe109cf3142320666d15
Proposed branch: ~vpa1977/ubuntu/+source/nfs-utils:merge-lp2030474
Merge into: ubuntu/+source/nfs-utils:debian/sid
Diff against target: 2010 lines (+1672/-8)
17 files modified
debian/README.Ubuntu (+30/-0)
debian/changelog (+1375/-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/nfs-conf-manpage-missing-svcgssd-options.patch (+19/-0)
debian/patches/series (+2/-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
Athos Ribeiro (community) Approve
git-ubuntu import Pending
Review via email: mp+448656@code.launchpad.net

Description of the change

This merge proposal contains of nfs-utils 2.1.6

Summary of changes:
 - rebased existing commits, resolved conflicts in d/p/series changes.
 - dropped patch integrated upstream:
    - Rely on the generator units for the rpc_pipefs mount (LP #1971935):
      + d/p/always-run-generator.patch: run the generator even if the
        config differs from the built-in default
      + d/rules: exclude the units we will let the generator produce

PPA: ppa:vpa1977/nfs-utils [1]

Testing:
 - install/upgrade/removal testing with piuparts passes (see comment)
 - autopkgtest passes:
$autopkgtest -U -s -o logs --setup-commands="sudo add-apt-repository -y -u -s ppa:vpa1977/nfs-utils" -B nfs-utils -- qemu ~/.auto-img/autopkgtest-mantic-amd64.img
....
autopkgtest [14:37:49]: @@@@@@@@@@@@@@@@@@@@ summary
local-server-client PASS
kerberos-mount PASS
v3-mount PASS
qemu-system-x86_64: terminating on signal 15 from pid 1001504 (/usr/bin/python3)

[1] https://launchpad.net/~vpa1977/+archive/ubuntu/nfs-utils

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

Install/Remove/Upgrade testing
------------------
0m0.0s INFO: ------------------------------------------------------------------------------
0m0.0s INFO: To quickly glance what went wrong, scroll down to the bottom of this logfile.
0m0.0s INFO: FAQ available at https://wiki.debian.org/piuparts/FAQ
0m0.0s INFO: The FAQ also explains how to contact us in case you think piuparts is wrong.
0m0.0s INFO: ------------------------------------------------------------------------------
0m0.0s INFO: piuparts version 1.1.7 starting up.
0m0.0s INFO: Command line arguments: /usr/sbin/piuparts nfs-utils_2.6.3-3ubuntu1_amd64.changes --scriptsdir=/home/vladimirp/piuscripts
0m0.0s INFO: Running on: Linux vladimirp 6.2.0-25-generic #25-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 16 17:05:07 UTC 2023 x86_64
0m0.0s DEBUG: Starting command: ['dpkg', '--info', 'libnfsidmap-dev_2.6.3-3ubuntu1_amd64.deb']
0m0.0s DUMP:
   new Debian package, version 2.0.
   size 26426 bytes: control archive=737 bytes.
       690 bytes, 18 lines control
       352 bytes, 5 lines md5sums
   Package: libnfsidmap-dev
   Source: nfs-utils
   Version: 1:2.6.3-3ubuntu1
   Architecture: amd64
   Maintainer: Ubuntu Developers <email address hidden>
   Installed-Size: 113
   Depends: libnfsidmap1 (= 1:2.6.3-3ubuntu1)
   Section: libdevel
   Priority: optional
   Multi-Arch: same
   Homepage: https://linux-nfs.org/
   Description: header files and docs for libnfsidmap
    Contains the header files and documentation for libnfsidmap
    for use in developing applications that use the libnfsidmap library.
    .
    libnfsidmap provides functions to map between NFSv4 names (which are
    of the form user@domain) and local uid's and gid's.
   Original-Maintainer: Debian kernel team <email address hidden>
0m0.0s DEBUG: Command ok: ['dpkg', '--info', 'libnfsidmap-dev_2.6.3-3ubuntu1_amd64.deb']
0m0.0s DEBUG: Starting command: ['dpkg', '--info', 'libnfsidmap-regex_2.6.3-3ubuntu1_amd64.deb']
0m0.0s DUMP:
   new Debian package, version 2.0.
   size 16476 bytes: control archive=659 bytes.
       629 bytes, 16 lines control
       242 bytes, 3 lines md5sums
   Package: libnfsidmap-regex
   Source: nfs-utils
   Version: 1:2.6.3-3ubuntu1
   Architecture: amd64
   Maintainer: Ubuntu Developers <email address hidden>
   Installed-Size: 42
   Depends: libc6 (>= 2.14)
   Section: libs
   Priority: optional
   Multi-Arch: same
   Homepage: https://linux-nfs.org/
   Description: Plugin to map NFSv4 names to and from ids via regex
    The regex plugin parses NFSv4 user and groups names using regex to extract the
    local user or group. NFSv4 names are created by adding constant strings before
    and after the local user and group names.
   Original-Maintainer: Debian kernel team <email address hidden>
0m0.0s DEBUG: Command ok: ['dpkg', '--info', 'libnfsidmap-regex_2.6.3-3ubuntu1_amd64.deb']
0m0.0s DEBUG: Starting command: ['dpkg', '--info', 'libnfsidmap1_2.6.3-3ubuntu1_amd64.deb']
0m0.0s DUMP:
   new Debian package, version 2.0.
   size 47696 bytes: control archive=947 bytes.
  ...

Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :

- Tags look sane.
- Dropped patch checks out
- range-diff from old/debian..logical new/debian..HEAD looks sane

DEP8 results for the linked PPA:

* Results:
  - nfs-utils/1:2.6.3-3ubuntu1~ppa3
    + ✅ nfs-utils on mantic for amd64 @ 09.08.23 17:38:05
    + ✅ nfs-utils on mantic for arm64 @ 09.08.23 17:51:19
    + ✅ nfs-utils on mantic for armhf @ 09.08.23 17:33:33
    + ❌ nfs-utils on mantic for i386 @ 09.08.23 17:37:30
      • 415s FAIL 🟥
      • 415s FAIL 🟥
      • 415s FAIL 🟥
    + ✅ nfs-utils on mantic for ppc64el @ 09.08.23 17:49:45
    + ✅ nfs-utils on mantic for s390x @ 09.08.23 17:38:53

the i386 failure is not a regression -> https://autopkgtest.ubuntu.com/packages/n/nfs-utils

review: Approve
Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :

Uploaded.

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

This was done long ago, marking as merged.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/debian/README.Ubuntu b/debian/README.Ubuntu
0new file mode 1006440new file mode 100644
index 0000000..bf80042
--- /dev/null
+++ b/debian/README.Ubuntu
@@ -0,0 +1,30 @@
1# New configuration file
2
3nfs-common and nfs-kernel-server use a common configuration file /etc/nfs.conf.
4They also support a /etc/nfs.conf.d/*.conf structure.
5
6If there are local modifications to either /etc/default/nfs-common or
7/etc/default/nfs-kernel-server as installed by previous versions of the
8corresponding Debian packages, nfs-common will attempt a migration to the new
9configuration file. This migration is done by calling the
10/usr/share/nfs-common/nfsconvert.py script in postinst.
11
12Upon success, the script will produce /etc/nfs.conf.d/local.conf with the local
13customizations specified in those older config files, while /etc/nfs.conf will
14remain with the default settings.
15
16If the migration fails for some reason, the package installation will fail and
17manual intervention will be required. This will probably involve temporarily
18removing the offending configuration option that was not handled by the
19migration script and configuring the package again. Please consult nfs.conf(5)
20and each daemon's manpage to determine how to translate the command line
21options previously defined in /etc/default/nfs-* to the new configuration file
22format.
23
24# Services
25
26All NFS related services are enabled by default. This means that depending on
27the NFS version that you intend to use, some services might be superfluous.
28For example, if you never intend to serve NFSv3, then you can safely disable
29the rpc-statd.service unit. Note that some NFSv4 service units will start only
30if Kerberos is setup.
diff --git a/debian/changelog b/debian/changelog
index e826b21..f32aa89 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,41 @@
1nfs-utils (1:2.6.3-3ubuntu1) mantic; urgency=medium
2
3 * Merge with Debian unstable (LP: #2030474). Remaining changes:
4 - d/control: don't provide libnfsidmap2 in libnfsidmap1. This
5 package contains not only plugins, but an actual shared library,
6 with a different soname.
7 - Update README file:
8 + d/README.Ubuntu: new /etc/nfs.conf config structure
9 + d/libnfsidmap1.docs, d/nfs-common.docs: install README.Ubuntu
10 - New apport hook (LP #1961058):
11 + d/source.apport: apport hook for nfs-utils
12 + d/control: build-depend dh-apport
13 + d/rules: build with apport, and install the hook in the
14 nfs-common package which is installed on both client and servers
15 - Add more DEP8 tests (LP #1960828):
16 + d/t/{control,kerberos-mount,util}: test NFSv4 krb5p mounts
17 + d/t/{control, v3-mount}: specific NFSv3 mount test
18 - Move the regex module to a separate binary package libnfsidmap-regex
19 (LP #1974067):
20 + d/control: new package, adjust breaks/conflicts
21 + d/libnfsidmap-regex.install: install the plugin file
22 + d/libnfsidmap1.install: don't install regex.so
23 + d/p/ubuntu-idmapd-manpage-update-regex-other-package.patch:
24 note that the regex plugin is in another package
25 - rpc.svcgssd fixes and improvements (LP #1977745):
26 + d/p/nfs-conf-manpage-missing-svcgssd-options.patch: also
27 document the missing svcgssd options to the nfs.conf(5) manpage
28 - d/not-installed: mark files we knowingly don't include in the
29 packaging
30 * Dropped changes:
31 - Rely on the generator units for the rpc_pipefs mount (LP #1971935):
32 + d/p/always-run-generator.patch: run the generator even if the
33 config differs from the built-in default
34 + d/rules: exclude the units we will let the generator produce
35 [Fixed in 1:2.6.3-1]
36
37 -- Vladimir Petko <vladimir.petko@canonical.com> Tue, 08 Aug 2023 09:54:52 +1200
38
1nfs-utils (1:2.6.3-3) unstable; urgency=medium39nfs-utils (1:2.6.3-3) unstable; urgency=medium
240
3 * nfs-idmapd.service: add network-online.target to Wants= and After=41 * nfs-idmapd.service: add network-online.target to Wants= and After=
@@ -59,6 +97,50 @@ nfs-utils (1:2.6.3-1~exp1) experimental; urgency=medium
5997
60 -- Salvatore Bonaccorso <carnil@debian.org> Sun, 23 Apr 2023 18:08:07 +020098 -- Salvatore Bonaccorso <carnil@debian.org> Sun, 23 Apr 2023 18:08:07 +0200
6199
100nfs-utils (1:2.6.2-4ubuntu1) lunar; urgency=medium
101
102 * Merge with Debian unstable. Remaining changes:
103 - d/control: don't provide libnfsidmap2 in libnfsidmap1. This
104 package contains not only plugins, but an actual shared library,
105 with a different soname.
106 - Update README file:
107 + d/README.Ubuntu: new /etc/nfs.conf config structure
108 + d/libnfsidmap1.docs, d/nfs-common.docs: install README.Ubuntu
109 - New apport hook (LP #1961058):
110 + d/source.apport: apport hook for nfs-utils
111 + d/control: build-depend dh-apport
112 + d/rules: build with apport, and install the hook in the
113 nfs-common package which is installed on both client and servers
114 - Add more DEP8 tests (LP #1960828):
115 + d/t/{control,kerberos-mount,util}: test NFSv4 krb5p mounts
116 + d/t/{control, v3-mount}: specific NFSv3 mount test
117 - Move the regex module to a separate binary package libnfsidmap-regex
118 (LP #1974067):
119 + d/control: new package, adjust breaks/conflicts
120 + d/libnfsidmap-regex.install: install the plugin file
121 + d/libnfsidmap1.install: don't install regex.so
122 [missed in previous d/changelog]
123 + d/p/ubuntu-idmapd-manpage-update-regex-other-package.patch:
124 note that the regex plugin is in another package
125 - rpc.svcgssd fixes and improvements (LP #1977745):
126 + d/p/nfs-conf-manpage-missing-svcgssd-options.patch: also
127 document the missing svcgssd options to the nfs.conf(5) manpage
128 - Rely on the generator units for the rpc_pipefs mount
129 (LP #1971935):
130 + d/p/always-run-generator.patch: run the generator even if the
131 config differs from the built-in default
132 + d/rules: exclude the units we will let the generator produce
133 [Missed in previous d/changelog]
134 - d/not-installed: mark files we knowingly don't include in the
135 packaging
136 [Missed in previous d/changelog]
137 * Dropped:
138 - d/rules: re-add hardening option lost from the src:libnfsidmap to
139 src:nfs-utils transition (LP: #1980095)
140 [In 1:2.6.2-1~exp1]
141
142 -- Andreas Hasenack <andreas@canonical.com> Sun, 19 Feb 2023 14:49:53 -0300
143
62nfs-utils (1:2.6.2-4) unstable; urgency=medium144nfs-utils (1:2.6.2-4) unstable; urgency=medium
63145
64 [ Guillem Jover ]146 [ Guillem Jover ]
@@ -86,6 +168,39 @@ nfs-utils (1:2.6.2-3) unstable; urgency=medium
86168
87 -- Salvatore Bonaccorso <carnil@debian.org> Tue, 06 Dec 2022 16:38:32 +0100169 -- Salvatore Bonaccorso <carnil@debian.org> Tue, 06 Dec 2022 16:38:32 +0100
88170
171nfs-utils (1:2.6.2-2ubuntu1) lunar; urgency=low
172
173 * Merge from Debian unstable. Remaining changes:
174 - d/control: don't provide libnfsidmap2 in libnfsidmap1. This
175 package contains not only plugins, but an actual shared library,
176 with a different soname.
177 - Update README file:
178 + d/README.Ubuntu: new /etc/nfs.conf config structure
179 + d/libnfsidmap1.docs, d/nfs-common.docs: install README.Ubuntu
180 - New apport hook (LP #1961058):
181 + d/source.apport: apport hook for nfs-utils
182 + d/control: build-depend dh-apport
183 + d/rules: build with apport, and install the hook in the
184 nfs-common package which is installed on both client and servers
185 - Add more DEP8 tests (LP #1960828):
186 + d/t/{control,kerberos-mount,util}: test NFSv4 krb5p mounts
187 + d/t/{control, v3-moun}t: specific NFSv3 mount test
188 - Move the regex module to a separate binary package libnfsidmap-regex
189 (LP: #1974067):
190 + d/control: new package
191 + d/libnfsidmap-regex.install: install the plugin file
192 + d/not-installed: remove the plugin from the not-installed list
193 + d/p/remove-regex-from-docs.patch: deleted
194 + d/p/ubuntu-idmapd-manpage-update-regex-other-package.patch:
195 note that the regex plugin is in another package
196 - rpc.svcgssd fixes and improvements (LP: #1977745):
197 + d/p/nfs-conf-manpage-missing-svcgssd-options.patch: also
198 document the missing svcgssd options to the nfs.conf(5) manpage
199 - d/README.Ubuntu: updated with the content of the previous d/NEWS
200 file
201
202 -- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Fri, 25 Nov 2022 10:40:08 +0100
203
89nfs-utils (1:2.6.2-2) unstable; urgency=medium204nfs-utils (1:2.6.2-2) unstable; urgency=medium
90205
91 [ Debian Janitor ]206 [ Debian Janitor ]
@@ -121,6 +236,96 @@ nfs-utils (1:2.6.2-1~exp1) experimental; urgency=medium
121236
122 -- Salvatore Bonaccorso <carnil@debian.org> Sun, 21 Aug 2022 22:41:04 +0200237 -- Salvatore Bonaccorso <carnil@debian.org> Sun, 21 Aug 2022 22:41:04 +0200
123238
239nfs-utils (1:2.6.1-2ubuntu5) lunar; urgency=medium
240
241 * d/p/blkmapd-fix-invalid-free.patch: fix blkmapd crash due to invalid
242 free() (LP: #1979885)
243
244 -- Andreas Hasenack <andreas@canonical.com> Fri, 28 Oct 2022 08:26:52 -0300
245
246nfs-utils (1:2.6.1-2ubuntu4) kinetic; urgency=medium
247
248 * No-change rebuild against libevent-core-2.1-7a
249
250 -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 07 Oct 2022 21:23:03 +0000
251
252nfs-utils (1:2.6.1-2ubuntu3) kinetic; urgency=medium
253
254 * d/p/fix-format-overflow-warning.patch: fix a format-overflow warning
255 from gcc which was failing the build
256
257 -- Andreas Hasenack <andreas@canonical.com> Thu, 28 Jul 2022 20:39:54 +0000
258
259nfs-utils (1:2.6.1-2ubuntu2) kinetic; urgency=medium
260
261 * Rely on the generator units for the rpc_pipefs mount
262 (LP: #1971935):
263 - d/p/always-run-generator.patch: run the generator even if the
264 config differs from the built-in default
265 - d/rules: exclude the units we will let the generator produce
266
267 -- Andreas Hasenack <andreas@canonical.com> Thu, 07 Jul 2022 21:08:11 +0000
268
269nfs-utils (1:2.6.1-2ubuntu1) kinetic; urgency=medium
270
271 * Merge with Debian unstable (LP: #1974233). Remaining changes:
272 - d/control: don't provide libnfsidmap2 in libnfsidmap1. This
273 package contains not only plugins, but an actual shared library,
274 with a different soname.
275 - Don't install the regex module, as it's built by
276 src:libnfsidmap-regex which is in Universe (MIR: #1960824)
277 + d/control: don't conflict/break/etc with libnfsidmap-regex
278 + d/libnfsidmap1.install: don't install regex.so
279 + d/not-installed: mark files we knowingly don't include in the
280 packaging
281 + d/p/remove-regex-from-docs.patch: remove the regex section from
282 the idmapd.conf(5) manpage, as we are not building that plugin in
283 this package
284 - Update README file:
285 + d/README.Ubuntu: new /etc/nfs.conf config structure
286 + d/libnfsidmap1.docs, d/nfs-common.docs: install README.Ubuntu
287 - d/nfs-common.postrm: also purge /etc/nfs.conf.d/local.conf
288 - d/nfs-common.dirs: we also own /etc/nfs.conf.d
289 - New apport hook (LP #1961058):
290 + d/source.apport: apport hook for nfs-utils
291 + d/control: build-depend dh-apport
292 + d/rules: build with apport, and install the hook in the
293 nfs-common package which is installed on both client and servers
294 - Add more DEP8 tests (LP #1960828):
295 + d/t/{control,kerberos-mount,util}: test NFSv4 krb5p mounts
296 + d/t/{control, v3-moun}t: specific NFSv3 mount test
297 * Dropped:
298 - d/nfsconvert.py: add short "u" option for mountd's no-udp
299 [Included in 1:2.6.1-2]
300 - d/NEWS: explain some of the major changes in 2.6.x
301 [Obsoleted by Debian's update to the per-package NEWS files]
302 - d/nfs-*.bug-script: update to also include /etc/nfs.conf and
303 /etc/nfs.conf.d/*.conf
304 [Included in 1:2.6.1-2]
305 * Added changes:
306 - New binary package libnfsidmap-regex (LP: #1974067):
307 + d/control: new package
308 + d/libnfsidmap-regex.install: install the plugin file
309 + d/not-installed: remove the plugin from the not-installed list
310 + d/p/remove-regex-from-docs.patch: deleted
311 + d/p/ubuntu-idmapd-manpage-update-regex-other-package.patch:
312 note that the regex plugin is in another package
313 - rpc.svcgssd fixes and improvements (LP: #1977745):
314 + d/p/svcgssd-fix-use-after-free.patch: fix use-after-free which was
315 preventing svcgssd options set in /etc/nfs.conf from being used
316 + d/p/svcgssd-display-principal-if-set.patch: improve logging,
317 showing the expected principal name if it was set in the config
318 + d/p/svcgssd-document-missing-options.patch: add missing options to
319 the svcgssd manpage
320 + d/p/nfs-conf-manpage-missing-svcgssd-options.patch: also
321 document the missing svcgssd options to the nfs.conf(5) manpage
322 - d/README.Ubuntu: updated with the content of the previous d/NEWS
323 file
324 - d/rules: re-add hardening option lost from the src:libnfsidmap to
325 src:nfs-utils transition (LP: #1980095)
326
327 -- Andreas Hasenack <andreas@canonical.com> Tue, 28 Jun 2022 10:59:36 -0300
328
124nfs-utils (1:2.6.1-2) unstable; urgency=medium329nfs-utils (1:2.6.1-2) unstable; urgency=medium
125330
126 [ Andreas Hasenack ]331 [ Andreas Hasenack ]
@@ -147,6 +352,51 @@ nfs-utils (1:2.6.1-2) unstable; urgency=medium
147352
148 -- Salvatore Bonaccorso <carnil@debian.org> Tue, 12 Apr 2022 12:20:44 +0200353 -- Salvatore Bonaccorso <carnil@debian.org> Tue, 12 Apr 2022 12:20:44 +0200
149354
355nfs-utils (1:2.6.1-1ubuntu1) jammy; urgency=medium
356
357 * Merge with Debian unstable (LP: #1960829). Remaining changes:
358 - d/control: don't provide libnfsidmap2 in libnfsidmap1. This
359 package contains not only plugins, but an actual shared library,
360 with a different soname.
361 - d/NEWS: explain some of the major changes in 2.6.x
362 - Don't install the regex module, as it's built by
363 src:libnfsidmap-regex which is in Universe (MIR: #1960824)
364 + d/control: don't conflict/break/etc with libnfsidmap-regex
365 + d/libnfsidmap1.install: don't install regex.so
366 + d/not-installed: mark files we knowingly don't include in the
367 packaging
368 + d/p/remove-regex-from-docs.patch: remove the regex section from
369 the idmapd.conf(5) manpage, as we are not building that plugin in
370 this package
371 - Update README files:
372 + d/README.Ubuntu: explains some of the packaging decisions
373 + d/README.Debian.nfsv4: removed as the content is out of date
374 + d/nfs-common.docs: install README.Ubuntu instead of
375 README.Debian.nfsv4
376 + d/libnfsidmap1.docs: install README.Ubuntu
377 * Dropped:
378 - d/nfs-common.postinst: always start nfs-utils.service, so the restart in
379 the #DEBHELPER# section can do its job if needed
380 [Fixed with the upstream re-arrangement of systemd units]
381 * Added:
382 - d/nfsconvert.py: add short "u" option for mountd's no-udp
383 - d/NEWS: update
384 - d/nfs-common.postrm: also purge /etc/nfs.conf.d/local.conf
385 - d/nfs-common.dirs: we also own /etc/nfs.conf.d
386 - d/README.Ubuntu: update
387 - d/nfs-*.bug-script: update to also include /etc/nfs.conf and
388 /etc/nfs.conf.d/*.conf
389 - New apport hook (LP: #1961058):
390 + d/source.apport: apport hook for nfs-utils
391 + d/control: build-depend dh-apport
392 + d/rules: build with apport, and install the hook in the
393 nfs-common package which is installed on both client and servers
394 - Add more DEP8 tests (LP: #1960828):
395 + d/t/{control,kerberos-mount,util}: test NFSv4 krb5p mounts
396 + d/t/{control, v3-moun}t: specific NFSv3 mount test
397
398 -- Andreas Hasenack <andreas@canonical.com> Fri, 04 Mar 2022 17:44:10 -0300
399
150nfs-utils (1:2.6.1-1) unstable; urgency=medium400nfs-utils (1:2.6.1-1) unstable; urgency=medium
151401
152 [ Ben Hutchings ]402 [ Ben Hutchings ]
@@ -169,6 +419,65 @@ nfs-utils (1:2.6.1-1) unstable; urgency=medium
169419
170 -- Ben Hutchings <benh@debian.org> Thu, 24 Feb 2022 14:54:49 +0100420 -- Ben Hutchings <benh@debian.org> Thu, 24 Feb 2022 14:54:49 +0100
171421
422nfs-utils (1:2.6.1-1~exp1ubuntu1) jammy; urgency=medium
423
424 * Merge with Debian experimental (LP: #1878601, #1812280). Remaining
425 changes:
426 - d/nfs-common.postinst: always start nfs-utils.service, so the restart in
427 the #DEBHELPER# section can do its job if needed
428 * Dropped:
429 - Add remove-gssproxy.patch: Drop gssproxy as it does not exist in Ubuntu
430 [Ubuntu has it, but not in main]
431 - debian/nfs-common.default: remove NEED_STATD and related comment.
432 [/etc/default/nfs-* files are no longer used]
433 - debian/nfs-common.default: always start idmapd automatically; drop the
434 configuration option.
435 [/etc/default/nfs-* files are no longer used]
436 - Add 90-gss-free-lucid-sec-context.patch: adjust for changes to the ctx
437 argument of the serialize_krb5_ctx() function.
438 [Was only needed when libgssglue-dev was used for build, which it
439 isn't since nfs-utils 1:1.2.8-7]
440 - Fixing nfs-mountd dependency on rpcbind (race condition) by adding
441 "rpcbind.socket" to "nfs-mountd.service" as a dependency to avoid race
442 conditions:
443 - Add systemd-Fix-nfs-mountd-dependency-on-rpcbind.patch
444 [Fixed upstream]
445 - truncate_gid*.patch: Backports from upstream to prevent truncating UIDs
446 and GIDs over 65536 on certain architectures
447 [Fixed upstream]
448 - d/p/fix-start-ordering-1.patch, d/p/fix-start-ordering-2.patch, d/p/fix-
449 start-ordering-3.patch, d/nfs-kernel-server.install: Fix systemd service
450 start ordering
451 [Fixed upstream. Patch 3 we don't need anymore because now the pkg
452 is built with --with-systemd]
453 - Depend on network-online.target when starting services.
454 - d/p/lp1918141-use-network-online-target-01.patch: Declare a
455 Wants=network-online.target on all NFS server services.
456 - d/p/lp1918141-use-network-online-target-02.patch: Declare a
457 After=network-online.target on all NFS server services. Thanks to
458 Niklas Edmundsson for helping with the reproducer.
459 [Fixed upstream]
460 * Added:
461 - d/control: don't provide libnfsidmap2 in libnfsidmap1
462 - d/NEWS: explain some of the major changes in 2.6.x
463 - Don't install the regex module, as it's built by
464 src:libnfsidmap-regex which is in Universe (MIR: #1960824)
465 + d/control: don't conflict/break/etc with libnfsidmap-regex
466 + d/libnfsidmap1.install: don't install regex.so
467 + d/not-installed: mark files we knowingly don't include in the
468 packaging
469 + d/p/remove-regex-from-docs.patch: remove the regex section from
470 the idmapd.conf(5) manpage, as we are not building that plugin in
471 this package
472 - Update README files:
473 + d/README.Ubuntu: explains some of the packaging decisions
474 + d/README.Debian.nfsv4: removed as the content is out of date
475 + d/nfs-common.docs: install README.Ubuntu instead of
476 README.Debian.nfsv4
477 + d/libnfsidmap1.docs: install README.Ubuntu
478
479 -- Andreas Hasenack <andreas@canonical.com> Wed, 16 Feb 2022 20:20:26 +0000
480
172nfs-utils (1:2.6.1-1~exp1) experimental; urgency=medium481nfs-utils (1:2.6.1-1~exp1) experimental; urgency=medium
173482
174 [ Romain Perier ]483 [ Romain Perier ]
@@ -290,6 +599,50 @@ nfs-utils (1:2.5.4-1~exp1) experimental; urgency=medium
290599
291 -- Anibal Monsalve Salazar <anibal@debian.org> Sun, 05 Sep 2021 23:50:09 +1000600 -- Anibal Monsalve Salazar <anibal@debian.org> Sun, 05 Sep 2021 23:50:09 +1000
292601
602nfs-utils (1:1.3.4-6ubuntu1) impish; urgency=medium
603
604 * Merge from Debian unstable (LP: #1929406). Remaining changes:
605 - debian/nfs-common.default: always start idmapd automatically; drop the
606 configuration option.
607 - debian/nfs-common.default: remove NEED_STATD and related comment.
608 - Add 90-gss-free-lucid-sec-context.patch: adjust for changes to the ctx
609 argument of the serialize_krb5_ctx() function.
610 - Add remove-gssproxy.patch: Drop gssproxy as it does not exist in Ubuntu
611 - Fixing nfs-mountd dependency on rpcbind (race condition) by adding
612 "rpcbind.socket" to "nfs-mountd.service" as a dependency to avoid race
613 conditions:
614 - Add systemd-Fix-nfs-mountd-dependency-on-rpcbind.patch
615 - truncate_gid*.patch: Backports from upstream to prevent truncating UIDs
616 and GIDs over 65536 on certain architectures
617 - d/p/fix-start-ordering-1.patch, d/p/fix-start-ordering-2.patch, d/p/fix-
618 start-ordering-3.patch, d/nfs-kernel-server.install: Fix systemd service
619 start ordering
620 - Depend on network-online.target when starting services.
621 - d/p/lp1918141-use-network-online-target-01.patch: Declare a
622 Wants=network-online.target on all NFS server services.
623 - d/p/lp1918141-use-network-online-target-02.patch: Declare a
624 After=network-online.target on all NFS server services. Thanks to
625 Niklas Edmundsson for helping with the reproducer.
626 - d/nfs-common.postinst: always start nfs-utils.service, so the restart in
627 the #DEBHELPER# section can do its job if needed
628 * Removed patches obsoleted/merged by upstream:
629 - Remove hard-coded dep on libtirpc1; already merged upstream, but
630 previously un-noted
631 - d/nfs-utils_env.sh: alongside RPCSVCGSSDARGS, also export SVCGSSDARGS,
632 which is the variable name expected by the rpc-svcgssd systemd service;
633 already merged upstream, but previously un-noted
634 - d/p/python3.diff obsoleted by
635 d/p/Convert-remaining-python-scripts-to-python3.patch
636 * d/p/nfsiostat-replace-list-reserved-word.patch: re-instated after
637 previous merge removed a patch already merged upstream
638 * d/p/01-sm-notify-in-sbin.patch,
639 d/p/03-handle-mtab-symlink.patch,
640 d/p/17-multiarch-kerberos-paths.patch,
641 d/p/unbreak-blkmapd-rpc_pipefs-run.patch:
642 reverted unnecessary refresh of patches
643
644 -- Dave Jones <dave.jones@canonical.com> Tue, 06 Jul 2021 11:47:33 +0100
645
293nfs-utils (1:1.3.4-6) unstable; urgency=medium646nfs-utils (1:1.3.4-6) unstable; urgency=medium
294647
295 * mountstats: Remove a shebang648 * mountstats: Remove a shebang
@@ -307,6 +660,59 @@ nfs-utils (1:1.3.4-5) unstable; urgency=medium
307660
308 -- Salvatore Bonaccorso <carnil@debian.org> Tue, 09 Mar 2021 17:17:42 +0100661 -- Salvatore Bonaccorso <carnil@debian.org> Tue, 09 Mar 2021 17:17:42 +0100
309662
663nfs-utils (1:1.3.4-4ubuntu3) impish; urgency=medium
664
665 * d/nfs-common.postinst: always start nfs-utils.service, so the restart in
666 the #DEBHELPER# section can do its job if needed (LP: #1928259)
667
668 -- Andreas Hasenack <andreas@canonical.com> Mon, 24 May 2021 17:59:39 -0300
669
670nfs-utils (1:1.3.4-4ubuntu2) hirsute; urgency=medium
671
672 * Depend on network-online.target when starting services. (LP: #1918141)
673 - d/p/lp1918141-use-network-online-target-01.patch: Declare a
674 Wants=network-online.target on all NFS server services.
675 - d/p/lp1918141-use-network-online-target-02.patch: Declare a
676 After=network-online.target on all NFS server services.
677 Thanks to Niklas Edmundsson for helping with the reproducer.
678
679 -- Sergio Durigan Junior <sergio.durigan@canonical.com> Mon, 15 Mar 2021 18:26:22 -0400
680
681nfs-utils (1:1.3.4-4ubuntu1) hirsute; urgency=low
682
683 * Merge from Debian unstable. Remaining changes:
684 - debian/nfs-common.default: always start idmapd automatically; drop
685 the configuration option.
686 - Add 90-gss-free-lucid-sec-context.patch: adjust for changes to the ctx
687 argument of the serialize_krb5_ctx() function.
688 - Add remove-gssproxy.patch: Drop gssproxy as it does not exist in Ubuntu
689 - Fixing nfs-mountd dependency on rpcbind (race condition)
690 by adding "rpcbind.socket" to "nfs-mountd.service" as a dependency
691 to avoid race conditions:
692 - Add systemd-Fix-nfs-mountd-dependency-on-rpcbind.patch
693 - Convert mountstats and nfsiostat scripts to Python3 and recommend
694 python3 instead of python.
695 - truncate_gid*.patch: Backports from upstream to prevent truncating
696 UIDs and GIDs over 65536 on certain architectures
697 - Remove hard-coded dep on libtirpc1.
698 - d/nfs-utils_env.sh: alongside RPCSVCGSSDARGS, also export SVCGSSDARGS,
699 which is the variable name expected by the rpc-svcgssd systemd service.
700 - d/p/fix-start-ordering-1.patch,
701 d/p/fix-start-ordering-2.patch,
702 d/p/fix-start-ordering-3.patch,
703 d/nfs-kernel-server.install:
704 Fix systemd service start ordering
705 * Dropped changes, included in Debian:
706 - Allow compilation to succeed with -fno-common
707 - debian/nfs-common.postinst: don't make /var/lib/nfs owned by statd.
708 - debian/patches/CVE-2019-3689.patch: take user-id from
709 /var/lib/nfs/sm in support/nsm/file.c, utils/statd/sm-notify.man,
710 utils/statd/statd.man.
711 - d/p/nfsiostat-replace-list-reserved-word.patch: fix nfsiostat crash due
712 to using 'list' as a variable name.
713
714 -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 26 Oct 2020 09:25:58 -0700
715
310nfs-utils (1:1.3.4-4) unstable; urgency=medium716nfs-utils (1:1.3.4-4) unstable; urgency=medium
311717
312 * Allow compilation to succeed with -fno-common (Closes: #957608)718 * Allow compilation to succeed with -fno-common (Closes: #957608)
@@ -345,6 +751,73 @@ nfs-utils (1:1.3.4-3) unstable; urgency=medium
345751
346 -- Salvatore Bonaccorso <carnil@debian.org> Fri, 13 Mar 2020 05:16:46 +0100752 -- Salvatore Bonaccorso <carnil@debian.org> Fri, 13 Mar 2020 05:16:46 +0100
347753
754nfs-utils (1:1.3.4-2.5ubuntu6) groovy; urgency=medium
755
756 * Allow compilation to succeed with -fno-common (Closes: #957608)
757 (cherry picked from 1:1.3.4-4)
758
759 -- Julian Andres Klode <juliank@ubuntu.com> Wed, 16 Sep 2020 16:20:55 +0200
760
761nfs-utils (1:1.3.4-2.5ubuntu5) groovy; urgency=medium
762
763 * SECURITY UPDATE: privilege escalation via directory permissions
764 - debian/patches/CVE-2019-3689.patch: take user-id from
765 /var/lib/nfs/sm in support/nsm/file.c, utils/statd/sm-notify.man,
766 utils/statd/statd.man.
767 - debian/nfs-common.postinst: don't make /var/lib/nfs owned by statd.
768 - CVE-2019-3689
769
770 -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Wed, 17 Jun 2020 08:42:59 -0400
771
772nfs-utils (1:1.3.4-2.5ubuntu4) groovy; urgency=medium
773
774 [ Rodrigo Barbieri ]
775 * d/p/fix-start-ordering-1.patch,
776 d/p/fix-start-ordering-2.patch,
777 d/p/fix-start-ordering-3.patch,
778 d/nfs-kernel-server.install:
779 - Fix systemd service start ordering (LP: #1871214)
780
781 -- Dariusz Gadomski <dariusz.gadomski@canonical.com> Thu, 28 May 2020 17:45:23 -0400
782
783nfs-utils (1:1.3.4-2.5ubuntu3) focal; urgency=medium
784
785 * No-change rebuild for libevent soname changes.
786
787 -- Matthias Klose <doko@ubuntu.com> Sat, 19 Oct 2019 19:57:12 +0000
788
789nfs-utils (1:1.3.4-2.5ubuntu2) eoan; urgency=medium
790
791 * No-change upload with strops.h and sys/strops.h removed in glibc.
792
793 -- Matthias Klose <doko@ubuntu.com> Thu, 05 Sep 2019 11:04:05 +0000
794
795nfs-utils (1:1.3.4-2.5ubuntu1) eoan; urgency=low
796
797 * Merge from Debian unstable. Remaining changes:
798 - debian/nfs-common.default: always start idmapd automatically; drop
799 the configuration option.
800 - Add 90-gss-free-lucid-sec-context.patch: adjust for changes to the ctx
801 argument of the serialize_krb5_ctx() function.
802 - Add remove-gssproxy.patch: Drop gssproxy as it does not exist in Ubuntu
803 - Fixing nfs-mountd dependency on rpcbind (race condition)
804 by adding "rpcbind.socket" to "nfs-mountd.service" as a dependency
805 to avoid race conditions:
806 - Add systemd-Fix-nfs-mountd-dependency-on-rpcbind.patch
807 - Convert mountstats and nfsiostat scripts to Python3 and recommend
808 python3 instead of python.
809 - truncate_gid*.patch: Backports from upstream to prevent truncating
810 UIDs and GIDs over 65536 on certain architectures
811 - Remove hard-coded dep on libtirpc1.
812 - d/nfs-utils_env.sh: alongside RPCSVCGSSDARGS, also export SVCGSSDARGS,
813 which is the variable name expected by the rpc-svcgssd systemd service.
814 - d/p/nfsiostat-replace-list-reserved-word.patch: fix nfsiostat crash due
815 to using 'list' as a variable name.
816 * Dropped changes, included in Debian:
817 - glibc-2.28-compat.patch: Include <sys/sysmacros.h> for major/minor.
818
819 -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 02 May 2019 22:43:12 -0700
820
348nfs-utils (1:1.3.4-2.5) unstable; urgency=medium821nfs-utils (1:1.3.4-2.5) unstable; urgency=medium
349822
350 * Non-maintainer upload.823 * Non-maintainer upload.
@@ -370,6 +843,43 @@ nfs-utils (1:1.3.4-2.4) unstable; urgency=medium
370843
371 -- Hilko Bengen <bengen@debian.org> Sat, 09 Feb 2019 15:26:27 +0100844 -- Hilko Bengen <bengen@debian.org> Sat, 09 Feb 2019 15:26:27 +0100
372845
846nfs-utils (1:1.3.4-2.3ubuntu3) disco; urgency=medium
847
848 * d/p/nfsiostat-replace-list-reserved-word.patch: fix nfsiostat crash due to
849 using 'list' as a variable name. (LP: #1821261)
850
851 -- Matthew Ruffell <matthew.ruffell@canonical.com> Tue, 02 Apr 2019 11:09:15 +1300
852
853nfs-utils (1:1.3.4-2.3ubuntu2) disco; urgency=medium
854
855 * d/nfs-utils_env.sh: alongside RPCSVCGSSDARGS, also export SVCGSSDARGS,
856 which is the variable name expected by the rpc-svcgssd systemd service.
857 (LP: #1616123)
858
859 -- Andreas Hasenack <andreas@canonical.com> Mon, 25 Mar 2019 09:24:29 -0300
860
861nfs-utils (1:1.3.4-2.3ubuntu1) disco; urgency=low
862
863 * Merge from Debian unstable. Remaining changes:
864 - debian/nfs-common.default: always start idmapd automatically; drop
865 the configuration option.
866 - Add 90-gss-free-lucid-sec-context.patch: adjust for changes to the ctx
867 argument of the serialize_krb5_ctx() function.
868 - Add remove-gssproxy.patch: Drop gssproxy as it does not exist in Ubuntu
869 (LP: #1446851)
870 - Fixing nfs-mountd dependency on rpcbind (race condition) (LP: #1590799)
871 by adding "rpcbind.socket" to "nfs-mountd.service" as a dependency
872 to avoid race conditions:
873 - Add systemd-Fix-nfs-mountd-dependency-on-rpcbind.patch
874 - Convert mountstats and nfsiostat scripts to Python3 and recommend
875 python3 instead of python.
876 - glibc-2.28-compat.patch: Include <sys/sysmacros.h> for major/minor.
877 - truncate_gid*.patch: Backports from upstream to prevent truncating
878 UIDs and GIDs over 65536 on certain architectures
879 - Remove hard-coded dep on libtirpc1.
880
881 -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 31 Jan 2019 23:18:10 -0800
882
373nfs-utils (1:1.3.4-2.3) unstable; urgency=medium883nfs-utils (1:1.3.4-2.3) unstable; urgency=medium
374884
375 * Non-maintainer upload.885 * Non-maintainer upload.
@@ -389,6 +899,51 @@ nfs-utils (1:1.3.4-2.3) unstable; urgency=medium
389899
390 -- Laurent Bigonville <bigon@debian.org> Sat, 20 Oct 2018 15:04:07 +0200900 -- Laurent Bigonville <bigon@debian.org> Sat, 20 Oct 2018 15:04:07 +0200
391901
902nfs-utils (1:1.3.4-2.2ubuntu5) disco; urgency=medium
903
904 * Remove hard-coded dep on libtirpc1.
905
906 -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 13 Nov 2018 17:03:07 -0800
907
908nfs-utils (1:1.3.4-2.2ubuntu4) disco; urgency=medium
909
910 * No-change rebuild against latest libtirpc
911
912 -- Jeremy Bicha <jbicha@ubuntu.com> Sat, 10 Nov 2018 07:54:17 -0500
913
914nfs-utils (1:1.3.4-2.2ubuntu3) cosmic; urgency=medium
915
916 * truncate_gid*.patch: Backports from upstream to prevent truncating
917 UIDs and GIDs over 65536 on certain architectures (LP: #1779962)
918
919 -- Adam Conrad <adconrad@ubuntu.com> Tue, 16 Oct 2018 06:06:43 -0600
920
921nfs-utils (1:1.3.4-2.2ubuntu2) cosmic; urgency=medium
922
923 * glibc-2.28-compat.patch: Include <sys/sysmacros.h> for major/minor.
924
925 -- Adam Conrad <adconrad@ubuntu.com> Tue, 16 Oct 2018 05:24:40 -0600
926
927nfs-utils (1:1.3.4-2.2ubuntu1) cosmic; urgency=medium
928
929 * Merge from Debian unstable. Remaining changes:
930 - debian/nfs-common.default: always start idmapd automatically; drop
931 the configuration option.
932 - Add 90-gss-free-lucid-sec-context.patch: adjust for changes to the ctx
933 argument of the serialize_krb5_ctx() function.
934 - Add remove-gssproxy.patch: Drop gssproxy as it does not exist in Ubuntu
935 (LP: #1446851)
936 - Fixing nfs-mountd dependency on rpcbind (race condition) (LP: #1590799)
937 by adding "rpcbind.socket" to "nfs-mountd.service" as a dependency
938 to avoid race conditions:
939 - Add systemd-Fix-nfs-mountd-dependency-on-rpcbind.patch
940 - Convert mountstats and nfsiostat scripts to Python3 and recommend
941 python3 instead of python.
942 * Dropped already integrated changes:
943 - Provide UINT16_MAX definition if not provided by glibc.
944
945 -- Balint Reczey <rbalint@ubuntu.com> Thu, 23 Aug 2018 16:16:30 +0200
946
392nfs-utils (1:1.3.4-2.2) unstable; urgency=medium947nfs-utils (1:1.3.4-2.2) unstable; urgency=medium
393948
394 * Non-maintainer upload.949 * Non-maintainer upload.
@@ -400,6 +955,55 @@ nfs-utils (1:1.3.4-2.2) unstable; urgency=medium
400955
401 -- Adrian Bunk <bunk@debian.org> Tue, 06 Feb 2018 21:20:36 +0200956 -- Adrian Bunk <bunk@debian.org> Tue, 06 Feb 2018 21:20:36 +0200
402957
958nfs-utils (1:1.3.4-2.1ubuntu5) bionic; urgency=medium
959
960 * Drop obsoleted 20-ticket-expired-error.patch (LP: #1709129)
961 The original issue is fixed in the kernel starting with version 3.10.
962 * Refresh patches
963 * Remove whitespace after '=' in service files
964
965 -- Balint Reczey <rbalint@ubuntu.com> Tue, 16 Jan 2018 23:49:38 +0100
966
967nfs-utils (1:1.3.4-2.1ubuntu4) bionic; urgency=medium
968
969 * Convert mountstats and nfsiostat scripts to Python3 and recommend
970 python3 instead of python. LP: #1735458.
971 * Provide UINT16_MAX definition if not provided by glibc.
972
973 -- Matthias Klose <doko@ubuntu.com> Fri, 01 Dec 2017 03:49:39 +0100
974
975nfs-utils (1:1.3.4-2.1ubuntu2) artful; urgency=medium
976
977 * Fix flaky autopkgtest: a 'sync' after an update on the server does not
978 guarantee that the change is visible on the client. For that, we need
979 to flush the inode/dentry cache instead.
980
981 -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 31 Aug 2017 23:08:25 -0700
982
983nfs-utils (1:1.3.4-2.1ubuntu1) artful; urgency=low
984
985 * Merge from Debian unstable. Remaining changes:
986 - debian/nfs-common.default: always start idmapd automatically; drop
987 the configuration option.
988 - Add 20-ticket-expired-error.patch: Add "-e" (ticket expiry is error)
989 option to rpc.gssd to prevent hangs due to EKEYEXPIRED error from kernel
990 on ticket expiry. (LP: #794112)
991 - Add 90-gss-free-lucid-sec-context.patch: adjust for changes to the ctx
992 argument of the serialize_krb5_ctx() function. (LP: #1331201)
993 - Add remove-gssproxy.patch: Drop gssproxy as it does not exist in Ubuntu
994 (LP: #1446851)
995 - Add debian/nfs-common.maintscript: Clean up obsolete conffiles (upstart
996 jobs) on upgrades. This needs to be kept until after 18.04 LTS.
997 - Fixing nfs-mountd dependency on rpcbind (race condition) (LP: #1590799)
998 by adding "rpcbind.socket" to "nfs-mountd.service" as a dependency
999 to avoid race conditions:
1000 - Add systemd-Fix-nfs-mountd-dependency-on-rpcbind.patch
1001 * Dropped already integrated changes:
1002 - Add a dependency on keyutils to nfs-common, so that idmapping will work
1003 under systemd. (LP: #1449074)
1004
1005 -- Balint Reczey <rbalint@ubuntu.com> Thu, 03 Aug 2017 20:50:38 +0200
1006
403nfs-utils (1:1.3.4-2.1) unstable; urgency=medium1007nfs-utils (1:1.3.4-2.1) unstable; urgency=medium
4041008
405 * Non-maintainer upload.1009 * Non-maintainer upload.
@@ -433,6 +1037,22 @@ nfs-utils (1:1.3.4-1) unstable; urgency=medium
4331037
434 -- Daniel Pocock <daniel@pocock.pro> Tue, 13 Dec 2016 19:37:42 +01001038 -- Daniel Pocock <daniel@pocock.pro> Tue, 13 Dec 2016 19:37:42 +0100
4351039
1040nfs-utils (1:1.2.8-9.2ubuntu2) zesty; urgency=medium
1041
1042 * Fixing nfs-mountd dependency on rpcbind (race condition) (LP: #1590799)
1043 by adding "rpcbind.socket" to "nfs-mountd.service" as a dependency
1044 to avoid race conditions:
1045 - Add systemd-Fix-nfs-mountd-dependency-on-rpcbind.patch
1046 - Add systemd-unit-files-fix-up-dependencies-on-rpcbind.patch
1047
1048 -- Rafael David Tinoco <rafael.tinoco@canonical.com> Fri, 17 Mar 2017 12:19:53 +0100
1049
1050nfs-utils (1:1.2.8-9.2ubuntu1) yakkety; urgency=medium
1051
1052 * Merge fixes from Debian.
1053
1054 -- Martin Pitt <martin.pitt@ubuntu.com> Mon, 12 Sep 2016 23:18:00 +0200
1055
436nfs-utils (1:1.2.8-9.2) unstable; urgency=medium1056nfs-utils (1:1.2.8-9.2) unstable; urgency=medium
4371057
438 * Non-maintainer upload.1058 * Non-maintainer upload.
@@ -448,6 +1068,27 @@ nfs-utils (1:1.2.8-9.2) unstable; urgency=medium
4481068
449 -- Andreas Henriksson <andreas@fatal.se> Thu, 11 Aug 2016 18:50:24 +02001069 -- Andreas Henriksson <andreas@fatal.se> Thu, 11 Aug 2016 18:50:24 +0200
4501070
1071nfs-utils (1:1.2.8-9.1ubuntu1) yakkety; urgency=medium
1072
1073 * Drop upstart jobs, upstart is not in yakkety any more.
1074 * Drop libgssglue-dev build dep, --with-gssglue got dropped a while ago.
1075 * Merge with Debian unstable. Remaining Ubuntu changes:
1076 - debian/nfs-common.default: always start idmapd automatically; drop
1077 the configuration option.
1078 - Add 20-ticket-expired-error.patch: Add "-e" (ticket expiry is error)
1079 option to rpc.gssd to prevent hangs due to EKEYEXPIRED error from kernel
1080 on ticket expiry. (LP: #794112)
1081 - Add 90-gss-free-lucid-sec-context.patch: adjust for changes to the ctx
1082 argument of the serialize_krb5_ctx() function. (LP: #1331201)
1083 - Add remove-gssproxy.patch: Drop gssproxy as it does not exist in Ubuntu
1084 (LP: #1446851)
1085 - Add a dependency on keyutils to nfs-common, so that idmapping will work
1086 under systemd. (LP: #1449074)
1087 - Add debian/nfs-common.maintscript: Clean up obsolete conffiles (upstart
1088 jobs) on upgrades. This needs to be kept until after 18.04 LTS.
1089
1090 -- Martin Pitt <martin.pitt@ubuntu.com> Thu, 28 Jul 2016 15:21:53 +0200
1091
451nfs-utils (1:1.2.8-9.1) unstable; urgency=medium1092nfs-utils (1:1.2.8-9.1) unstable; urgency=medium
4521093
453 Partial sync from ubuntu, included changes:1094 Partial sync from ubuntu, included changes:
@@ -512,6 +1153,149 @@ nfs-utils (1:1.2.8-9.1) unstable; urgency=medium
5121153
513 -- Andreas Henriksson <andreas@fatal.se> Tue, 28 Jun 2016 02:05:16 +02001154 -- Andreas Henriksson <andreas@fatal.se> Tue, 28 Jun 2016 02:05:16 +0200
5141155
1156nfs-utils (1:1.2.8-9ubuntu13) yakkety; urgency=medium
1157
1158 * Drop obsolete versioned initscripts dependency. (Closes: #804990)
1159
1160 -- Martin Pitt <martin.pitt@ubuntu.com> Wed, 22 Jun 2016 16:09:37 +0200
1161
1162nfs-utils (1:1.2.8-9ubuntu12) xenial; urgency=medium
1163
1164 * Drop gssproxy as it's not in Ubuntu (LP: #1446851)
1165 * Fix no nfs doesn't show failed units on client (LP: #1452667)
1166
1167 -- Bryan Quigley <bryan.quigley@canonical.com> Wed, 02 Mar 2016 15:01:29 -0500
1168
1169nfs-utils (1:1.2.8-9ubuntu11) xenial; urgency=medium
1170
1171 * Drop obsolete and no-op dh_installinit --upstart-only option.
1172 (LP: #1519228)
1173
1174 -- Martin Pitt <martin.pitt@ubuntu.com> Tue, 24 Nov 2015 09:39:56 +0100
1175
1176nfs-utils (1:1.2.8-9ubuntu10) wily; urgency=medium
1177
1178 * debian/nfs-common.links: Add naming compatibility symlinks for
1179 gssd.service → rpc-gssd.service and idmapd.service → /dev/null (as this
1180 is bound to/handled by nfs-server.service) to provide a match for the
1181 upstart job names. (LP: #1476010).
1182
1183 -- Martin Pitt <martin.pitt@ubuntu.com> Fri, 28 Aug 2015 09:59:48 +0200
1184
1185nfs-utils (1:1.2.8-9ubuntu9) wily; urgency=medium
1186
1187 * Drop versioned mountall dependency. Trusty's is already newer and we don't
1188 need it with systemd under Ubuntu 15.04 and newer.
1189
1190 -- Martin Pitt <martin.pitt@ubuntu.com> Mon, 27 Jul 2015 10:37:24 +0200
1191
1192nfs-utils (1:1.2.8-9ubuntu8.1) vivid; urgency=medium
1193
1194 * Add a dependency on keyutils to nfs-common, so that idmapping will work
1195 under systemd. LP: #1449074.
1196
1197 -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 27 Apr 2015 17:46:03 +0200
1198
1199nfs-utils (1:1.2.8-9ubuntu8) vivid; urgency=medium
1200
1201 * Ship missing .override files
1202 * Ensure we only remove the manual flag from the statd-mounting.override
1203 file, and potentially, remove it if empty.
1204
1205 -- Didier Roche <didrocks@ubuntu.com> Wed, 01 Apr 2015 08:22:59 +0200
1206
1207nfs-utils (1:1.2.8-9ubuntu7) vivid; urgency=medium
1208
1209 * 27-systemd-enable-with-systemctl-statd.patch: let the admin
1210 enable/disable statd via systemd tools. (LP: #1428486)
1211 * debian/nfs-common.default: remove NEED_STATD and related comment.
1212 * debian/statd{,-mounting}.upstart: remove the usage of NEED_STATD, we'll
1213 directly disable the jobs now.
1214 * debian/rules: don't start statd by default (or it will trigger upstart
1215 and systemd statd unit startup).
1216 * debian/nfs-common.{preinst,postinst}: transition the conffile to the new
1217 template and enable statd services in both upstart and systemd if
1218 NEED_STATD was set to yes.
1219 * debian/control, debian/*install: move nfs-utils.service to nfs-common
1220 package. (LP: #1436304)
1221
1222 -- Didier Roche <didrocks@ubuntu.com> Thu, 12 Mar 2015 09:13:06 +0100
1223
1224nfs-utils (1:1.2.8-9ubuntu6) vivid; urgency=medium
1225
1226 * Revert previous upload; per upstream, rpc.idmapd is not used when the
1227 nfsidmap utility is available and configured for use in request-key
1228 upcalls. So rpc.idmapd does not need to be started on clients anymore.
1229
1230 -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 06 Mar 2015 10:19:57 -0800
1231
1232nfs-utils (1:1.2.8-9ubuntu5) vivid; urgency=medium
1233
1234 * Add 27-systemd-start-nfs-idmapd-also-on-clients.patch: idmapd is needed
1235 for clients too, so start it from nfs-client.target and stop binding to it
1236 in nfs-server.service. (LP: #1428961)
1237
1238 -- Martin Pitt <martin.pitt@ubuntu.com> Fri, 06 Mar 2015 11:56:46 +0100
1239
1240nfs-utils (1:1.2.8-9ubuntu4) vivid; urgency=medium
1241
1242 * Add autopkgtest for installing server and client on localhost, setting up
1243 two exports, rebooting, and ensuring that the NFS mounts work.
1244 * Add 23-systemd-relax-dependencies.patch: Stop depending on basic.target in
1245 the daemons which still do; i. e. add DefaultDependencies=no. This makes
1246 it possible to run NFS during early boot, helps if you e. g. have /var
1247 on NFS, and avoids dependency cycles with rcS init.d scripts which depend
1248 on $remote_fs. (LP: #1428487)
1249 * Shift number prefixes of other systemd patches accordingly, and adjust
1250 them to the above patch.
1251
1252 -- Martin Pitt <martin.pitt@ubuntu.com> Thu, 05 Mar 2015 10:43:54 +0100
1253
1254nfs-utils (1:1.2.8-9ubuntu3) vivid; urgency=medium
1255
1256 * Add 00git-start-statd-systemd.patch: Latest start-statd script from
1257 1.3.2 to start rpc-statd.service under systemd.
1258 * Add 23-systemd-pipefs_in_run.patch: systemd: Mount rpc_pipefs in /run instead of
1259 /var/lib/nfs/, like in the upstart units.
1260 * Add 24-systemd-daemon-paths.patch: Adjust program paths in systemd units.
1261 * debian/nfs-kernel-server.links: Add nfs-kernel-server.service alias
1262 symlink, to match SysV init script.
1263 * Add 25-systemd-server-before-client.patch: Order NFS server before client,
1264 to make mounting NFS shares from localhost work reliably.
1265 * Add debian/nfs-utils_env.sh: Translate our /etc/default files into runtime
1266 configuration for nfs-config.service.
1267 * debian/nfs-{common,kernel-server}.install: Install systemd units.
1268 * debian/rules: Enable/start systemd units. (LP: #1312976)
1269
1270 -- Martin Pitt <martin.pitt@ubuntu.com> Thu, 05 Mar 2015 07:46:41 +0100
1271
1272nfs-utils (1:1.2.8-9ubuntu2) vivid; urgency=medium
1273
1274 * debian/nfs-common.statd.upstart: wait for rpcbind job instead of
1275 relying on portmap compatibility event. (LP: #1391296)
1276
1277 -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Tue, 18 Nov 2014 19:07:15 -0500
1278
1279nfs-utils (1:1.2.8-9ubuntu1) utopic; urgency=medium
1280
1281 * Merge from Debian usntable, remaining changes:
1282 - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1283 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1284 debian/rules: drop nfs-common init script in favor of upstart jobs.
1285 - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1286 - Depend on mountall (>= 2.41) to avoid deadlocks on boot.
1287 - debian/nfs-common.default: always start idmapd automatically; drop
1288 the configuration option.
1289 - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1290 - Allow issuing options to rpc.nfsd
1291 - Add "-e" (ticket expiry is error) option to rpc.gssd to prevent hangs
1292 due to EKEYEXPIRED error from kernel on ticket expiry.
1293 - drop nfs-kernel-server's LSB dependency on nfs-common.
1294 - Add patch to adjust for changes to the ctx argument of the
1295 serialize_krb5_ctx() function.
1296
1297 -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 21 Aug 2014 11:29:38 -0700
1298
515nfs-utils (1:1.2.8-9) unstable; urgency=medium1299nfs-utils (1:1.2.8-9) unstable; urgency=medium
5161300
517 * debian/patches/22-mountd-fix-segfault-in-add_name-with-newer-gcc-1301 * debian/patches/22-mountd-fix-segfault-in-add_name-with-newer-gcc-
@@ -520,6 +1304,26 @@ nfs-utils (1:1.2.8-9) unstable; urgency=medium
5201304
521 -- Steve Langasek <vorlon@debian.org> Tue, 12 Aug 2014 17:12:38 -07001305 -- Steve Langasek <vorlon@debian.org> Tue, 12 Aug 2014 17:12:38 -0700
5221306
1307nfs-utils (1:1.2.8-8ubuntu1) utopic; urgency=medium
1308
1309 * Merge from Debian unstable, remaining changes:
1310 - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1311 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1312 debian/rules: drop nfs-common init script in favor of upstart jobs.
1313 - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1314 - Depend on mountall (>= 2.41) to avoid deadlocks on boot.
1315 - debian/nfs-common.default: always start idmapd automatically; drop
1316 the configuration option.
1317 - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1318 - Allow issuing options to rpc.nfsd
1319 - Add "-e" (ticket expiry is error) option to rpc.gssd to prevent hangs
1320 due to EKEYEXPIRED error from kernel on ticket expiry.
1321 - drop nfs-kernel-server's LSB dependency on nfs-common.
1322 - Add patch to adjust for changes to the ctx argument of the
1323 serialize_krb5_ctx() function.
1324
1325 -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 11 Aug 2014 01:10:28 -0700
1326
523nfs-utils (1:1.2.8-8) unstable; urgency=medium1327nfs-utils (1:1.2.8-8) unstable; urgency=medium
5241328
525 * Upload to unstable where this belongs.1329 * Upload to unstable where this belongs.
@@ -540,6 +1344,38 @@ nfs-utils (1:1.2.8-7) experimental; urgency=medium
5401344
541 -- Anibal Monsalve Salazar <anibal@debian.org> Sat, 02 Aug 2014 12:25:47 +01001345 -- Anibal Monsalve Salazar <anibal@debian.org> Sat, 02 Aug 2014 12:25:47 +0100
5421346
1347nfs-utils (1:1.2.8-6ubuntu4) utopic; urgency=medium
1348
1349 * Add patch from Sergio Gelato to adjust for changes to the ctx
1350 argument of the serialize_krb5_ctx() function (LP: #1331201)
1351
1352 -- Adam Conrad <adconrad@ubuntu.com> Wed, 25 Jun 2014 12:23:09 -0600
1353
1354nfs-utils (1:1.2.8-6ubuntu3) utopic; urgency=medium
1355
1356 * Soon nfs-common.init is going to be split on the Debian side, and
1357 nfs-kernel-server init.d's LSB depends on "nfs-common" has never done
1358 anything in Ubuntu. Drop it to avoid breaking insserv. (LP: #1323274)
1359
1360 -- Martin Pitt <martin.pitt@ubuntu.com> Tue, 27 May 2014 11:38:51 +0200
1361
1362nfs-utils (1:1.2.8-6ubuntu1) trusty; urgency=medium
1363
1364 * Merge from Debian unstable, remaining changes:
1365 - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1366 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1367 debian/rules: drop nfs-common init script in favor of upstart jobs.
1368 - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1369 - Depend on mountall (>= 2.41) to avoid deadlocks on boot.
1370 - debian/nfs-common.default: always start idmapd automatically; drop
1371 the configuration option.
1372 - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1373 - Allow issuing options to rpc.nfsd
1374 - Add "-e" (ticket expiry is error) option to rpc.gssd to prevent hangs
1375 due to EKEYEXPIRED error from kernel on ticket expiry.
1376
1377 -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 25 Feb 2014 09:18:47 -0800
1378
543nfs-utils (1:1.2.8-6) unstable; urgency=medium1379nfs-utils (1:1.2.8-6) unstable; urgency=medium
5441380
545 * Fix the sec=krb5* handling in debian/nfs-common.init to properly match1381 * Fix the sec=krb5* handling in debian/nfs-common.init to properly match
@@ -566,6 +1402,29 @@ nfs-utils (1:1.2.8-6) unstable; urgency=medium
5661402
567 -- Steve Langasek <vorlon@debian.org> Mon, 24 Feb 2014 18:11:17 +00001403 -- Steve Langasek <vorlon@debian.org> Mon, 24 Feb 2014 18:11:17 +0000
5681404
1405nfs-utils (1:1.2.8-5ubuntu1) trusty; urgency=medium
1406
1407 * Merge from Debian unstable, remaining changes:
1408 - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1409 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1410 debian/rules: drop nfs-common init script in favor of upstart jobs.
1411 - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1412 - Depend on mountall (>= 2.41) to avoid deadlocks on boot.
1413 - debian/nfs-common.default: always start idmapd automatically; drop
1414 the configuration option.
1415 - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1416 - Allow issuing options to rpc.nfsd
1417 - Add "-e" (ticket expiry is error) option to rpc.gssd to prevent hangs
1418 due to EKEYEXPIRED error from kernel on ticket expiry.
1419 * Dropped changes, included in Debian:
1420 - Move /var/lib/nfs/rpc_pipefs to /run/rpc_pipefs. This does not belong
1421 in /var/lib.
1422 - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1423 in the postinst, this is redundant anyway and the nfs-common init script
1424 is gone now.
1425
1426 -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 13 Jan 2014 21:13:11 -0800
1427
569nfs-utils (1:1.2.8-5) unstable; urgency=medium1428nfs-utils (1:1.2.8-5) unstable; urgency=medium
5701429
571 [ Ben Hutchings ]1430 [ Ben Hutchings ]
@@ -582,6 +1441,37 @@ nfs-utils (1:1.2.8-5) unstable; urgency=medium
5821441
583 -- Steve Langasek <vorlon@debian.org> Mon, 13 Jan 2014 22:07:53 +00001442 -- Steve Langasek <vorlon@debian.org> Mon, 13 Jan 2014 22:07:53 +0000
5841443
1444nfs-utils (1:1.2.8-4ubuntu1) trusty; urgency=low
1445
1446 * Merge from Debian unstable, remaining changes:
1447 - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1448 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1449 debian/rules: drop nfs-common init script in favor of upstart jobs.
1450 - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1451 - Depend on mountall (>= 2.41) to avoid deadlocks on boot.
1452 - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1453 in the postinst, this is redundant anyway and the nfs-common init script
1454 is gone now.
1455 - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1456 - Allow issuing options to rpc.nfsd
1457 - debian/nfs-common.defaults: always start idmapd automatically; drop
1458 the configuration option.
1459 - Move /var/lib/nfs/rpc_pipefs to /run/rpc_pipefs. This does not belong
1460 in /var/lib.
1461 - Add "-e" (ticket expiry is error) option to rpc.gssd to prevent hangs due
1462 to EKEYEXPIRED error from kernel on ticket expiry. LP: #794112
1463 - Fix the stop conditions: never stop on 'runlevel [06]' since that gives
1464 the system no time to cleanly unmount nfs mounts; instead, stop only on
1465 the unmounted-remote-filesystems event. LP: #569094.
1466 * Dropped changes:
1467 - build-depend on debhelper (>= 7.3.15ubuntu3): all supported debhelper
1468 versions meet this requirement now, so it's not worth carrying a delta
1469 for.
1470 * Drop removal handling for rpc_pipefs.conf, which has been obsolete since
1471 before the 12.04 release.
1472
1473 -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 21 Nov 2013 13:35:20 -0800
1474
585nfs-utils (1:1.2.8-4) unstable; urgency=low1475nfs-utils (1:1.2.8-4) unstable; urgency=low
5861476
587 * The configure option name is --with-gssglue, not --with-libgssglue.1477 * The configure option name is --with-gssglue, not --with-libgssglue.
@@ -600,6 +1490,64 @@ nfs-utils (1:1.2.8-3) unstable; urgency=low
6001490
601 -- Steve Langasek <vorlon@debian.org> Fri, 31 May 2013 17:59:53 -07001491 -- Steve Langasek <vorlon@debian.org> Fri, 31 May 2013 17:59:53 -0700
6021492
1493nfs-utils (1:1.2.8-2ubuntu2) saucy; urgency=low
1494
1495 * Start statd on virtual-filesystems instead of on local-filesystems;
1496 this works and avoids a deadlock in the nfsroot case. Also, adjust
1497 idmapd to not block MOUNTPOINT=/ for the same reason. This isn't a
1498 perfect fix since idmapd would be needed if we ever wanted nfsv4
1499 nfsroot, but implementing that can wait until we have /usr mounting from
1500 the initramfs. LP: #537133.
1501
1502 -- Steve Langasek <steve.langasek@ubuntu.com> Wed, 11 Sep 2013 15:00:02 -0700
1503
1504nfs-utils (1:1.2.8-2ubuntu1) saucy; urgency=low
1505
1506 [ Stéphane Graber ]
1507 * Merge from Debian unstable.
1508 - includes upstream fix for gssd -R. LP: #1179992.
1509 - includes upstream fix for an exportfs crash when using long paths.
1510 LP: #1062022.
1511 * Remaining changes:
1512 - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1513 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1514 debian/rules: drop nfs-common init script in favor of upstart jobs,
1515 and build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart
1516 init handling.
1517 - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1518 - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1519 in the postinst, this is redundant anyway and the nfs-common init script
1520 is gone now.
1521 - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1522 - Allow issuing options to rpc.nfsd
1523 - debian/nfs-common.defaults: always start idmapd automatically; drop
1524 the configuration option.
1525 - Move /var/lib/nfs/rpc_pipefs to /run/rpc_pipefs. This does not belong
1526 in /var/lib.
1527 - Add "-e" (ticket expiry is error) option to rpc.gssd to prevent hangs due
1528 to EKEYEXPIRED error from kernel on ticket expiry. LP: #794112
1529 - Adjust upstart jobs to treat TYPE=nfs and TYPE=nfs4 mounts identically,
1530 since TYPE=nfs4 is considered deprecated.
1531 - Fix various boot-time race conditions between mountall and nfs-utils by
1532 moving handling of the 'mounting' events to separate gssd-mounting and
1533 idmapd-mounting jobs. Requires mountall 2.41 or better to avoid deadlock
1534 on boot. LP: #643289, LP: #611397.
1535 - Fix the stop conditions: never stop on 'runlevel [06]' since that gives
1536 the system no time to cleanly unmount nfs mounts; instead, stop only on
1537 the unmounted-remote-filesystems event. LP: #569094.
1538 - Newer versions of gssd don't talk to portmap, so don't make the upstart
1539 job depend on it.
1540 - Add an instance to statd-mounting, and change it to just wait for statd
1541 instead of trying to trigger it potentially out of order. This also
1542 means we don't need to try to force portmap to start from statd.
1543
1544 [ Steve Langasek ]
1545 * Build --with-gssglue; linking directly against libgssapi-krb5 results in
1546 rpc.gssd trying to incorrectly pass opaque pointers between two different
1547 gss implementations (via libtirpc).
1548
1549 -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 31 May 2013 18:05:03 -0700
1550
603nfs-utils (1:1.2.8-2) unstable; urgency=medium1551nfs-utils (1:1.2.8-2) unstable; urgency=medium
6041552
605 * Fix reportbug scripts to use rpcinfo in /usr/sbin.1553 * Fix reportbug scripts to use rpcinfo in /usr/sbin.
@@ -629,12 +1577,80 @@ nfs-utils (1:1.2.8-1) unstable; urgency=low
6291577
630 -- Luk Claes <luk@zomers.be> Fri, 10 May 2013 14:27:47 +02001578 -- Luk Claes <luk@zomers.be> Fri, 10 May 2013 14:27:47 +0200
6311579
1580nfs-utils (1:1.2.6-3ubuntu2) quantal; urgency=low
1581
1582 [ Steve Langasek ]
1583 * Adjust upstart jobs to treat TYPE=nfs and TYPE=nfs4 mounts identically,
1584 since TYPE=nfs4 is considered deprecated.
1585 * Fix various boot-time race conditions between mountall and nfs-utils by
1586 moving handling of the 'mounting' events to separate gssd-mounting and
1587 idmapd-mounting jobs. Requires mountall 2.41 or better to avoid deadlock
1588 on boot. LP: #643289, LP: #611397.
1589 * Fix the stop conditions: never stop on 'runlevel [06]' since that gives
1590 the system no time to cleanly unmount nfs mounts; instead, stop only on
1591 the unmounted-remote-filesystems event. LP: #569094.
1592 * Newer versions of gssd don't talk to portmap, so don't make the upstart
1593 job depend on it.
1594 * Add an instance to statd-mounting, and change it to just wait for statd
1595 instead of trying to trigger it potentially out of order. This also means
1596 we don't need to try to force portmap to start from statd.
1597
1598 [ Matthew L. Dailey ]
1599 * Add "-e" (ticket expiry is error) option to rpc.gssd to prevent hangs due
1600 to EKEYEXPIRED error from kernel on ticket expiry. LP: #794112
1601
1602 -- Stéphane Graber <stgraber@ubuntu.com> Fri, 28 Sep 2012 13:58:43 -0400
1603
1604nfs-utils (1:1.2.6-3ubuntu1) quantal; urgency=low
1605
1606 * Merge from Debian unstable. Remaining changes:
1607 - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1608 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1609 debian/rules: drop nfs-common init script in favor of upstart jobs,
1610 and build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart
1611 init handling.
1612 - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1613 - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1614 in the postinst, this is redundant anyway and the nfs-common init script
1615 is gone now.
1616 - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1617 - Allow issuing options to rpc.nfsd
1618 - debian/nfs-common.defaults: always start idmapd automatically; drop
1619 the configuration option.
1620 - Move /var/lib/nfs/rpc_pipefs to /run/rpc_pipefs. This does not belong
1621 in /var/lib.
1622
1623 -- Logan Rosen <logatronico@gmail.com> Sun, 05 Aug 2012 00:56:05 -0400
1624
632nfs-utils (1:1.2.6-3) unstable; urgency=low1625nfs-utils (1:1.2.6-3) unstable; urgency=low
6331626
634 * Iterate through exports.d to look for expors (Closes: #676604).1627 * Iterate through exports.d to look for expors (Closes: #676604).
6351628
636 -- Luk Claes <luk@zomers.be> Tue, 10 Jul 2012 19:38:22 +02001629 -- Luk Claes <luk@zomers.be> Tue, 10 Jul 2012 19:38:22 +0200
6371630
1631nfs-utils (1:1.2.6-2ubuntu1) quantal; urgency=low
1632
1633 * Merge from Debian unstable, remaining changes:
1634 - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1635 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1636 debian/rules: drop nfs-common init script in favor of upstart jobs,
1637 and build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart
1638 init handling.
1639 - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1640 - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1641 in the postinst, this is redundant anyway and the nfs-common init script
1642 is gone now.
1643 - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1644 - Allow issuing options to rpc.nfsd
1645 - debian/nfs-common.defaults: always start idmapd automatically; drop
1646 the configuration option.
1647 - Move /var/lib/nfs/rpc_pipefs to /run/rpc_pipefs. This does not belong
1648 in /var/lib.
1649 * Dropped changes, included in Debian:
1650 - nfs-kernel-server.default: Add comment about how to disable nfs4.
1651
1652 -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 22 Jun 2012 11:25:28 -0700
1653
638nfs-utils (1:1.2.6-2) unstable; urgency=low1654nfs-utils (1:1.2.6-2) unstable; urgency=low
6391655
640 * Move open-iscsi and watchdog to Suggests.1656 * Move open-iscsi and watchdog to Suggests.
@@ -662,6 +1678,44 @@ nfs-utils (1:1.2.5-4) unstable; urgency=low
6621678
663 -- Luk Claes <luk@debian.org> Sun, 22 Jan 2012 15:46:25 +01001679 -- Luk Claes <luk@debian.org> Sun, 22 Jan 2012 15:46:25 +0100
6641680
1681nfs-utils (1:1.2.5-3ubuntu3) precise; urgency=low
1682
1683 * In some cases, /var/lib/nfs/rpc_pipefs is successfully unmounted on
1684 upgrade but the directory still has contents within it. Since this is
1685 /var/lib we shouldn't assume it's ok for delete these; instead, pass
1686 --ignore-fail-on-non-empty to rmdir. LP: #954619.
1687
1688 -- Steve Langasek <steve.langasek@ubuntu.com> Sun, 08 Apr 2012 22:44:40 -0700
1689
1690nfs-utils (1:1.2.5-3ubuntu2) precise; urgency=low
1691
1692 * Fix wrong path to rpcinfo in the init script, which breaks use of nfs
1693 v3 support in the server. LP: #945651.
1694
1695 -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 27 Mar 2012 10:44:03 -0700
1696
1697nfs-utils (1:1.2.5-3ubuntu1) precise; urgency=low
1698
1699 * Merge from Debian testing, remaining changes:
1700 - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1701 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1702 debian/rules: drop nfs-common init script in favor of upstart jobs,
1703 and build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart
1704 init handling.
1705 - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1706 - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1707 in the postinst, this is redundant anyway and the nfs-common init script
1708 is gone now.
1709 - nfs-kernel-server.default: Add comment about how to disable nfs4.
1710 - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1711 - Allow issuing options to rpc.nfsd
1712 - debian/nfs-common.defaults: always start idmapd automatically; drop
1713 the configuration option.
1714 - Move /var/lib/nfs/rpc_pipefs to /run/rpc_pipefs. This does not belong
1715 in /var/lib.
1716
1717 -- Steve Langasek <steve.langasek@ubuntu.com> Wed, 04 Jan 2012 09:20:27 -0800
1718
665nfs-utils (1:1.2.5-3) unstable; urgency=low1719nfs-utils (1:1.2.5-3) unstable; urgency=low
6661720
667 [ Roger Leigh ]1721 [ Roger Leigh ]
@@ -680,6 +1734,33 @@ nfs-utils (1:1.2.5-3) unstable; urgency=low
6801734
681 -- Luk Claes <luk@debian.org> Fri, 09 Dec 2011 11:55:31 +01001735 -- Luk Claes <luk@debian.org> Fri, 09 Dec 2011 11:55:31 +0100
6821736
1737nfs-utils (1:1.2.5-2ubuntu1) precise; urgency=low
1738
1739 * Merge from Debian testing, remaining changes:
1740 - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1741 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1742 debian/rules: drop nfs-common init script in favor of upstart jobs,
1743 and build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart
1744 init handling.
1745 - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1746 - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1747 in the postinst, this is redundant anyway and the nfs-common init script
1748 is gone now.
1749 - nfs-kernel-server.default: Add comment about how to disable nfs4.
1750 - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1751 - Allow issuing options to rpc.nfsd
1752 - debian/nfs-common.defaults: always start idmapd automatically; drop
1753 the configuration option.
1754 - Move /var/lib/nfs/rpc_pipefs to /run/rpc_pipefs. This does not belong
1755 in /var/lib.
1756 * Dropped changes, superseded in Debian/upstream:
1757 - debian/patches/multiarch-kerberos-paths: Search for kerberos libs
1758 in multiarch locations.
1759 - ubuntu-fix-kernel-version-handling: avoid segfaults from short kernel
1760 version numbers.
1761
1762 -- Steve Langasek <steve.langasek@ubuntu.com> Sun, 30 Oct 2011 00:12:50 +0000
1763
683nfs-utils (1:1.2.5-2) unstable; urgency=low1764nfs-utils (1:1.2.5-2) unstable; urgency=low
6841765
685 * debian/patches/18-dont-use-PAGE_SIZE.patch1766 * debian/patches/18-dont-use-PAGE_SIZE.patch
@@ -722,6 +1803,57 @@ nfs-utils (1:1.2.4-2) UNRELEASED; urgency=low
7221803
723 -- Luk Claes <luk@debian.org> Sat, 06 Aug 2011 07:38:48 +02001804 -- Luk Claes <luk@debian.org> Sat, 06 Aug 2011 07:38:48 +0200
7241805
1806nfs-utils (1:1.2.4-1ubuntu4) precise; urgency=low
1807
1808 * debian/nfs-common.postinst: handle the case when /var/lib/nfs/rpc_pipefs
1809 is not already mounted on upgrade - dpkg will already remove the
1810 directory for us on upgrade, so don't fail when it's missing.
1811 LP: #882799.
1812
1813 -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 27 Oct 2011 16:21:22 -0700
1814
1815nfs-utils (1:1.2.4-1ubuntu3) precise; urgency=low
1816
1817 * debian/nfs-common.defaults, debian/nfs-common.idmapd.upstart: idmapd
1818 should always be started automatically, because we can no longer assume
1819 that a mount of type 'nfs' in /etc/fstab is not nfs4. This also lets
1820 things work by default with nfs4 autofs. LP: #662711.
1821 * Move /var/lib/nfs/rpc_pipefs to /run/rpc_pipefs. This does not belong
1822 in /var/lib.
1823 * Ignore errors from mount if the filesystem is already mounted.
1824 LP: #811823.
1825
1826 -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 27 Oct 2011 12:04:58 -0700
1827
1828nfs-utils (1:1.2.4-1ubuntu2) oneiric; urgency=low
1829
1830 * Allow issuing options to rpc.nfsd
1831 (LP: #567491)
1832
1833 -- Bryce Harrington <bryce@ubuntu.com> Mon, 08 Aug 2011 16:37:26 -0700
1834
1835nfs-utils (1:1.2.4-1ubuntu1) oneiric; urgency=low
1836
1837 * Merge from Debian unstable (LP: #728586, LP: #789117), remaining
1838 changes:
1839 - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1840 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1841 debian/rules: drop nfs-common init script in favor of upstart jobs,
1842 and build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart
1843 init handling.
1844 - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1845 - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1846 in the postinst, this is redundant anyway and the nfs-common init script
1847 is gone now.
1848 - nfs-kernel-server.default: Add comment about how to disable nfs4.
1849 - debian/patches/multiarch-kerberos-paths: Search for kerberos libs
1850 in multiarch locations.
1851 - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1852 - ubuntu-fix-kernel-version-handling: avoid segfaults from short kernel
1853 version numbers.
1854
1855 -- Steve Langasek <steve.langasek@ubuntu.com> Sat, 23 Jul 2011 17:54:36 +0200
1856
725nfs-utils (1:1.2.4-1) unstable; urgency=low1857nfs-utils (1:1.2.4-1) unstable; urgency=low
7261858
727 * New upstream version1859 * New upstream version
@@ -809,6 +1941,93 @@ nfs-utils (1:1.2.2-5) unstable; urgency=low
8091941
810 -- Luk Claes <luk@debian.org> Wed, 16 Mar 2011 23:10:15 +01001942 -- Luk Claes <luk@debian.org> Wed, 16 Mar 2011 23:10:15 +0100
8111943
1944nfs-utils (1:1.2.2-4ubuntu8) oneiric; urgency=low
1945
1946 * debian/nfs-common.idmapd.upstart: don't use a script unnecessarily for
1947 our job when we can exec directly - making the job more resilient in
1948 the face of races with /usr being mounted. LP: #811823.
1949 * Drop rpc_pipefs.conf; this has gotten far more complicated than it
1950 should be, just do the mount in-line in each of the gssd and idmapd
1951 jobs.
1952
1953 -- Steve Langasek <steve.langasek@ubuntu.com> Sun, 17 Jul 2011 02:23:01 -0700
1954
1955nfs-utils (1:1.2.2-4ubuntu7) oneiric; urgency=low
1956
1957 [ Andy Whitcroft ]
1958 * ubuntu-fix-kernel-version-handling: avoid segfaults from short kernel
1959 version numbers. (LP: #796611)
1960
1961 -- Evan Dandrea <ev@ubuntu.com> Tue, 14 Jun 2011 17:13:14 +0100
1962
1963nfs-utils (1:1.2.2-4ubuntu6) oneiric; urgency=low
1964
1965 * nfs-kernel-server.init: Unmount nfsd fs when init script stops
1966 (LP: #251026)
1967
1968 -- Bryce Harrington <bryce@ubuntu.com> Mon, 06 Jun 2011 19:18:16 -0700
1969
1970nfs-utils (1:1.2.2-4ubuntu5) natty; urgency=low
1971
1972 * Search kerberos libs in multiarch locations.
1973
1974 -- Matthias Klose <doko@ubuntu.com> Fri, 01 Apr 2011 12:35:30 +0200
1975
1976nfs-utils (1:1.2.2-4ubuntu4) natty; urgency=low
1977
1978 * nvs-kernel-server.default: Add comment about how to disable nfs4.
1979 There are corner cases where the server providing nfsv4 as the default
1980 can confuse the client (117957, 680680) or even cause kernel problems
1981 (716811), so it is worthwhile to document how to fallback to nfs3 only.
1982
1983 -- Bryce Harrington <bryce@ubuntu.com> Mon, 14 Feb 2011 13:20:27 -0800
1984
1985nfs-utils (1:1.2.2-4ubuntu3) natty; urgency=low
1986
1987 * debian/nfs-common.statd.upstart: pass a new WAITER= variable
1988 to portmap-wait, so that multiple jobs can wait in parallel, fixing
1989 another subtle race condition; and bump the portmap dependency again for
1990 the necessary instance support.
1991 * also fix the grouping in the start condition, so that restarts work
1992 correctly when portmap is restarted.
1993 * debian/nfs-common.rpc_pipefs.upstart: instantiate this job separately for
1994 gssd and idmapd, so that the filesystem gets mounted and unmounted
1995 correctly even if both of gssd and idmapd aren't being run, or if one of
1996 the two tries to start before the filesystem is fully mounted. Though
1997 it may be simpler now to move this logic back into the gssd and idmapd
1998 jobs directly, leave that for a later date.
1999
2000 -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 18 Jan 2011 17:45:45 -0800
2001
2002nfs-utils (1:1.2.2-4ubuntu2) natty; urgency=low
2003
2004 * debian/nfs-common.statd.upstart,
2005 debian/nfs-common.statd-mounting.upstart: refactor startup to wait for
2006 local-filesystems. (LP: #525154)
2007 * debian/control: depend on portmap version that sets ON_BOOT=y and
2008 has the portmap-wait job.
2009 * debian/rules: install new statd-mounting upstart job
2010
2011 -- Clint Byrum <clint@ubuntu.com> Wed, 05 Jan 2011 12:27:32 -0800
2012
2013nfs-utils (1:1.2.2-4ubuntu1) natty; urgency=low
2014
2015 * Merge from debian unstable (LP: #685860), remaining changes:
2016 - debian/nfs-common.{statd,gssd,idmapd,rpc_pipefs}.upstart,
2017 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
2018 debian/rules: drop nfs-common init script in favor of upstart jobs, and
2019 build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart init
2020 handling.
2021 - debian/control:
2022 + depend on the upstart-using version of portmap, 6.0-10ubuntu1; and
2023 drop the alternative depends on rpcbind, which hasn't been converted.
2024 + depend on portmap 6.0-10ubuntu1.
2025 - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
2026 in the postinst, this is redundant anyway and the nfs-common init script
2027 is gone now.
2028
2029 -- Lorenzo De Liso <blackz@ubuntu.com> Wed, 15 Dec 2010 21:42:55 +0100
2030
812nfs-utils (1:1.2.2-4) unstable; urgency=low2031nfs-utils (1:1.2.2-4) unstable; urgency=low
8132032
814 * mountd: fix path comparison for v4 crossmnt (Closes: #578317)2033 * mountd: fix path comparison for v4 crossmnt (Closes: #578317)
@@ -836,6 +2055,28 @@ nfs-utils (1:1.2.2-2) unstable; urgency=low
8362055
837 -- Anibal Monsalve Salazar <anibal@debian.org> Tue, 13 Jul 2010 15:20:17 +10002056 -- Anibal Monsalve Salazar <anibal@debian.org> Tue, 13 Jul 2010 15:20:17 +1000
8382057
2058nfs-utils (1:1.2.2-1ubuntu1) maverick; urgency=low
2059
2060 * Merge from Debian unstable, remaining changes:
2061 - debian/nfs-common.{statd,gssd,idmapd,rpc_pipefs}.upstart,
2062 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
2063 debian/rules: drop nfs-common init script in favor of upstart jobs, and
2064 build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart init
2065 handling.
2066 - debian/control: depend on the upstart-using version of portmap,
2067 6.0-10ubuntu1; and drop the alternative depends on rpcbind, which
2068 hasn't been converted.
2069 - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
2070 in the postinst, this is redundant anyway and the nfs-common init script
2071 is gone now.
2072 * Dropped changes, included in Debian:
2073 - debian/control: add ${misc:Depends} line for nfs-common, for the
2074 upstart deps
2075 - debian/nfs-kernel-server.init: updated check for presence of nfsd
2076 support
2077
2078 -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 04 Jun 2010 09:55:28 +0000
2079
839nfs-utils (1:1.2.2-1) unstable; urgency=low2080nfs-utils (1:1.2.2-1) unstable; urgency=low
8402081
841 [ Anibal Monsalve Salazar ]2082 [ Anibal Monsalve Salazar ]
@@ -907,6 +2148,51 @@ nfs-utils (1:1.2.0-4.1) unstable; urgency=low
9072148
908 -- Ben Hutchings <ben@decadent.org.uk> Wed, 16 Dec 2009 22:14:01 +00002149 -- Ben Hutchings <ben@decadent.org.uk> Wed, 16 Dec 2009 22:14:01 +0000
9092150
2151nfs-utils (1:1.2.0-4ubuntu4) lucid; urgency=low
2152
2153 * debian/nfs-common.gssd.upstart:
2154 - fix the OPTIONS= match for the start condition (missing a leading '*')
2155 so that we actually match on nfs4 mounts
2156 - drop the 'script' for a straight exec of rpc.gssd; if /usr is a separate
2157 partition then nfs4 mounts might be attempted in parallel, and upstart
2158 gets mightily confused when this happens. LP: #545673
2159
2160 -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 23 Mar 2010 22:26:07 -0700
2161
2162nfs-utils (1:1.2.0-4ubuntu3) lucid; urgency=low
2163
2164 * debian/nfs-common.*.upstart: start on new 'mounting' signal instead of
2165 obsolete 'mount' signal.
2166
2167 -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 25 Feb 2010 06:41:46 -0800
2168
2169nfs-utils (1:1.2.0-4ubuntu2) lucid; urgency=low
2170
2171 * debian/nfs-kernel-server.init: 2.6.32 kernels no longer export the
2172 same symbols. Switch symbol check to nfsd_serv which has been present
2173 since 2005. LP: #493145.
2174
2175 -- Andy Whitcroft <apw@canonical.com> Mon, 07 Dec 2009 16:56:56 +0000
2176
2177nfs-utils (1:1.2.0-4ubuntu1) lucid; urgency=low
2178
2179 * Merge from Debian testing, remaining changes:
2180 - debian/nfs-common.{statd,gssd,idmapd,rpc_pipefs}.upstart,
2181 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
2182 debian/rules: drop nfs-common init script in favor of upstart jobs, and
2183 build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart init
2184 handling.
2185 - debian/control: depend on the upstart-using version of portmap,
2186 6.0-10ubuntu1; and drop the alternative depends on rpcbind, which
2187 hasn't been converted.
2188 - debian/control: add ${misc:Depends} line for nfs-common, for the
2189 upstart deps
2190 - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
2191 in the postinst, this is redundant anyway and the nfs-common init script
2192 is gone now.
2193
2194 -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 04 Dec 2009 18:37:48 -0800
2195
910nfs-utils (1:1.2.0-4) unstable; urgency=low2196nfs-utils (1:1.2.0-4) unstable; urgency=low
9112197
912 * Removing myself from uploaders.2198 * Removing myself from uploaders.
@@ -921,6 +2207,94 @@ nfs-utils (1:1.2.0-3) unstable; urgency=low
9212207
922 -- Steinar H. Gunderson <sesse@debian.org> Sun, 09 Aug 2009 12:47:00 +02002208 -- Steinar H. Gunderson <sesse@debian.org> Sun, 09 Aug 2009 12:47:00 +0200
9232209
2210nfs-utils (1:1.2.0-2ubuntu9) lucid; urgency=low
2211
2212 * debian/nfs-common.statd.upstart: check for a started portmap in a
2213 non-racy manner. LP: #484209.
2214
2215 -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 17 Nov 2009 11:27:37 -0600
2216
2217nfs-utils (1:1.2.0-2ubuntu8) karmic; urgency=low
2218
2219 * debian/control: add missing ${misc:Depends} for nfs-common, else we don't
2220 get the dependency on upstart that we should have. LP: #456281.
2221
2222 -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 20 Oct 2009 13:10:01 +0000
2223
2224nfs-utils (1:1.2.0-2ubuntu7) karmic; urgency=low
2225
2226 * debian/rules: now that the jobs will exit cleanly on their own when
2227 'start' is called but the job is a no-op, remove the --error-handler
2228 option to dh_installinit so that we don't accidentally ignore other
2229 kinds of errors that could point to real problems.
2230
2231 -- Steve Langasek <steve.langasek@ubuntu.com> Sun, 11 Oct 2009 08:51:39 +0000
2232
2233nfs-utils (1:1.2.0-2ubuntu6) karmic; urgency=low
2234
2235 * Drop the gssd upstart job's dependency on "local-filesystems"; at boot
2236 time this is always implied transitively by the dep on portmap, and using
2237 a combination of 'or' and 'and' operators in the dependency list seems
2238 to confuse upstart quite badly, causing kerberized mounts to hang at boot.
2239 LP: #447654.
2240
2241 -- Steve Langasek <steve.langasek@ubuntu.com> Sat, 10 Oct 2009 20:12:11 +0000
2242
2243nfs-utils (1:1.2.0-2ubuntu5) karmic; urgency=low
2244
2245 * Set upstart jobs to also start on mount attempt, in the event that
2246 mountall gets to them before the daemons are done starting. Really-fixes
2247 LP: #431248.
2248 * Call 'stop' in the pre-start scripts for all jobs when we want to prevent
2249 the job from starting; this lets upstart know that it's a clean stop,
2250 and avoids boot-time messages about service start failures
2251
2252 -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 09 Oct 2009 19:17:34 +0000
2253
2254nfs-utils (1:1.2.0-2ubuntu4) karmic; urgency=low
2255
2256 * Mounting rpc_pipefs also requires the sunrpc module, so move this
2257 modprobe to the right upstart job.
2258
2259 -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 05 Oct 2009 22:04:28 -0700
2260
2261nfs-utils (1:1.2.0-2ubuntu3) karmic; urgency=low
2262
2263 * nfs-kernel-server: don't call invoke-rc.d nfs-common in the postinst,
2264 this is redundant anyway and the nfs-common init script is gone now.
2265 LP: #441855.
2266
2267 -- Steve Langasek <steve.langasek@ubuntu.com> Sat, 03 Oct 2009 23:07:09 -0700
2268
2269nfs-utils (1:1.2.0-2ubuntu2) karmic; urgency=low
2270
2271 * Configure gssd and idmapd upstart jobs to stop on runlevels 0 and 6; this
2272 is consistent with previous initscript-based behavior, and spares upstart
2273 trying to restart the jobs repeatedly when sendsigs runs.
2274 * When autodetecting gssd, handle the case of 'sec=krb5' being embedded in
2275 the middle of the options list in /etc/fstab. LP: #364861.
2276 * Fix transition idempotency error when stopping old nfs-common init
2277 script, in case the postinst fails to finish afterwards (e.g., failure to
2278 restart the daemons).
2279 * Fix statd upstart job to properly honor NEED_STATD=no and not get stuck
2280 respawning indefinitely.
2281 * Ignore failures to start the daemons on upgrade, since if they aren't
2282 needed we don't *want* them to start. LP: #441055.
2283 * Fix up the rpc_pipefs job, the wrong version of the file slipped into
2284 the previous upload.
2285
2286 -- Steve Langasek <steve.langasek@ubuntu.com> Sat, 03 Oct 2009 01:52:21 +0000
2287
2288nfs-utils (1:1.2.0-2ubuntu1) karmic; urgency=low
2289
2290 * Drop nfs-common init script in favor of new upstart jobs. LP: #431248.
2291 * Build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart init
2292 handling.
2293 * Depend the upstart-using version of portmap, 6.0-10ubuntu1; and drop the
2294 alternative depends on rpcbind, which hasn't been converted.
2295
2296 -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 02 Oct 2009 19:23:19 +0000
2297
924nfs-utils (1:1.2.0-2) unstable; urgency=low2298nfs-utils (1:1.2.0-2) unstable; urgency=low
9252299
926 * Merge from Ubuntu2300 * Merge from Ubuntu
@@ -2831,3 +4205,4 @@ nfs-utils (0.1.3-1) unstable; urgency=low
2831 * Start following CVS tree at SourceForge.4205 * Start following CVS tree at SourceForge.
28324206
2833 -- Chip Salzenberg <chip@valinux.com> Fri, 3 Dec 1999 20:00:00 -08004207 -- Chip Salzenberg <chip@valinux.com> Fri, 3 Dec 1999 20:00:00 -0800
4208
diff --git a/debian/control b/debian/control
index d4fbcea..e6a18e4 100644
--- a/debian/control
+++ b/debian/control
@@ -1,9 +1,10 @@
1Source: nfs-utils1Source: nfs-utils
2Priority: optional2Priority: optional
3Section: net3Section: net
4Maintainer: Debian kernel team <debian-kernel@lists.debian.org>4Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
5XSBC-Original-Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
5Uploaders: Anibal Monsalve Salazar <anibal@debian.org>, Ben Hutchings <benh@debian.org>, Steve Langasek <vorlon@debian.org>, Salvatore Bonaccorso <carnil@debian.org>6Uploaders: Anibal Monsalve Salazar <anibal@debian.org>, Ben Hutchings <benh@debian.org>, Steve Langasek <vorlon@debian.org>, Salvatore Bonaccorso <carnil@debian.org>
6Build-Depends: debhelper-compat (= 13), libwrap0-dev, libevent-dev, libkrb5-dev, libblkid-dev, libkeyutils-dev, pkg-config, libldap2-dev, libcap-dev, libtirpc-dev, libdevmapper-dev, libmount-dev, libsqlite3-dev7Build-Depends: debhelper-compat (= 13), libwrap0-dev, libevent-dev, libkrb5-dev, libblkid-dev, libkeyutils-dev, pkg-config, libldap2-dev, libcap-dev, libtirpc-dev, libdevmapper-dev, libmount-dev, libsqlite3-dev, dh-apport
7Standards-Version: 4.6.28Standards-Version: 4.6.2
8Homepage: https://linux-nfs.org/9Homepage: https://linux-nfs.org/
9Vcs-Git: https://salsa.debian.org/kernel-team/nfs-utils.git10Vcs-Git: https://salsa.debian.org/kernel-team/nfs-utils.git
@@ -61,10 +62,20 @@ Architecture: any
61Multi-Arch: same62Multi-Arch: same
62Pre-Depends: ${misc:Pre-Depends}63Pre-Depends: ${misc:Pre-Depends}
63Depends: ${shlibs:Depends}, ${misc:Depends}64Depends: ${shlibs:Depends}, ${misc:Depends}
64Conflicts: libnfsidmap2, libnfsidmap-regex65Conflicts: libnfsidmap2
65Provides: libnfsidmap2, libnfsidmap-regex66Breaks: libnfsidmap2 (<< 0.25-7~)
66Breaks: libnfsidmap2 (<< 0.25-7~), libnfsidmap-regex67Replaces: libnfsidmap2 (<< 0.25-7~)
67Replaces: libnfsidmap2 (<< 0.25-7~), libnfsidmap-regex
68Description: NFS idmapping library68Description: NFS idmapping library
69 libnfsidmap provides functions to map between NFSv4 names (which are69 libnfsidmap provides functions to map between NFSv4 names (which are
70 of the form user@domain) and local uid's and gid's.70 of the form user@domain) and local uid's and gid's.
71
72Package: libnfsidmap-regex
73Section: libs
74Architecture: any
75Multi-Arch: same
76Pre-Depends: ${misc:Pre-Depends}
77Depends: ${shlibs:Depends}, ${misc:Depends}
78Description: Plugin to map NFSv4 names to and from ids via regex
79 The regex plugin parses NFSv4 user and groups names using regex to extract the
80 local user or group. NFSv4 names are created by adding constant strings before
81 and after the local user and group names.
diff --git a/debian/libnfsidmap-regex.install b/debian/libnfsidmap-regex.install
71new file mode 10064482new file mode 100644
index 0000000..555f60b
--- /dev/null
+++ b/debian/libnfsidmap-regex.install
@@ -0,0 +1 @@
1usr/lib/*/libnfsidmap/regex.so
diff --git a/debian/libnfsidmap1.docs b/debian/libnfsidmap1.docs
0new file mode 1006442new file mode 100644
index 0000000..747afb7
--- /dev/null
+++ b/debian/libnfsidmap1.docs
@@ -0,0 +1 @@
1debian/README.Ubuntu
diff --git a/debian/libnfsidmap1.install b/debian/libnfsidmap1.install
index 2573d9e..a64297a 100644
--- a/debian/libnfsidmap1.install
+++ b/debian/libnfsidmap1.install
@@ -1,3 +1,5 @@
1usr/lib/*/lib*.so.*1usr/lib/*/lib*.so.*
2usr/lib/*/libnfsidmap/*.so2usr/lib/*/libnfsidmap/nsswitch.so
3usr/lib/*/libnfsidmap/static.so
4usr/lib/*/libnfsidmap/umich_ldap.so
3usr/share/man/man5/idmapd.conf.55usr/share/man/man5/idmapd.conf.5
diff --git a/debian/nfs-common.docs b/debian/nfs-common.docs
4new file mode 1006446new file mode 100644
index 0000000..747afb7
--- /dev/null
+++ b/debian/nfs-common.docs
@@ -0,0 +1 @@
1debian/README.Ubuntu
diff --git a/debian/not-installed b/debian/not-installed
0new file mode 1006442new file mode 100644
index 0000000..d970955
--- /dev/null
+++ b/debian/not-installed
@@ -0,0 +1,3 @@
1usr/lib/*/libnfsidmap/*.a
2usr/lib/*/libnfsidmap/*.la
3usr/lib/*/libnfsidmap.la
diff --git a/debian/patches/nfs-conf-manpage-missing-svcgssd-options.patch b/debian/patches/nfs-conf-manpage-missing-svcgssd-options.patch
0new file mode 1006444new file mode 100644
index 0000000..b57ad8c
--- /dev/null
+++ b/debian/patches/nfs-conf-manpage-missing-svcgssd-options.patch
@@ -0,0 +1,19 @@
1Description: add missing svcgssd long options to nfs.conf(5)
2Author: Andreas Hasenack <andreas@canonical.com>
3Forwarded: https://marc.info/?l=linux-nfs&m=165635622607689&w=4
4Last-Update: 2022-06-27
5
6--- a/systemd/nfs.conf.man
7+++ b/systemd/nfs.conf.man
8@@ -283,7 +283,10 @@
9 .TP
10 .B svcgssd
11 Recognized values:
12-.BR principal .
13+.BR principal ,
14+.BR verbosity ,
15+.BR rpc-verbosity ,
16+.BR idmap-verbosity .
17
18 See
19 .BR rpc.svcgssd (8)
diff --git a/debian/patches/series b/debian/patches/series
index fd04472..d3b2a4d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,3 +6,5 @@ start-statd-fix-shellcheck-warnings.patch
6fsidd-provide-better-default-socket-name.patch6fsidd-provide-better-default-socket-name.patch
7nfs-idmapd.service-add-network-online.target-to-Want.patch7nfs-idmapd.service-add-network-online.target-to-Want.patch
8libnfsidmap-try-to-get-the-domain-directly-from-host.patch8libnfsidmap-try-to-get-the-domain-directly-from-host.patch
9ubuntu-idmapd-manpage-update-regex-other-package.patch
10nfs-conf-manpage-missing-svcgssd-options.patch
diff --git a/debian/patches/ubuntu-idmapd-manpage-update-regex-other-package.patch b/debian/patches/ubuntu-idmapd-manpage-update-regex-other-package.patch
9new file mode 10064411new file mode 100644
index 0000000..cf63722
--- /dev/null
+++ b/debian/patches/ubuntu-idmapd-manpage-update-regex-other-package.patch
@@ -0,0 +1,12 @@
1--- a/support/nfsidmap/idmapd.conf.5
2+++ b/support/nfsidmap/idmapd.conf.5
3@@ -158,6 +158,9 @@
4 .nf
5
6 .fi
7+.B NOTE:
8+In Ubuntu, the regex plugin is shipped in the libnfsidmap-regex package. If you want to use this plugin, please install that package.
9+
10 If the "regex" translation method is specified, the following
11 variables within the [REGEX] section are used to map between NFS4 names and local IDs.
12 .TP
diff --git a/debian/rules b/debian/rules
index 211a51b..13be194 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
9include /usr/share/dpkg/architecture.mk9include /usr/share/dpkg/architecture.mk
1010
11%:11%:
12 dh $@12 dh $@ --with apport
1313
14override_dh_auto_configure:14override_dh_auto_configure:
15 dh_auto_configure -- \15 dh_auto_configure -- \
@@ -43,3 +43,6 @@ override_dh_md5sums:
4343
44override_dh_missing:44override_dh_missing:
45 dh_missing --list-missing45 dh_missing --list-missing
46
47override_dh_apport:
48 dh_apport -pnfs-common
diff --git a/debian/source.apport b/debian/source.apport
46new file mode 10064449new file mode 100644
index 0000000..6ea9c65
--- /dev/null
+++ b/debian/source.apport
@@ -0,0 +1,32 @@
1#!/usr/bin/python3
2
3'''NFS Apport Interface
4
5Copyright (C) 2022 Canonical Ltd
6Author: Andreas Hasenack <andreas@canonical.com>
7
8This program is free software; you can redistribute it and/or modify it
9under the terms of the GNU General Public License as published by the
10Free Software Foundation; either version 2 of the License, or (at your
11option) any later version. See http://www.gnu.org/copyleft/gpl.html for
12the full text of the license.
13'''
14
15from apport.hookutils import (
16 attach_file_if_exists,
17 command_output,
18 recent_syslog,
19)
20from glob import glob
21import re
22
23def add_info(report, ui):
24 file_list = ["/etc/nfs.conf","/etc/default/nfs-common", "/etc/default/nfs-kernel-server"]
25 file_list.extend(glob("/etc/nfs.conf.d/*.conf"))
26 file_list.append("/etc/exports")
27 file_list.append("/etc/request-key.d/id_resolver.conf")
28 for f in file_list:
29 attach_file_if_exists(report, f)
30 report["SyslogNFS"] = recent_syslog(re.compile("(rpc\.(nfsd|gssd|svcgssd|statd|mountd|idmapd)|blkmapd|nfsdcld|nfsidmap)\["))
31 report["NFSMounts"] = command_output(["findmnt", "-n", "-t", "nfs"])
32 report["NFSv4Mounts"] = command_output(["findmnt", "-n", "-t", "nfs4"])
diff --git a/debian/tests/control b/debian/tests/control
index dea3f82..8232531 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -2,3 +2,14 @@ Tests: local-server-client
2Depends: nfs-kernel-server2Depends: nfs-kernel-server
3# we need machine isolation as we need to modprobe stuff3# we need machine isolation as we need to modprobe stuff
4Restrictions: needs-root, isolation-machine, breaks-testbed4Restrictions: needs-root, isolation-machine, breaks-testbed
5
6Tests: kerberos-mount
7Depends: nfs-kernel-server, krb5-kdc, krb5-admin-server, krb5-user, keyutils
8Restrictions: needs-root, isolation-machine, breaks-testbed
9
10Tests: v3-mount
11Depends: nfs-kernel-server
12# this one allow stderr because when mounting nfsv3, a systemd message
13# about statd being started shows up, and I rather not supress stderr
14# in the mount command
15Restrictions: needs-root, isolation-machine, breaks-testbed, allow-stderr
diff --git a/debian/tests/kerberos-mount b/debian/tests/kerberos-mount
5new file mode 10075516new file mode 100755
index 0000000..9ea2f52
--- /dev/null
+++ b/debian/tests/kerberos-mount
@@ -0,0 +1,38 @@
1#!/bin/sh
2
3set -e
4
5. debian/tests/util
6
7cleanup() {
8 umount /mnt || :
9}
10
11trap cleanup EXIT
12
13myhostname="nfs-server.dep8"
14myrealm="DEP8"
15hello="Hello from NFS server $$"
16
17adjust_hostname "${myhostname}"
18
19create_realm ${myrealm} ${myhostname}
20
21for p in "nfs/${myhostname}" "host/${myhostname}"; do
22 create_krb_svc_principal "${p}"
23 extract_principal_key_into_keytab "${p}"
24done
25
26# or else clients have to wait 90s by default
27nfsconf --set nfsd grace-time 10
28systemctl restart nfs-server.service nfs-client.target
29
30mkdir -p /storage
31echo "${hello}" > /storage/hello.txt
32
33echo "/storage *(sec=krb5p,rw,sync,no_subtree_check)" > /etc/exports
34exportfs -rav
35
36mount "${myhostname}":/storage /mnt
37findmnt -n -t nfs4 | grep -E "/storage.*vers=4.*sec=krb5p"
38grep "${hello}" /mnt/hello.txt
diff --git a/debian/tests/util b/debian/tests/util
0new file mode 10064439new file mode 100644
index 0000000..cd8c9e2
--- /dev/null
+++ b/debian/tests/util
@@ -0,0 +1,89 @@
1#!/bin/sh
2
3die() {
4 echo "ERROR"
5 echo "$@"
6 exit 1
7}
8
9adjust_hostname() {
10 local myhostname="$1"
11
12 echo "${myhostname}" > /etc/hostname
13 hostname "${myhostname}"
14 if ! grep -qE "${myhostname}" /etc/hosts; then
15 # just so it's resolvable
16 echo "127.0.1.10 ${myhostname}" >> /etc/hosts
17 fi
18}
19
20create_realm() {
21 local realm_name="$1"
22 local kerberos_server="$2"
23
24 # start fresh
25 rm -rf /var/lib/krb5kdc/*
26 rm -rf /etc/krb5kdc/*
27 rm -f /etc/krb5.keytab
28
29 # setup some defaults
30 cat > /etc/krb5kdc/kdc.conf <<EOF
31[kdcdefaults]
32 kdc_ports = 750,88
33[realms]
34 ${realm_name} = {
35 database_name = /var/lib/krb5kdc/principal
36 admin_keytab = FILE:/etc/krb5kdc/kadm5.keytab
37 acl_file = /etc/krb5kdc/kadm5.acl
38 key_stash_file = /etc/krb5kdc/stash
39 kdc_ports = 750,88
40 max_life = 10h 0m 0s
41 max_renewable_life = 7d 0h 0m 0s
42 master_key_type = des3-hmac-sha1
43 #supported_enctypes = aes256-cts:normal aes128-cts:normal
44 default_principal_flags = +preauth
45 }
46EOF
47
48 cat > /etc/krb5.conf <<EOF
49[libdefaults]
50 default_realm = ${realm_name}
51 kdc_timesync = 1
52 ccache_type = 4
53 forwardable = true
54 proxiable = true
55 fcc-mit-ticketflags = true
56[realms]
57 ${realm_name} = {
58 kdc = ${kerberos_server}
59 admin_server = ${kerberos_server}
60 }
61EOF
62 echo "# */admin *" > /etc/krb5kdc/kadm5.acl
63
64 # create the realm
65 kdb5_util create -s -P secretpassword
66
67 # restart services
68 systemctl restart krb5-kdc.service krb5-admin-server.service
69}
70
71create_krb_principal() {
72 local principal="$1"
73 local password="$2"
74
75 kadmin.local -q "addprinc -pw ${password} ${principal}" 2>/dev/null
76}
77
78create_krb_svc_principal() {
79 local principal="$1"
80
81 kadmin.local -q "addprinc -randkey ${principal}" 2>/dev/null
82}
83
84extract_principal_key_into_keytab() {
85 local principal="$1"
86
87 kadmin.local -q "ktadd ${principal}"
88}
89
diff --git a/debian/tests/v3-mount b/debian/tests/v3-mount
0new file mode 10075590new file mode 100755
index 0000000..7eb5e6b
--- /dev/null
+++ b/debian/tests/v3-mount
@@ -0,0 +1,34 @@
1#!/bin/sh
2
3set -e
4
5cleanup() {
6 umount /mnt || :
7}
8
9hello="Hello from NFS server $$"
10mkdir -p /storage
11echo "${hello}" > /storage/hello.txt
12
13echo "/storage *(sec=sys,rw,sync,no_subtree_check)" > /etc/exports
14exportfs -rav
15
16# stop statd if it's running, because we will check later if it
17# was started automatically for the NFSv3 mount as it should
18if pidof rpc.statd > /dev/null 2>&1; then
19 systemctl stop rpc-statd.service > /dev/null 2>&1 || :
20 pidof rpc.statd > /dev/null 2>&1 && {
21 echo "couldn't kill rpc.statd before the NFSv3 test"
22 exit 1
23 }
24fi
25
26mount localhost:/storage /mnt -o vers=3
27grep "${hello}" /mnt/hello.txt
28
29pidof rpc.statd > /dev/null 2>&1 || {
30 echo "rpc.statd isn't running after the NVSv3 mount, and it should..."
31 exit 1
32}
33
34findmnt -n -t nfs | grep -E "/storage.*vers=3.*sec=sys"

Subscribers

People subscribed via source and target branches