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

Subscribers

People subscribed via source and target branches