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