Merge ~ahasenack/ubuntu/+source/nfs-utils:jammy-nfs-utils-merge into ubuntu/+source/nfs-utils:debian/experimental

Proposed by Andreas Hasenack
Status: Merged
Merge reported by: Andreas Hasenack
Merged at revision: 1fb81f5516f01eb26e001c2ea6a89f3d339572b8
Proposed branch: ~ahasenack/ubuntu/+source/nfs-utils:jammy-nfs-utils-merge
Merge into: ubuntu/+source/nfs-utils:debian/experimental
Diff against target: 1586 lines (+1254/-79)
12 files modified
debian/NEWS (+22/-0)
debian/README.Ubuntu (+8/-0)
debian/changelog (+1125/-1)
debian/control (+5/-5)
debian/libnfsidmap1.docs (+1/-0)
debian/libnfsidmap1.install (+3/-1)
debian/nfs-common.docs (+1/-1)
debian/nfs-common.postinst (+4/-0)
debian/not-installed (+5/-0)
debian/patches/remove-regex-from-docs.patch (+79/-0)
debian/patches/series (+1/-0)
dev/null (+0/-71)
Reviewer Review Type Date Requested Status
Bryce Harrington (community) Approve
Canonical Server Pending
Review via email: mp+415545@code.launchpad.net

Description of the change

This is the bug nfs-utils version bump, based on debian/experimental.

PPA, with reverse-dependencies rebuilt as well: https://launchpad.net/~ahasenack/+archive/ubuntu/nfs-utils-merge/

Remaining work:
- handle /etc/default/nfs-* to /etc/nfs.conf migration (bug #1960829)
- add more DEP8 tests (bug #1960828)
- future MIR for the regex plugin (bug #1960824)

With this upload, we are obsoleting src:libnfsidmap and its binaries. I'll request their removals from the archive.

One change that is a bit unfortunate is that we have src:libnfsidmap-regex in universe, and it was bundled into src:nfs-utils by upstream (see [1] for details). I chose to keep building the src:libnfsidmap-regex package, and as a result NOT bundle the regex plugin with bin:libnfsidmap1 at this time. This is a delta I'm adding. If that MIR gets sorted in time, we can drop this, but it's unlikely it will be done in time for jammy as it will need a security review.

I could also keep building the regex plugin in src:nfs-utils, but would need a new bin:libnfsidmap-regex package anyway to place it in universe. At this time, the regex plugin code is the same in both src:nfs-utils and src:libnfsidmap-regex.

I dropped delta touching /etc/default/nfs-* files, as they are ignored. Still in the TODO list, and part of #1960829, is to actually remove these files.

We also had delta for gssproxy, which I dropped, and I tested gssproxy integration, which works.

The other delta I dropped was for bug #1871214 (export iscsi mount). Upstream adopted the changes, and I retested the scenario to confirm.

All of these drops, and others, I mentioned in d/changelog with the reason for the drop in [brackets].

This upload is also closing an libnfsidmap bug[2], which I tested.

1. https://lists.ubuntu.com/archives/ubuntu-devel/2022-February/041844.html
2. https://bugs.launchpad.net/ubuntu/+source/libnfsidmap/+bug/1812280

To post a comment you must log in.
Revision history for this message
Bryce Harrington (bryce) wrote :

For the NEWS entry, since the regex plugin is effectively a new feature, maybe it's not as necessary to explain why it was omitted, and instead just give mention that it's being kept an opt-in functionality available when the universe package is installed.

In any case, I'd also suggest a few sentences explaining what the regex plugin is, and why the reader might care to have (or not have) it. This email has some decent explanation text that could be cribbed from:

    https://www.spinics.net/lists/linux-nfs/msg77160.html

Indeed, one thing I'm a bit confused by is if I *want* the feature, do I just do `apt install libnfsidmap-regex` and then configure it in idmapd.conf? The NEWS file might be a good place to answer that.

Does the libnfsidmap-regex package provide man page info similar to what's being dropped with this merge? If it doesn't, then would it make sense rather than delete it, to instead just mention that a separate package needs installed first?

Do you think it would be worthwhile to mention the nfsconvert.py script in the section of the NEWS file explaining the config changes, so users can start converting? Or does it make more sense to wait until a conversion strategy is decided on?

The drops all LGTM. With such a big version jump it's no surprise that so much can drop, and I didn't dig far into those. Your explanations and rationale all sound sensible, and I verified all the delta items mentioned in the prior merge are addressed here.

The autopkgtests against the PPA pass:

Results from https://autopkgtest.ubuntu.com/results/autopkgtest-jammy-ahasenack-nfs-utils-merge/?format=plain:
  nfs-utils @ amd64:
    16.02.22 01:16:06 Log 🗒️ ✅ Triggers: ['nfs-utils/1:2.6.1-1~exp1ubuntu1~ppa9']
      local-server-client PASS ✅
  nfs-utils @ arm64:
    16.02.22 01:08:00 Log 🗒️ ✅ Triggers: ['nfs-utils/1:2.6.1-1~exp1ubuntu1~ppa9']
      local-server-client PASS ✅
  nfs-utils @ armhf:
    16.02.22 00:59:41 Log 🗒️ ✅ Triggers: ['nfs-utils/1:2.6.1-1~exp1ubuntu1~ppa9']
  nfs-utils @ ppc64el:
    16.02.22 01:06:25 Log 🗒️ ✅ Triggers: ['nfs-utils/1:2.6.1-1~exp1ubuntu1~ppa9']
      local-server-client PASS ✅
  nfs-utils @ s390x:
    16.02.22 01:01:38 Log 🗒️ ✅ Triggers: ['nfs-utils/1:2.6.1-1~exp1ubuntu1~ppa9']
      local-server-client PASS

I checked that it built fine locally.

Thanks for filing the bugs with the followup work. Can you also file one to add an apport hook for this package?

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

> For the NEWS entry, since the regex plugin is effectively a new feature, maybe it's not as
> necessary to explain why it was omitted,

Hm, interesting point. I wanted to explain somewhere why we are the only ones who ship nfs-utils without this plugin. I even had to patch the idmapd.conf.5 manpage to point at the package in universe. Maybe README.Debian is more appropriate then?

> Does the libnfsidmap-regex package provide man page info similar to what's being dropped with
> this merge?

Yes. It has an extra bit about two different config keys (Group-Map-File and Group-Map-Section) but I couldn't find evidence in the code that they exist, nor could I get them to work. They are not mentioned in the nfs-utils' idmapd.conf.5 manpage.

My patch for nfsutils' idmapd.conf.5 mentions the other manpage in the regex package, called libnfsidmap-regex.5, and it's also about idmapd.conf.

> Do you think it would be worthwhile to mention the nfsconvert.py script in the section of the
> NEWS file explaining the config changes,

This script is not part of the upstream source, it's a script made by Fedora and shipped only in their package. If we decide to involve that script somehow, then it will for sure be mentioned in NEWS and probably also README.Debian.

About apport, good catch, I had forgotten about that. I need to update the debian/*.bug-script files to use /etc/nfs.conf too. I'm not sure if apport uses those, but a bug is the right place to check. bug #1961058

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

Just let me know if you think we should remove the regex mention from NEWS, and/or put it in a new debian/README.Debian, or something else.

While looking at debian/*README*, I also noticed that the existing debian/README.Debian.nfsv4 is very old and misleading, i.e., nfsv4 is not experimental. It's probably best to remove it entirely, wdyt?

Revision history for this message
Bryce Harrington (bryce) wrote :

README.Debian does seem like a better place for that rationale, although this also seems to fall into the category of things one may refer to d/changelog and/or a lp# to learn about; any of these would be fine.

Good to hear the cross-reference about the regex feature, that seems sufficient breadcrumbs to ensure the info is discoverable for those who need it.

Agreed the nfsv4 readme is probably too dated to be of use. +1 to dropping it in our delta but also let Debian know in case they'd prefer updating/replacing it.

Speaking of nfsv4 documentation, do you already have a bug report or card for a follow up task of revising the nfs docs in the server guide? At a quick glance it looks like it doesn't cover nfsv4. It does point to https://help.ubuntu.com/community/SettingUpNFSHowTo and https://help.ubuntu.com/community/NFSv4Howto which are more thorough, however they appear to not have been updated in 5 years either so may be worth doublechecking, esp. given the big version bump on nfs-utils and the new LTS.

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

The server guide docs are very shallow in this area indeed. I did add a task to bug #1878601 for release notes, but not server guide. We need one, and I'm up for writing/updating it in that regard.

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

I added a serverguide task to the merge bug, let's see how that tracking works out.

9b3a9f7... by Andreas Hasenack

    - Update README files:
      + d/README.Ubuntu: explains some of the packaging decisions
      + d/README.Debian.nfsv4: removed as the content is out of date
      + d/nfs-common.docs: install README.Ubuntu instead of
        README.Debian.nfsv4
      + d/libnfsidmap1.docs: install README.Ubuntu

1569889... by Andreas Hasenack

merge-changelogs

63ed865... by Andreas Hasenack

reconstruct-changelog

914b367... by Andreas Hasenack

update-maintainer

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

I removed the bit about libnfsidmap-regex from d/NEWS, but then I might have gone overboard with the README files.

I think the README.Debian.nfsv4 has to be removed, that's ok. Then I added README.Ubuntu explaining why in Ubuntu we use regex from libnfsidmap-regex instead of src:nfs-utils. I wanted that in the libnfsidmap1 package, because that's where you would find regex in Debian, but debhelper doesn't install <package>.README.Ubuntu files, just <package>.README.Debian ones. so I added it to libnfsidmap1.docs. I kept it in nfs-common.docs because I think more will be added to this README file in the future.

Phew. All that, and the libnfsidmap-regex story is also in d/changelog, with a MIR bug reference too. (MIR to be started yet, but at least the reference bug number is stable).

Let me know what you think, I can just as easy drop this README.Ubuntu idea, since d/changelog mentions it too.

Revision history for this message
Bryce Harrington (bryce) wrote :

Yep, new changes LGTM, +1.

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

Thanks Bryce!

Uploaded
$ dput ubuntu ../nfs-utils_2.6.1-1~exp1ubuntu1_source.changes
D: Setting host argument.
Checking signature on .changes
gpg: ../nfs-utils_2.6.1-1~exp1ubuntu1_source.changes: Valid signature from AC983EB5BF6BCBA9
Checking signature on .dsc
gpg: ../nfs-utils_2.6.1-1~exp1ubuntu1.dsc: Valid signature from AC983EB5BF6BCBA9
Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading nfs-utils_2.6.1-1~exp1ubuntu1.dsc: done.
  Uploading nfs-utils_2.6.1.orig.tar.xz: done.
  Uploading nfs-utils_2.6.1-1~exp1ubuntu1.debian.tar.xz: done.
  Uploading nfs-utils_2.6.1-1~exp1ubuntu1_source.buildinfo: done.
  Uploading nfs-utils_2.6.1-1~exp1ubuntu1_source.changes: done.
Successfully uploaded packages.

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

This migrated

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/debian/NEWS b/debian/NEWS
0new file mode 1006440new file mode 100644
index 0000000..1204d13
--- /dev/null
+++ b/debian/NEWS
@@ -0,0 +1,22 @@
1nfs-utils (1:2.6.1-1~exp1ubuntu1) jammy; urgency=medium
2
3 The configuration of the NFS related services has been moved to /etc/nfs.conf.
4 This package still installs /etc/default/nfs-common and
5 /etc/default/nfs-kernel-server, but they are ignored. A future version of this
6 package will handle the migration somehow[1].
7 .
8 Due to the above, the old nfs-config.service unit file has been deprecated and
9 removed.
10 .
11 All NFS related services are enabled by default. This means that depending on
12 the NFS version that you intend to use, some services might be superfluous.
13 For example, if you never intend to serve NFSv3, then you can safely disable
14 the rpc-statd.service unit. Note that some NFSv4 service units will start
15 only if Kerberos is setup.
16 .
17 libnfsidmapMAJOR and libnfsidmap-dev are now built from the nfs-utils source
18 package. This change deprecates the source package src:libnfsidmap.
19 .
20 1. https://bugs.launchpad.net/bugs/1960829
21
22 -- Andreas Hasenack <andreas@canonical.com> Tue, 25 Jan 2022 16:30:49 -0300
diff --git a/debian/README.Debian.nfsv4 b/debian/README.Debian.nfsv4
0deleted file mode 10064423deleted file mode 100644
index 453e2f8..0000000
--- a/debian/README.Debian.nfsv4
+++ /dev/null
@@ -1,71 +0,0 @@
1NFSv4 in Debian
2===============
3
4NFSv4 support in Debian is rather new, and not fully supported yet. If you want
5to experiment, make sure you have:
6
7 - a recent 2.6 kernel on both client and server; newer is better. You might
8 even want to use CITI's patch set from
9 http://www.citi.umich.edu/projects/nfsv4/linux/ on the server, and/or Trond
10 Myklebust's patch set from http://client.linux-nfs.org/ .
11 - a recent enough version of nfs-utils on both client and server (you probably
12 have on at least one of them, since you're reading this file!).
13 - enabled idmapd on both sides (see /etc/default/nfs-common).
14 - The following lines in /etc/services on the client (if not, you will receive
15 the message "broken /etc/services" when starting rpc.gssd; this will usually
16 only happen if you upgrade netbase without letting it replace /etc/services
17 with the new version):
18
19 nfs 2049/tcp # Network File System
20 nfs 2049/udp # Network File System
21
22The export structure might be a bit confusing if you're already familiar with
23NFSv2 or NFSv3. The biggest difference is that you will need to export an
24explicit root of your pseudofilesystem, like this /etc/exports fragment:
25
26 /nfs4 hostname(rw,sync,fsid=0,crossmnt)
27
28(It doesn't need to be named "nfs4".) Then you can mount other volumes under
29that, like:
30
31 /nfs4/music hostname(rw,sync)
32 /nfs4/movies hostname(rw,sync)
33
34Then your client can mount shares like this:
35
36 mount -t nfs4 server:/music /mnt/music
37
38Since you might not have everything under one root, you might want /nfs4/* on
39the server to be bind mounts, ie.:
40
41 mount --bind /srv/music /nfs4/music
42
43or in /etc/fstab:
44
45 /srv/music /nfs4/music none bind 0 0
46
47Note that this special export structure might be handled transparently by
48rpc.mountd at some time in the future, in which case you will probably get the
49traditional (NFSv3-style) behaviour if and only if you have no share with
50fsid=0.
51
52If you do not wish to use host-based authentication, you can specify "gss/krb5"
53instead of a hostname to get Kerberos-based authentication instead. For this,
54you will need an "nfs/hostname@REALM" entry in /etc/krb5.keytab, as well as
55rpc.gssd running on both client and rpc.svcgssd on the server (enable them
56manually in /etc/default/nfs-common and /etc/default/nfs-kernel-server if the
57autodetection fails). On the client, you will need to add "-o sec=krb5" to
58the mount call.
59
60If you use "gss/krb5i" (and correspondingly "-o sec=krb5i" on the client), you
61will also get integrity (ie. authentication), and with "gss/krb5p", you'll also
62get privacy (ie. encryption). Make sure your kernel supports this; not all
63kernels do.
64
65If you receive messages on the server complaining about "client ID already in
66use" when mounting from more than one client, check that you have at least
67mount version 2.12r-14. Also, connecting from behind different NATs could cause
68this kind of issue currently, as two or more clients would believe they had the
69same IP.
70
71 -- Steinar H. Gunderson <sesse@debian.org>, Wed, 11 Oct 2006 15:18:03 +0200
diff --git a/debian/README.Ubuntu b/debian/README.Ubuntu
72new file mode 1006440new file mode 100644
index 0000000..58eb6b7
--- /dev/null
+++ b/debian/README.Ubuntu
@@ -0,0 +1,8 @@
1nfs-utils upstream pulled[1] in the regex plugin from libnfsidmap-regex[2], but
2that plugin is already packaged in Ubuntu Universe[3]. For now, to use the
3regex plugin, please continue to install libnfsidmap-regex from Ubuntu
4Universe.
5
61. http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=940caffdfb9953a2ccfecec81664e4a179753461
72. https://github.com/isginf/libnfsidmap-regex
83. https://launchpad.net/ubuntu/+source/libnfsidmap-regex
diff --git a/debian/changelog b/debian/changelog
index 6f230fe..e7676d9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,62 @@
1nfs-utils (1:2.6.1-1~exp1ubuntu1) jammy; urgency=medium
2
3 * Merge with Debian experimental (LP: #1878601, #1812280). Remaining
4 changes:
5 - d/nfs-common.postinst: always start nfs-utils.service, so the restart in
6 the #DEBHELPER# section can do its job if needed
7 * Dropped:
8 - Add remove-gssproxy.patch: Drop gssproxy as it does not exist in Ubuntu
9 [Ubuntu has it, but not in main]
10 - debian/nfs-common.default: remove NEED_STATD and related comment.
11 [/etc/default/nfs-* files are no longer used]
12 - debian/nfs-common.default: always start idmapd automatically; drop the
13 configuration option.
14 [/etc/default/nfs-* files are no longer used]
15 - Add 90-gss-free-lucid-sec-context.patch: adjust for changes to the ctx
16 argument of the serialize_krb5_ctx() function.
17 [Was only needed when libgssglue-dev was used for build, which it
18 isn't since nfs-utils 1:1.2.8-7]
19 - Fixing nfs-mountd dependency on rpcbind (race condition) by adding
20 "rpcbind.socket" to "nfs-mountd.service" as a dependency to avoid race
21 conditions:
22 - Add systemd-Fix-nfs-mountd-dependency-on-rpcbind.patch
23 [Fixed upstream]
24 - truncate_gid*.patch: Backports from upstream to prevent truncating UIDs
25 and GIDs over 65536 on certain architectures
26 [Fixed upstream]
27 - d/p/fix-start-ordering-1.patch, d/p/fix-start-ordering-2.patch, d/p/fix-
28 start-ordering-3.patch, d/nfs-kernel-server.install: Fix systemd service
29 start ordering
30 [Fixed upstream. Patch 3 we don't need anymore because now the pkg
31 is built with --with-systemd]
32 - Depend on network-online.target when starting services.
33 - d/p/lp1918141-use-network-online-target-01.patch: Declare a
34 Wants=network-online.target on all NFS server services.
35 - d/p/lp1918141-use-network-online-target-02.patch: Declare a
36 After=network-online.target on all NFS server services. Thanks to
37 Niklas Edmundsson for helping with the reproducer.
38 [Fixed upstream]
39 * Added:
40 - d/control: don't provide libnfsidmap2 in libnfsidmap1
41 - d/NEWS: explain some of the major changes in 2.6.x
42 - Don't install the regex module, as it's built by
43 src:libnfsidmap-regex which is in Universe (MIR: #1960824)
44 + d/control: don't conflict/break/etc with libnfsidmap-regex
45 + d/libnfsidmap1.install: don't install regex.so
46 + d/not-installed: mark files we knowingly don't include in the
47 packaging
48 + d/p/remove-regex-from-docs.patch: remove the regex section from
49 the idmapd.conf(5) manpage, as we are not building that plugin in
50 this package
51 - Update README files:
52 + d/README.Ubuntu: explains some of the packaging decisions
53 + d/README.Debian.nfsv4: removed as the content is out of date
54 + d/nfs-common.docs: install README.Ubuntu instead of
55 README.Debian.nfsv4
56 + d/libnfsidmap1.docs: install README.Ubuntu
57
58 -- Andreas Hasenack <andreas@canonical.com> Wed, 16 Feb 2022 20:20:26 +0000
59
1nfs-utils (1:2.6.1-1~exp1) experimental; urgency=medium60nfs-utils (1:2.6.1-1~exp1) experimental; urgency=medium
261
3 [ Romain Perier ]62 [ Romain Perier ]
@@ -119,6 +178,50 @@ nfs-utils (1:2.5.4-1~exp1) experimental; urgency=medium
119178
120 -- Anibal Monsalve Salazar <anibal@debian.org> Sun, 05 Sep 2021 23:50:09 +1000179 -- Anibal Monsalve Salazar <anibal@debian.org> Sun, 05 Sep 2021 23:50:09 +1000
121180
181nfs-utils (1:1.3.4-6ubuntu1) impish; urgency=medium
182
183 * Merge from Debian unstable (LP: #1929406). Remaining changes:
184 - debian/nfs-common.default: always start idmapd automatically; drop the
185 configuration option.
186 - debian/nfs-common.default: remove NEED_STATD and related comment.
187 - Add 90-gss-free-lucid-sec-context.patch: adjust for changes to the ctx
188 argument of the serialize_krb5_ctx() function.
189 - Add remove-gssproxy.patch: Drop gssproxy as it does not exist in Ubuntu
190 - Fixing nfs-mountd dependency on rpcbind (race condition) by adding
191 "rpcbind.socket" to "nfs-mountd.service" as a dependency to avoid race
192 conditions:
193 - Add systemd-Fix-nfs-mountd-dependency-on-rpcbind.patch
194 - truncate_gid*.patch: Backports from upstream to prevent truncating UIDs
195 and GIDs over 65536 on certain architectures
196 - d/p/fix-start-ordering-1.patch, d/p/fix-start-ordering-2.patch, d/p/fix-
197 start-ordering-3.patch, d/nfs-kernel-server.install: Fix systemd service
198 start ordering
199 - Depend on network-online.target when starting services.
200 - d/p/lp1918141-use-network-online-target-01.patch: Declare a
201 Wants=network-online.target on all NFS server services.
202 - d/p/lp1918141-use-network-online-target-02.patch: Declare a
203 After=network-online.target on all NFS server services. Thanks to
204 Niklas Edmundsson for helping with the reproducer.
205 - d/nfs-common.postinst: always start nfs-utils.service, so the restart in
206 the #DEBHELPER# section can do its job if needed
207 * Removed patches obsoleted/merged by upstream:
208 - Remove hard-coded dep on libtirpc1; already merged upstream, but
209 previously un-noted
210 - d/nfs-utils_env.sh: alongside RPCSVCGSSDARGS, also export SVCGSSDARGS,
211 which is the variable name expected by the rpc-svcgssd systemd service;
212 already merged upstream, but previously un-noted
213 - d/p/python3.diff obsoleted by
214 d/p/Convert-remaining-python-scripts-to-python3.patch
215 * d/p/nfsiostat-replace-list-reserved-word.patch: re-instated after
216 previous merge removed a patch already merged upstream
217 * d/p/01-sm-notify-in-sbin.patch,
218 d/p/03-handle-mtab-symlink.patch,
219 d/p/17-multiarch-kerberos-paths.patch,
220 d/p/unbreak-blkmapd-rpc_pipefs-run.patch:
221 reverted unnecessary refresh of patches
222
223 -- Dave Jones <dave.jones@canonical.com> Tue, 06 Jul 2021 11:47:33 +0100
224
122nfs-utils (1:1.3.4-6) unstable; urgency=medium225nfs-utils (1:1.3.4-6) unstable; urgency=medium
123226
124 * mountstats: Remove a shebang227 * mountstats: Remove a shebang
@@ -136,6 +239,59 @@ nfs-utils (1:1.3.4-5) unstable; urgency=medium
136239
137 -- Salvatore Bonaccorso <carnil@debian.org> Tue, 09 Mar 2021 17:17:42 +0100240 -- Salvatore Bonaccorso <carnil@debian.org> Tue, 09 Mar 2021 17:17:42 +0100
138241
242nfs-utils (1:1.3.4-4ubuntu3) impish; urgency=medium
243
244 * d/nfs-common.postinst: always start nfs-utils.service, so the restart in
245 the #DEBHELPER# section can do its job if needed (LP: #1928259)
246
247 -- Andreas Hasenack <andreas@canonical.com> Mon, 24 May 2021 17:59:39 -0300
248
249nfs-utils (1:1.3.4-4ubuntu2) hirsute; urgency=medium
250
251 * Depend on network-online.target when starting services. (LP: #1918141)
252 - d/p/lp1918141-use-network-online-target-01.patch: Declare a
253 Wants=network-online.target on all NFS server services.
254 - d/p/lp1918141-use-network-online-target-02.patch: Declare a
255 After=network-online.target on all NFS server services.
256 Thanks to Niklas Edmundsson for helping with the reproducer.
257
258 -- Sergio Durigan Junior <sergio.durigan@canonical.com> Mon, 15 Mar 2021 18:26:22 -0400
259
260nfs-utils (1:1.3.4-4ubuntu1) hirsute; urgency=low
261
262 * Merge from Debian unstable. Remaining changes:
263 - debian/nfs-common.default: always start idmapd automatically; drop
264 the configuration option.
265 - Add 90-gss-free-lucid-sec-context.patch: adjust for changes to the ctx
266 argument of the serialize_krb5_ctx() function.
267 - Add remove-gssproxy.patch: Drop gssproxy as it does not exist in Ubuntu
268 - Fixing nfs-mountd dependency on rpcbind (race condition)
269 by adding "rpcbind.socket" to "nfs-mountd.service" as a dependency
270 to avoid race conditions:
271 - Add systemd-Fix-nfs-mountd-dependency-on-rpcbind.patch
272 - Convert mountstats and nfsiostat scripts to Python3 and recommend
273 python3 instead of python.
274 - truncate_gid*.patch: Backports from upstream to prevent truncating
275 UIDs and GIDs over 65536 on certain architectures
276 - Remove hard-coded dep on libtirpc1.
277 - d/nfs-utils_env.sh: alongside RPCSVCGSSDARGS, also export SVCGSSDARGS,
278 which is the variable name expected by the rpc-svcgssd systemd service.
279 - d/p/fix-start-ordering-1.patch,
280 d/p/fix-start-ordering-2.patch,
281 d/p/fix-start-ordering-3.patch,
282 d/nfs-kernel-server.install:
283 Fix systemd service start ordering
284 * Dropped changes, included in Debian:
285 - Allow compilation to succeed with -fno-common
286 - debian/nfs-common.postinst: don't make /var/lib/nfs owned by statd.
287 - debian/patches/CVE-2019-3689.patch: take user-id from
288 /var/lib/nfs/sm in support/nsm/file.c, utils/statd/sm-notify.man,
289 utils/statd/statd.man.
290 - d/p/nfsiostat-replace-list-reserved-word.patch: fix nfsiostat crash due
291 to using 'list' as a variable name.
292
293 -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 26 Oct 2020 09:25:58 -0700
294
139nfs-utils (1:1.3.4-4) unstable; urgency=medium295nfs-utils (1:1.3.4-4) unstable; urgency=medium
140296
141 * Allow compilation to succeed with -fno-common (Closes: #957608)297 * Allow compilation to succeed with -fno-common (Closes: #957608)
@@ -174,6 +330,73 @@ nfs-utils (1:1.3.4-3) unstable; urgency=medium
174330
175 -- Salvatore Bonaccorso <carnil@debian.org> Fri, 13 Mar 2020 05:16:46 +0100331 -- Salvatore Bonaccorso <carnil@debian.org> Fri, 13 Mar 2020 05:16:46 +0100
176332
333nfs-utils (1:1.3.4-2.5ubuntu6) groovy; urgency=medium
334
335 * Allow compilation to succeed with -fno-common (Closes: #957608)
336 (cherry picked from 1:1.3.4-4)
337
338 -- Julian Andres Klode <juliank@ubuntu.com> Wed, 16 Sep 2020 16:20:55 +0200
339
340nfs-utils (1:1.3.4-2.5ubuntu5) groovy; urgency=medium
341
342 * SECURITY UPDATE: privilege escalation via directory permissions
343 - debian/patches/CVE-2019-3689.patch: take user-id from
344 /var/lib/nfs/sm in support/nsm/file.c, utils/statd/sm-notify.man,
345 utils/statd/statd.man.
346 - debian/nfs-common.postinst: don't make /var/lib/nfs owned by statd.
347 - CVE-2019-3689
348
349 -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Wed, 17 Jun 2020 08:42:59 -0400
350
351nfs-utils (1:1.3.4-2.5ubuntu4) groovy; urgency=medium
352
353 [ Rodrigo Barbieri ]
354 * d/p/fix-start-ordering-1.patch,
355 d/p/fix-start-ordering-2.patch,
356 d/p/fix-start-ordering-3.patch,
357 d/nfs-kernel-server.install:
358 - Fix systemd service start ordering (LP: #1871214)
359
360 -- Dariusz Gadomski <dariusz.gadomski@canonical.com> Thu, 28 May 2020 17:45:23 -0400
361
362nfs-utils (1:1.3.4-2.5ubuntu3) focal; urgency=medium
363
364 * No-change rebuild for libevent soname changes.
365
366 -- Matthias Klose <doko@ubuntu.com> Sat, 19 Oct 2019 19:57:12 +0000
367
368nfs-utils (1:1.3.4-2.5ubuntu2) eoan; urgency=medium
369
370 * No-change upload with strops.h and sys/strops.h removed in glibc.
371
372 -- Matthias Klose <doko@ubuntu.com> Thu, 05 Sep 2019 11:04:05 +0000
373
374nfs-utils (1:1.3.4-2.5ubuntu1) eoan; urgency=low
375
376 * Merge from Debian unstable. Remaining changes:
377 - debian/nfs-common.default: always start idmapd automatically; drop
378 the configuration option.
379 - Add 90-gss-free-lucid-sec-context.patch: adjust for changes to the ctx
380 argument of the serialize_krb5_ctx() function.
381 - Add remove-gssproxy.patch: Drop gssproxy as it does not exist in Ubuntu
382 - Fixing nfs-mountd dependency on rpcbind (race condition)
383 by adding "rpcbind.socket" to "nfs-mountd.service" as a dependency
384 to avoid race conditions:
385 - Add systemd-Fix-nfs-mountd-dependency-on-rpcbind.patch
386 - Convert mountstats and nfsiostat scripts to Python3 and recommend
387 python3 instead of python.
388 - truncate_gid*.patch: Backports from upstream to prevent truncating
389 UIDs and GIDs over 65536 on certain architectures
390 - Remove hard-coded dep on libtirpc1.
391 - d/nfs-utils_env.sh: alongside RPCSVCGSSDARGS, also export SVCGSSDARGS,
392 which is the variable name expected by the rpc-svcgssd systemd service.
393 - d/p/nfsiostat-replace-list-reserved-word.patch: fix nfsiostat crash due
394 to using 'list' as a variable name.
395 * Dropped changes, included in Debian:
396 - glibc-2.28-compat.patch: Include <sys/sysmacros.h> for major/minor.
397
398 -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 02 May 2019 22:43:12 -0700
399
177nfs-utils (1:1.3.4-2.5) unstable; urgency=medium400nfs-utils (1:1.3.4-2.5) unstable; urgency=medium
178401
179 * Non-maintainer upload.402 * Non-maintainer upload.
@@ -199,6 +422,43 @@ nfs-utils (1:1.3.4-2.4) unstable; urgency=medium
199422
200 -- Hilko Bengen <bengen@debian.org> Sat, 09 Feb 2019 15:26:27 +0100423 -- Hilko Bengen <bengen@debian.org> Sat, 09 Feb 2019 15:26:27 +0100
201424
425nfs-utils (1:1.3.4-2.3ubuntu3) disco; urgency=medium
426
427 * d/p/nfsiostat-replace-list-reserved-word.patch: fix nfsiostat crash due to
428 using 'list' as a variable name. (LP: #1821261)
429
430 -- Matthew Ruffell <matthew.ruffell@canonical.com> Tue, 02 Apr 2019 11:09:15 +1300
431
432nfs-utils (1:1.3.4-2.3ubuntu2) disco; urgency=medium
433
434 * d/nfs-utils_env.sh: alongside RPCSVCGSSDARGS, also export SVCGSSDARGS,
435 which is the variable name expected by the rpc-svcgssd systemd service.
436 (LP: #1616123)
437
438 -- Andreas Hasenack <andreas@canonical.com> Mon, 25 Mar 2019 09:24:29 -0300
439
440nfs-utils (1:1.3.4-2.3ubuntu1) disco; urgency=low
441
442 * Merge from Debian unstable. Remaining changes:
443 - debian/nfs-common.default: always start idmapd automatically; drop
444 the configuration option.
445 - Add 90-gss-free-lucid-sec-context.patch: adjust for changes to the ctx
446 argument of the serialize_krb5_ctx() function.
447 - Add remove-gssproxy.patch: Drop gssproxy as it does not exist in Ubuntu
448 (LP: #1446851)
449 - Fixing nfs-mountd dependency on rpcbind (race condition) (LP: #1590799)
450 by adding "rpcbind.socket" to "nfs-mountd.service" as a dependency
451 to avoid race conditions:
452 - Add systemd-Fix-nfs-mountd-dependency-on-rpcbind.patch
453 - Convert mountstats and nfsiostat scripts to Python3 and recommend
454 python3 instead of python.
455 - glibc-2.28-compat.patch: Include <sys/sysmacros.h> for major/minor.
456 - truncate_gid*.patch: Backports from upstream to prevent truncating
457 UIDs and GIDs over 65536 on certain architectures
458 - Remove hard-coded dep on libtirpc1.
459
460 -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 31 Jan 2019 23:18:10 -0800
461
202nfs-utils (1:1.3.4-2.3) unstable; urgency=medium462nfs-utils (1:1.3.4-2.3) unstable; urgency=medium
203463
204 * Non-maintainer upload.464 * Non-maintainer upload.
@@ -218,6 +478,51 @@ nfs-utils (1:1.3.4-2.3) unstable; urgency=medium
218478
219 -- Laurent Bigonville <bigon@debian.org> Sat, 20 Oct 2018 15:04:07 +0200479 -- Laurent Bigonville <bigon@debian.org> Sat, 20 Oct 2018 15:04:07 +0200
220480
481nfs-utils (1:1.3.4-2.2ubuntu5) disco; urgency=medium
482
483 * Remove hard-coded dep on libtirpc1.
484
485 -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 13 Nov 2018 17:03:07 -0800
486
487nfs-utils (1:1.3.4-2.2ubuntu4) disco; urgency=medium
488
489 * No-change rebuild against latest libtirpc
490
491 -- Jeremy Bicha <jbicha@ubuntu.com> Sat, 10 Nov 2018 07:54:17 -0500
492
493nfs-utils (1:1.3.4-2.2ubuntu3) cosmic; urgency=medium
494
495 * truncate_gid*.patch: Backports from upstream to prevent truncating
496 UIDs and GIDs over 65536 on certain architectures (LP: #1779962)
497
498 -- Adam Conrad <adconrad@ubuntu.com> Tue, 16 Oct 2018 06:06:43 -0600
499
500nfs-utils (1:1.3.4-2.2ubuntu2) cosmic; urgency=medium
501
502 * glibc-2.28-compat.patch: Include <sys/sysmacros.h> for major/minor.
503
504 -- Adam Conrad <adconrad@ubuntu.com> Tue, 16 Oct 2018 05:24:40 -0600
505
506nfs-utils (1:1.3.4-2.2ubuntu1) cosmic; urgency=medium
507
508 * Merge from Debian unstable. Remaining changes:
509 - debian/nfs-common.default: always start idmapd automatically; drop
510 the configuration option.
511 - Add 90-gss-free-lucid-sec-context.patch: adjust for changes to the ctx
512 argument of the serialize_krb5_ctx() function.
513 - Add remove-gssproxy.patch: Drop gssproxy as it does not exist in Ubuntu
514 (LP: #1446851)
515 - Fixing nfs-mountd dependency on rpcbind (race condition) (LP: #1590799)
516 by adding "rpcbind.socket" to "nfs-mountd.service" as a dependency
517 to avoid race conditions:
518 - Add systemd-Fix-nfs-mountd-dependency-on-rpcbind.patch
519 - Convert mountstats and nfsiostat scripts to Python3 and recommend
520 python3 instead of python.
521 * Dropped already integrated changes:
522 - Provide UINT16_MAX definition if not provided by glibc.
523
524 -- Balint Reczey <rbalint@ubuntu.com> Thu, 23 Aug 2018 16:16:30 +0200
525
221nfs-utils (1:1.3.4-2.2) unstable; urgency=medium526nfs-utils (1:1.3.4-2.2) unstable; urgency=medium
222527
223 * Non-maintainer upload.528 * Non-maintainer upload.
@@ -229,6 +534,55 @@ nfs-utils (1:1.3.4-2.2) unstable; urgency=medium
229534
230 -- Adrian Bunk <bunk@debian.org> Tue, 06 Feb 2018 21:20:36 +0200535 -- Adrian Bunk <bunk@debian.org> Tue, 06 Feb 2018 21:20:36 +0200
231536
537nfs-utils (1:1.3.4-2.1ubuntu5) bionic; urgency=medium
538
539 * Drop obsoleted 20-ticket-expired-error.patch (LP: #1709129)
540 The original issue is fixed in the kernel starting with version 3.10.
541 * Refresh patches
542 * Remove whitespace after '=' in service files
543
544 -- Balint Reczey <rbalint@ubuntu.com> Tue, 16 Jan 2018 23:49:38 +0100
545
546nfs-utils (1:1.3.4-2.1ubuntu4) bionic; urgency=medium
547
548 * Convert mountstats and nfsiostat scripts to Python3 and recommend
549 python3 instead of python. LP: #1735458.
550 * Provide UINT16_MAX definition if not provided by glibc.
551
552 -- Matthias Klose <doko@ubuntu.com> Fri, 01 Dec 2017 03:49:39 +0100
553
554nfs-utils (1:1.3.4-2.1ubuntu2) artful; urgency=medium
555
556 * Fix flaky autopkgtest: a 'sync' after an update on the server does not
557 guarantee that the change is visible on the client. For that, we need
558 to flush the inode/dentry cache instead.
559
560 -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 31 Aug 2017 23:08:25 -0700
561
562nfs-utils (1:1.3.4-2.1ubuntu1) artful; urgency=low
563
564 * Merge from Debian unstable. Remaining changes:
565 - debian/nfs-common.default: always start idmapd automatically; drop
566 the configuration option.
567 - Add 20-ticket-expired-error.patch: Add "-e" (ticket expiry is error)
568 option to rpc.gssd to prevent hangs due to EKEYEXPIRED error from kernel
569 on ticket expiry. (LP: #794112)
570 - Add 90-gss-free-lucid-sec-context.patch: adjust for changes to the ctx
571 argument of the serialize_krb5_ctx() function. (LP: #1331201)
572 - Add remove-gssproxy.patch: Drop gssproxy as it does not exist in Ubuntu
573 (LP: #1446851)
574 - Add debian/nfs-common.maintscript: Clean up obsolete conffiles (upstart
575 jobs) on upgrades. This needs to be kept until after 18.04 LTS.
576 - Fixing nfs-mountd dependency on rpcbind (race condition) (LP: #1590799)
577 by adding "rpcbind.socket" to "nfs-mountd.service" as a dependency
578 to avoid race conditions:
579 - Add systemd-Fix-nfs-mountd-dependency-on-rpcbind.patch
580 * Dropped already integrated changes:
581 - Add a dependency on keyutils to nfs-common, so that idmapping will work
582 under systemd. (LP: #1449074)
583
584 -- Balint Reczey <rbalint@ubuntu.com> Thu, 03 Aug 2017 20:50:38 +0200
585
232nfs-utils (1:1.3.4-2.1) unstable; urgency=medium586nfs-utils (1:1.3.4-2.1) unstable; urgency=medium
233587
234 * Non-maintainer upload.588 * Non-maintainer upload.
@@ -262,6 +616,22 @@ nfs-utils (1:1.3.4-1) unstable; urgency=medium
262616
263 -- Daniel Pocock <daniel@pocock.pro> Tue, 13 Dec 2016 19:37:42 +0100617 -- Daniel Pocock <daniel@pocock.pro> Tue, 13 Dec 2016 19:37:42 +0100
264618
619nfs-utils (1:1.2.8-9.2ubuntu2) zesty; urgency=medium
620
621 * Fixing nfs-mountd dependency on rpcbind (race condition) (LP: #1590799)
622 by adding "rpcbind.socket" to "nfs-mountd.service" as a dependency
623 to avoid race conditions:
624 - Add systemd-Fix-nfs-mountd-dependency-on-rpcbind.patch
625 - Add systemd-unit-files-fix-up-dependencies-on-rpcbind.patch
626
627 -- Rafael David Tinoco <rafael.tinoco@canonical.com> Fri, 17 Mar 2017 12:19:53 +0100
628
629nfs-utils (1:1.2.8-9.2ubuntu1) yakkety; urgency=medium
630
631 * Merge fixes from Debian.
632
633 -- Martin Pitt <martin.pitt@ubuntu.com> Mon, 12 Sep 2016 23:18:00 +0200
634
265nfs-utils (1:1.2.8-9.2) unstable; urgency=medium635nfs-utils (1:1.2.8-9.2) unstable; urgency=medium
266636
267 * Non-maintainer upload.637 * Non-maintainer upload.
@@ -277,6 +647,27 @@ nfs-utils (1:1.2.8-9.2) unstable; urgency=medium
277647
278 -- Andreas Henriksson <andreas@fatal.se> Thu, 11 Aug 2016 18:50:24 +0200648 -- Andreas Henriksson <andreas@fatal.se> Thu, 11 Aug 2016 18:50:24 +0200
279649
650nfs-utils (1:1.2.8-9.1ubuntu1) yakkety; urgency=medium
651
652 * Drop upstart jobs, upstart is not in yakkety any more.
653 * Drop libgssglue-dev build dep, --with-gssglue got dropped a while ago.
654 * Merge with Debian unstable. Remaining Ubuntu changes:
655 - debian/nfs-common.default: always start idmapd automatically; drop
656 the configuration option.
657 - Add 20-ticket-expired-error.patch: Add "-e" (ticket expiry is error)
658 option to rpc.gssd to prevent hangs due to EKEYEXPIRED error from kernel
659 on ticket expiry. (LP: #794112)
660 - Add 90-gss-free-lucid-sec-context.patch: adjust for changes to the ctx
661 argument of the serialize_krb5_ctx() function. (LP: #1331201)
662 - Add remove-gssproxy.patch: Drop gssproxy as it does not exist in Ubuntu
663 (LP: #1446851)
664 - Add a dependency on keyutils to nfs-common, so that idmapping will work
665 under systemd. (LP: #1449074)
666 - Add debian/nfs-common.maintscript: Clean up obsolete conffiles (upstart
667 jobs) on upgrades. This needs to be kept until after 18.04 LTS.
668
669 -- Martin Pitt <martin.pitt@ubuntu.com> Thu, 28 Jul 2016 15:21:53 +0200
670
280nfs-utils (1:1.2.8-9.1) unstable; urgency=medium671nfs-utils (1:1.2.8-9.1) unstable; urgency=medium
281672
282 Partial sync from ubuntu, included changes:673 Partial sync from ubuntu, included changes:
@@ -341,6 +732,149 @@ nfs-utils (1:1.2.8-9.1) unstable; urgency=medium
341732
342 -- Andreas Henriksson <andreas@fatal.se> Tue, 28 Jun 2016 02:05:16 +0200733 -- Andreas Henriksson <andreas@fatal.se> Tue, 28 Jun 2016 02:05:16 +0200
343734
735nfs-utils (1:1.2.8-9ubuntu13) yakkety; urgency=medium
736
737 * Drop obsolete versioned initscripts dependency. (Closes: #804990)
738
739 -- Martin Pitt <martin.pitt@ubuntu.com> Wed, 22 Jun 2016 16:09:37 +0200
740
741nfs-utils (1:1.2.8-9ubuntu12) xenial; urgency=medium
742
743 * Drop gssproxy as it's not in Ubuntu (LP: #1446851)
744 * Fix no nfs doesn't show failed units on client (LP: #1452667)
745
746 -- Bryan Quigley <bryan.quigley@canonical.com> Wed, 02 Mar 2016 15:01:29 -0500
747
748nfs-utils (1:1.2.8-9ubuntu11) xenial; urgency=medium
749
750 * Drop obsolete and no-op dh_installinit --upstart-only option.
751 (LP: #1519228)
752
753 -- Martin Pitt <martin.pitt@ubuntu.com> Tue, 24 Nov 2015 09:39:56 +0100
754
755nfs-utils (1:1.2.8-9ubuntu10) wily; urgency=medium
756
757 * debian/nfs-common.links: Add naming compatibility symlinks for
758 gssd.service → rpc-gssd.service and idmapd.service → /dev/null (as this
759 is bound to/handled by nfs-server.service) to provide a match for the
760 upstart job names. (LP: #1476010).
761
762 -- Martin Pitt <martin.pitt@ubuntu.com> Fri, 28 Aug 2015 09:59:48 +0200
763
764nfs-utils (1:1.2.8-9ubuntu9) wily; urgency=medium
765
766 * Drop versioned mountall dependency. Trusty's is already newer and we don't
767 need it with systemd under Ubuntu 15.04 and newer.
768
769 -- Martin Pitt <martin.pitt@ubuntu.com> Mon, 27 Jul 2015 10:37:24 +0200
770
771nfs-utils (1:1.2.8-9ubuntu8.1) vivid; urgency=medium
772
773 * Add a dependency on keyutils to nfs-common, so that idmapping will work
774 under systemd. LP: #1449074.
775
776 -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 27 Apr 2015 17:46:03 +0200
777
778nfs-utils (1:1.2.8-9ubuntu8) vivid; urgency=medium
779
780 * Ship missing .override files
781 * Ensure we only remove the manual flag from the statd-mounting.override
782 file, and potentially, remove it if empty.
783
784 -- Didier Roche <didrocks@ubuntu.com> Wed, 01 Apr 2015 08:22:59 +0200
785
786nfs-utils (1:1.2.8-9ubuntu7) vivid; urgency=medium
787
788 * 27-systemd-enable-with-systemctl-statd.patch: let the admin
789 enable/disable statd via systemd tools. (LP: #1428486)
790 * debian/nfs-common.default: remove NEED_STATD and related comment.
791 * debian/statd{,-mounting}.upstart: remove the usage of NEED_STATD, we'll
792 directly disable the jobs now.
793 * debian/rules: don't start statd by default (or it will trigger upstart
794 and systemd statd unit startup).
795 * debian/nfs-common.{preinst,postinst}: transition the conffile to the new
796 template and enable statd services in both upstart and systemd if
797 NEED_STATD was set to yes.
798 * debian/control, debian/*install: move nfs-utils.service to nfs-common
799 package. (LP: #1436304)
800
801 -- Didier Roche <didrocks@ubuntu.com> Thu, 12 Mar 2015 09:13:06 +0100
802
803nfs-utils (1:1.2.8-9ubuntu6) vivid; urgency=medium
804
805 * Revert previous upload; per upstream, rpc.idmapd is not used when the
806 nfsidmap utility is available and configured for use in request-key
807 upcalls. So rpc.idmapd does not need to be started on clients anymore.
808
809 -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 06 Mar 2015 10:19:57 -0800
810
811nfs-utils (1:1.2.8-9ubuntu5) vivid; urgency=medium
812
813 * Add 27-systemd-start-nfs-idmapd-also-on-clients.patch: idmapd is needed
814 for clients too, so start it from nfs-client.target and stop binding to it
815 in nfs-server.service. (LP: #1428961)
816
817 -- Martin Pitt <martin.pitt@ubuntu.com> Fri, 06 Mar 2015 11:56:46 +0100
818
819nfs-utils (1:1.2.8-9ubuntu4) vivid; urgency=medium
820
821 * Add autopkgtest for installing server and client on localhost, setting up
822 two exports, rebooting, and ensuring that the NFS mounts work.
823 * Add 23-systemd-relax-dependencies.patch: Stop depending on basic.target in
824 the daemons which still do; i. e. add DefaultDependencies=no. This makes
825 it possible to run NFS during early boot, helps if you e. g. have /var
826 on NFS, and avoids dependency cycles with rcS init.d scripts which depend
827 on $remote_fs. (LP: #1428487)
828 * Shift number prefixes of other systemd patches accordingly, and adjust
829 them to the above patch.
830
831 -- Martin Pitt <martin.pitt@ubuntu.com> Thu, 05 Mar 2015 10:43:54 +0100
832
833nfs-utils (1:1.2.8-9ubuntu3) vivid; urgency=medium
834
835 * Add 00git-start-statd-systemd.patch: Latest start-statd script from
836 1.3.2 to start rpc-statd.service under systemd.
837 * Add 23-systemd-pipefs_in_run.patch: systemd: Mount rpc_pipefs in /run instead of
838 /var/lib/nfs/, like in the upstart units.
839 * Add 24-systemd-daemon-paths.patch: Adjust program paths in systemd units.
840 * debian/nfs-kernel-server.links: Add nfs-kernel-server.service alias
841 symlink, to match SysV init script.
842 * Add 25-systemd-server-before-client.patch: Order NFS server before client,
843 to make mounting NFS shares from localhost work reliably.
844 * Add debian/nfs-utils_env.sh: Translate our /etc/default files into runtime
845 configuration for nfs-config.service.
846 * debian/nfs-{common,kernel-server}.install: Install systemd units.
847 * debian/rules: Enable/start systemd units. (LP: #1312976)
848
849 -- Martin Pitt <martin.pitt@ubuntu.com> Thu, 05 Mar 2015 07:46:41 +0100
850
851nfs-utils (1:1.2.8-9ubuntu2) vivid; urgency=medium
852
853 * debian/nfs-common.statd.upstart: wait for rpcbind job instead of
854 relying on portmap compatibility event. (LP: #1391296)
855
856 -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Tue, 18 Nov 2014 19:07:15 -0500
857
858nfs-utils (1:1.2.8-9ubuntu1) utopic; urgency=medium
859
860 * Merge from Debian usntable, remaining changes:
861 - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
862 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
863 debian/rules: drop nfs-common init script in favor of upstart jobs.
864 - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
865 - Depend on mountall (>= 2.41) to avoid deadlocks on boot.
866 - debian/nfs-common.default: always start idmapd automatically; drop
867 the configuration option.
868 - nfs-kernel-server.init: Unmount nfsd fs when init script stops
869 - Allow issuing options to rpc.nfsd
870 - Add "-e" (ticket expiry is error) option to rpc.gssd to prevent hangs
871 due to EKEYEXPIRED error from kernel on ticket expiry.
872 - drop nfs-kernel-server's LSB dependency on nfs-common.
873 - Add patch to adjust for changes to the ctx argument of the
874 serialize_krb5_ctx() function.
875
876 -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 21 Aug 2014 11:29:38 -0700
877
344nfs-utils (1:1.2.8-9) unstable; urgency=medium878nfs-utils (1:1.2.8-9) unstable; urgency=medium
345879
346 * debian/patches/22-mountd-fix-segfault-in-add_name-with-newer-gcc-880 * debian/patches/22-mountd-fix-segfault-in-add_name-with-newer-gcc-
@@ -349,6 +883,26 @@ nfs-utils (1:1.2.8-9) unstable; urgency=medium
349883
350 -- Steve Langasek <vorlon@debian.org> Tue, 12 Aug 2014 17:12:38 -0700884 -- Steve Langasek <vorlon@debian.org> Tue, 12 Aug 2014 17:12:38 -0700
351885
886nfs-utils (1:1.2.8-8ubuntu1) utopic; urgency=medium
887
888 * Merge from Debian unstable, remaining changes:
889 - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
890 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
891 debian/rules: drop nfs-common init script in favor of upstart jobs.
892 - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
893 - Depend on mountall (>= 2.41) to avoid deadlocks on boot.
894 - debian/nfs-common.default: always start idmapd automatically; drop
895 the configuration option.
896 - nfs-kernel-server.init: Unmount nfsd fs when init script stops
897 - Allow issuing options to rpc.nfsd
898 - Add "-e" (ticket expiry is error) option to rpc.gssd to prevent hangs
899 due to EKEYEXPIRED error from kernel on ticket expiry.
900 - drop nfs-kernel-server's LSB dependency on nfs-common.
901 - Add patch to adjust for changes to the ctx argument of the
902 serialize_krb5_ctx() function.
903
904 -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 11 Aug 2014 01:10:28 -0700
905
352nfs-utils (1:1.2.8-8) unstable; urgency=medium906nfs-utils (1:1.2.8-8) unstable; urgency=medium
353907
354 * Upload to unstable where this belongs.908 * Upload to unstable where this belongs.
@@ -369,6 +923,38 @@ nfs-utils (1:1.2.8-7) experimental; urgency=medium
369923
370 -- Anibal Monsalve Salazar <anibal@debian.org> Sat, 02 Aug 2014 12:25:47 +0100924 -- Anibal Monsalve Salazar <anibal@debian.org> Sat, 02 Aug 2014 12:25:47 +0100
371925
926nfs-utils (1:1.2.8-6ubuntu4) utopic; urgency=medium
927
928 * Add patch from Sergio Gelato to adjust for changes to the ctx
929 argument of the serialize_krb5_ctx() function (LP: #1331201)
930
931 -- Adam Conrad <adconrad@ubuntu.com> Wed, 25 Jun 2014 12:23:09 -0600
932
933nfs-utils (1:1.2.8-6ubuntu3) utopic; urgency=medium
934
935 * Soon nfs-common.init is going to be split on the Debian side, and
936 nfs-kernel-server init.d's LSB depends on "nfs-common" has never done
937 anything in Ubuntu. Drop it to avoid breaking insserv. (LP: #1323274)
938
939 -- Martin Pitt <martin.pitt@ubuntu.com> Tue, 27 May 2014 11:38:51 +0200
940
941nfs-utils (1:1.2.8-6ubuntu1) trusty; urgency=medium
942
943 * Merge from Debian unstable, remaining changes:
944 - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
945 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
946 debian/rules: drop nfs-common init script in favor of upstart jobs.
947 - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
948 - Depend on mountall (>= 2.41) to avoid deadlocks on boot.
949 - debian/nfs-common.default: always start idmapd automatically; drop
950 the configuration option.
951 - nfs-kernel-server.init: Unmount nfsd fs when init script stops
952 - Allow issuing options to rpc.nfsd
953 - Add "-e" (ticket expiry is error) option to rpc.gssd to prevent hangs
954 due to EKEYEXPIRED error from kernel on ticket expiry.
955
956 -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 25 Feb 2014 09:18:47 -0800
957
372nfs-utils (1:1.2.8-6) unstable; urgency=medium958nfs-utils (1:1.2.8-6) unstable; urgency=medium
373959
374 * Fix the sec=krb5* handling in debian/nfs-common.init to properly match960 * Fix the sec=krb5* handling in debian/nfs-common.init to properly match
@@ -395,6 +981,29 @@ nfs-utils (1:1.2.8-6) unstable; urgency=medium
395981
396 -- Steve Langasek <vorlon@debian.org> Mon, 24 Feb 2014 18:11:17 +0000982 -- Steve Langasek <vorlon@debian.org> Mon, 24 Feb 2014 18:11:17 +0000
397983
984nfs-utils (1:1.2.8-5ubuntu1) trusty; urgency=medium
985
986 * Merge from Debian unstable, remaining changes:
987 - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
988 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
989 debian/rules: drop nfs-common init script in favor of upstart jobs.
990 - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
991 - Depend on mountall (>= 2.41) to avoid deadlocks on boot.
992 - debian/nfs-common.default: always start idmapd automatically; drop
993 the configuration option.
994 - nfs-kernel-server.init: Unmount nfsd fs when init script stops
995 - Allow issuing options to rpc.nfsd
996 - Add "-e" (ticket expiry is error) option to rpc.gssd to prevent hangs
997 due to EKEYEXPIRED error from kernel on ticket expiry.
998 * Dropped changes, included in Debian:
999 - Move /var/lib/nfs/rpc_pipefs to /run/rpc_pipefs. This does not belong
1000 in /var/lib.
1001 - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1002 in the postinst, this is redundant anyway and the nfs-common init script
1003 is gone now.
1004
1005 -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 13 Jan 2014 21:13:11 -0800
1006
398nfs-utils (1:1.2.8-5) unstable; urgency=medium1007nfs-utils (1:1.2.8-5) unstable; urgency=medium
3991008
400 [ Ben Hutchings ]1009 [ Ben Hutchings ]
@@ -411,6 +1020,37 @@ nfs-utils (1:1.2.8-5) unstable; urgency=medium
4111020
412 -- Steve Langasek <vorlon@debian.org> Mon, 13 Jan 2014 22:07:53 +00001021 -- Steve Langasek <vorlon@debian.org> Mon, 13 Jan 2014 22:07:53 +0000
4131022
1023nfs-utils (1:1.2.8-4ubuntu1) trusty; urgency=low
1024
1025 * Merge from Debian unstable, remaining changes:
1026 - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1027 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1028 debian/rules: drop nfs-common init script in favor of upstart jobs.
1029 - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1030 - Depend on mountall (>= 2.41) to avoid deadlocks on boot.
1031 - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1032 in the postinst, this is redundant anyway and the nfs-common init script
1033 is gone now.
1034 - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1035 - Allow issuing options to rpc.nfsd
1036 - debian/nfs-common.defaults: always start idmapd automatically; drop
1037 the configuration option.
1038 - Move /var/lib/nfs/rpc_pipefs to /run/rpc_pipefs. This does not belong
1039 in /var/lib.
1040 - Add "-e" (ticket expiry is error) option to rpc.gssd to prevent hangs due
1041 to EKEYEXPIRED error from kernel on ticket expiry. LP: #794112
1042 - Fix the stop conditions: never stop on 'runlevel [06]' since that gives
1043 the system no time to cleanly unmount nfs mounts; instead, stop only on
1044 the unmounted-remote-filesystems event. LP: #569094.
1045 * Dropped changes:
1046 - build-depend on debhelper (>= 7.3.15ubuntu3): all supported debhelper
1047 versions meet this requirement now, so it's not worth carrying a delta
1048 for.
1049 * Drop removal handling for rpc_pipefs.conf, which has been obsolete since
1050 before the 12.04 release.
1051
1052 -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 21 Nov 2013 13:35:20 -0800
1053
414nfs-utils (1:1.2.8-4) unstable; urgency=low1054nfs-utils (1:1.2.8-4) unstable; urgency=low
4151055
416 * The configure option name is --with-gssglue, not --with-libgssglue.1056 * The configure option name is --with-gssglue, not --with-libgssglue.
@@ -429,6 +1069,64 @@ nfs-utils (1:1.2.8-3) unstable; urgency=low
4291069
430 -- Steve Langasek <vorlon@debian.org> Fri, 31 May 2013 17:59:53 -07001070 -- Steve Langasek <vorlon@debian.org> Fri, 31 May 2013 17:59:53 -0700
4311071
1072nfs-utils (1:1.2.8-2ubuntu2) saucy; urgency=low
1073
1074 * Start statd on virtual-filesystems instead of on local-filesystems;
1075 this works and avoids a deadlock in the nfsroot case. Also, adjust
1076 idmapd to not block MOUNTPOINT=/ for the same reason. This isn't a
1077 perfect fix since idmapd would be needed if we ever wanted nfsv4
1078 nfsroot, but implementing that can wait until we have /usr mounting from
1079 the initramfs. LP: #537133.
1080
1081 -- Steve Langasek <steve.langasek@ubuntu.com> Wed, 11 Sep 2013 15:00:02 -0700
1082
1083nfs-utils (1:1.2.8-2ubuntu1) saucy; urgency=low
1084
1085 [ Stéphane Graber ]
1086 * Merge from Debian unstable.
1087 - includes upstream fix for gssd -R. LP: #1179992.
1088 - includes upstream fix for an exportfs crash when using long paths.
1089 LP: #1062022.
1090 * Remaining changes:
1091 - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1092 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1093 debian/rules: drop nfs-common init script in favor of upstart jobs,
1094 and build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart
1095 init handling.
1096 - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1097 - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1098 in the postinst, this is redundant anyway and the nfs-common init script
1099 is gone now.
1100 - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1101 - Allow issuing options to rpc.nfsd
1102 - debian/nfs-common.defaults: always start idmapd automatically; drop
1103 the configuration option.
1104 - Move /var/lib/nfs/rpc_pipefs to /run/rpc_pipefs. This does not belong
1105 in /var/lib.
1106 - Add "-e" (ticket expiry is error) option to rpc.gssd to prevent hangs due
1107 to EKEYEXPIRED error from kernel on ticket expiry. LP: #794112
1108 - Adjust upstart jobs to treat TYPE=nfs and TYPE=nfs4 mounts identically,
1109 since TYPE=nfs4 is considered deprecated.
1110 - Fix various boot-time race conditions between mountall and nfs-utils by
1111 moving handling of the 'mounting' events to separate gssd-mounting and
1112 idmapd-mounting jobs. Requires mountall 2.41 or better to avoid deadlock
1113 on boot. LP: #643289, LP: #611397.
1114 - Fix the stop conditions: never stop on 'runlevel [06]' since that gives
1115 the system no time to cleanly unmount nfs mounts; instead, stop only on
1116 the unmounted-remote-filesystems event. LP: #569094.
1117 - Newer versions of gssd don't talk to portmap, so don't make the upstart
1118 job depend on it.
1119 - Add an instance to statd-mounting, and change it to just wait for statd
1120 instead of trying to trigger it potentially out of order. This also
1121 means we don't need to try to force portmap to start from statd.
1122
1123 [ Steve Langasek ]
1124 * Build --with-gssglue; linking directly against libgssapi-krb5 results in
1125 rpc.gssd trying to incorrectly pass opaque pointers between two different
1126 gss implementations (via libtirpc).
1127
1128 -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 31 May 2013 18:05:03 -0700
1129
432nfs-utils (1:1.2.8-2) unstable; urgency=medium1130nfs-utils (1:1.2.8-2) unstable; urgency=medium
4331131
434 * Fix reportbug scripts to use rpcinfo in /usr/sbin.1132 * Fix reportbug scripts to use rpcinfo in /usr/sbin.
@@ -458,12 +1156,80 @@ nfs-utils (1:1.2.8-1) unstable; urgency=low
4581156
459 -- Luk Claes <luk@zomers.be> Fri, 10 May 2013 14:27:47 +02001157 -- Luk Claes <luk@zomers.be> Fri, 10 May 2013 14:27:47 +0200
4601158
1159nfs-utils (1:1.2.6-3ubuntu2) quantal; urgency=low
1160
1161 [ Steve Langasek ]
1162 * Adjust upstart jobs to treat TYPE=nfs and TYPE=nfs4 mounts identically,
1163 since TYPE=nfs4 is considered deprecated.
1164 * Fix various boot-time race conditions between mountall and nfs-utils by
1165 moving handling of the 'mounting' events to separate gssd-mounting and
1166 idmapd-mounting jobs. Requires mountall 2.41 or better to avoid deadlock
1167 on boot. LP: #643289, LP: #611397.
1168 * Fix the stop conditions: never stop on 'runlevel [06]' since that gives
1169 the system no time to cleanly unmount nfs mounts; instead, stop only on
1170 the unmounted-remote-filesystems event. LP: #569094.
1171 * Newer versions of gssd don't talk to portmap, so don't make the upstart
1172 job depend on it.
1173 * Add an instance to statd-mounting, and change it to just wait for statd
1174 instead of trying to trigger it potentially out of order. This also means
1175 we don't need to try to force portmap to start from statd.
1176
1177 [ Matthew L. Dailey ]
1178 * Add "-e" (ticket expiry is error) option to rpc.gssd to prevent hangs due
1179 to EKEYEXPIRED error from kernel on ticket expiry. LP: #794112
1180
1181 -- Stéphane Graber <stgraber@ubuntu.com> Fri, 28 Sep 2012 13:58:43 -0400
1182
1183nfs-utils (1:1.2.6-3ubuntu1) quantal; urgency=low
1184
1185 * Merge from Debian unstable. Remaining changes:
1186 - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1187 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1188 debian/rules: drop nfs-common init script in favor of upstart jobs,
1189 and build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart
1190 init handling.
1191 - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1192 - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1193 in the postinst, this is redundant anyway and the nfs-common init script
1194 is gone now.
1195 - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1196 - Allow issuing options to rpc.nfsd
1197 - debian/nfs-common.defaults: always start idmapd automatically; drop
1198 the configuration option.
1199 - Move /var/lib/nfs/rpc_pipefs to /run/rpc_pipefs. This does not belong
1200 in /var/lib.
1201
1202 -- Logan Rosen <logatronico@gmail.com> Sun, 05 Aug 2012 00:56:05 -0400
1203
461nfs-utils (1:1.2.6-3) unstable; urgency=low1204nfs-utils (1:1.2.6-3) unstable; urgency=low
4621205
463 * Iterate through exports.d to look for expors (Closes: #676604).1206 * Iterate through exports.d to look for expors (Closes: #676604).
4641207
465 -- Luk Claes <luk@zomers.be> Tue, 10 Jul 2012 19:38:22 +02001208 -- Luk Claes <luk@zomers.be> Tue, 10 Jul 2012 19:38:22 +0200
4661209
1210nfs-utils (1:1.2.6-2ubuntu1) quantal; urgency=low
1211
1212 * Merge from Debian unstable, remaining changes:
1213 - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1214 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1215 debian/rules: drop nfs-common init script in favor of upstart jobs,
1216 and build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart
1217 init handling.
1218 - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1219 - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1220 in the postinst, this is redundant anyway and the nfs-common init script
1221 is gone now.
1222 - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1223 - Allow issuing options to rpc.nfsd
1224 - debian/nfs-common.defaults: always start idmapd automatically; drop
1225 the configuration option.
1226 - Move /var/lib/nfs/rpc_pipefs to /run/rpc_pipefs. This does not belong
1227 in /var/lib.
1228 * Dropped changes, included in Debian:
1229 - nfs-kernel-server.default: Add comment about how to disable nfs4.
1230
1231 -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 22 Jun 2012 11:25:28 -0700
1232
467nfs-utils (1:1.2.6-2) unstable; urgency=low1233nfs-utils (1:1.2.6-2) unstable; urgency=low
4681234
469 * Move open-iscsi and watchdog to Suggests.1235 * Move open-iscsi and watchdog to Suggests.
@@ -491,6 +1257,44 @@ nfs-utils (1:1.2.5-4) unstable; urgency=low
4911257
492 -- Luk Claes <luk@debian.org> Sun, 22 Jan 2012 15:46:25 +01001258 -- Luk Claes <luk@debian.org> Sun, 22 Jan 2012 15:46:25 +0100
4931259
1260nfs-utils (1:1.2.5-3ubuntu3) precise; urgency=low
1261
1262 * In some cases, /var/lib/nfs/rpc_pipefs is successfully unmounted on
1263 upgrade but the directory still has contents within it. Since this is
1264 /var/lib we shouldn't assume it's ok for delete these; instead, pass
1265 --ignore-fail-on-non-empty to rmdir. LP: #954619.
1266
1267 -- Steve Langasek <steve.langasek@ubuntu.com> Sun, 08 Apr 2012 22:44:40 -0700
1268
1269nfs-utils (1:1.2.5-3ubuntu2) precise; urgency=low
1270
1271 * Fix wrong path to rpcinfo in the init script, which breaks use of nfs
1272 v3 support in the server. LP: #945651.
1273
1274 -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 27 Mar 2012 10:44:03 -0700
1275
1276nfs-utils (1:1.2.5-3ubuntu1) precise; urgency=low
1277
1278 * Merge from Debian testing, remaining changes:
1279 - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1280 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1281 debian/rules: drop nfs-common init script in favor of upstart jobs,
1282 and build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart
1283 init handling.
1284 - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1285 - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1286 in the postinst, this is redundant anyway and the nfs-common init script
1287 is gone now.
1288 - nfs-kernel-server.default: Add comment about how to disable nfs4.
1289 - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1290 - Allow issuing options to rpc.nfsd
1291 - debian/nfs-common.defaults: always start idmapd automatically; drop
1292 the configuration option.
1293 - Move /var/lib/nfs/rpc_pipefs to /run/rpc_pipefs. This does not belong
1294 in /var/lib.
1295
1296 -- Steve Langasek <steve.langasek@ubuntu.com> Wed, 04 Jan 2012 09:20:27 -0800
1297
494nfs-utils (1:1.2.5-3) unstable; urgency=low1298nfs-utils (1:1.2.5-3) unstable; urgency=low
4951299
496 [ Roger Leigh ]1300 [ Roger Leigh ]
@@ -509,6 +1313,33 @@ nfs-utils (1:1.2.5-3) unstable; urgency=low
5091313
510 -- Luk Claes <luk@debian.org> Fri, 09 Dec 2011 11:55:31 +01001314 -- Luk Claes <luk@debian.org> Fri, 09 Dec 2011 11:55:31 +0100
5111315
1316nfs-utils (1:1.2.5-2ubuntu1) precise; urgency=low
1317
1318 * Merge from Debian testing, remaining changes:
1319 - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1320 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1321 debian/rules: drop nfs-common init script in favor of upstart jobs,
1322 and build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart
1323 init handling.
1324 - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1325 - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1326 in the postinst, this is redundant anyway and the nfs-common init script
1327 is gone now.
1328 - nfs-kernel-server.default: Add comment about how to disable nfs4.
1329 - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1330 - Allow issuing options to rpc.nfsd
1331 - debian/nfs-common.defaults: always start idmapd automatically; drop
1332 the configuration option.
1333 - Move /var/lib/nfs/rpc_pipefs to /run/rpc_pipefs. This does not belong
1334 in /var/lib.
1335 * Dropped changes, superseded in Debian/upstream:
1336 - debian/patches/multiarch-kerberos-paths: Search for kerberos libs
1337 in multiarch locations.
1338 - ubuntu-fix-kernel-version-handling: avoid segfaults from short kernel
1339 version numbers.
1340
1341 -- Steve Langasek <steve.langasek@ubuntu.com> Sun, 30 Oct 2011 00:12:50 +0000
1342
512nfs-utils (1:1.2.5-2) unstable; urgency=low1343nfs-utils (1:1.2.5-2) unstable; urgency=low
5131344
514 * debian/patches/18-dont-use-PAGE_SIZE.patch1345 * debian/patches/18-dont-use-PAGE_SIZE.patch
@@ -551,6 +1382,57 @@ nfs-utils (1:1.2.4-2) UNRELEASED; urgency=low
5511382
552 -- Luk Claes <luk@debian.org> Sat, 06 Aug 2011 07:38:48 +02001383 -- Luk Claes <luk@debian.org> Sat, 06 Aug 2011 07:38:48 +0200
5531384
1385nfs-utils (1:1.2.4-1ubuntu4) precise; urgency=low
1386
1387 * debian/nfs-common.postinst: handle the case when /var/lib/nfs/rpc_pipefs
1388 is not already mounted on upgrade - dpkg will already remove the
1389 directory for us on upgrade, so don't fail when it's missing.
1390 LP: #882799.
1391
1392 -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 27 Oct 2011 16:21:22 -0700
1393
1394nfs-utils (1:1.2.4-1ubuntu3) precise; urgency=low
1395
1396 * debian/nfs-common.defaults, debian/nfs-common.idmapd.upstart: idmapd
1397 should always be started automatically, because we can no longer assume
1398 that a mount of type 'nfs' in /etc/fstab is not nfs4. This also lets
1399 things work by default with nfs4 autofs. LP: #662711.
1400 * Move /var/lib/nfs/rpc_pipefs to /run/rpc_pipefs. This does not belong
1401 in /var/lib.
1402 * Ignore errors from mount if the filesystem is already mounted.
1403 LP: #811823.
1404
1405 -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 27 Oct 2011 12:04:58 -0700
1406
1407nfs-utils (1:1.2.4-1ubuntu2) oneiric; urgency=low
1408
1409 * Allow issuing options to rpc.nfsd
1410 (LP: #567491)
1411
1412 -- Bryce Harrington <bryce@ubuntu.com> Mon, 08 Aug 2011 16:37:26 -0700
1413
1414nfs-utils (1:1.2.4-1ubuntu1) oneiric; urgency=low
1415
1416 * Merge from Debian unstable (LP: #728586, LP: #789117), remaining
1417 changes:
1418 - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
1419 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1420 debian/rules: drop nfs-common init script in favor of upstart jobs,
1421 and build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart
1422 init handling.
1423 - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
1424 - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1425 in the postinst, this is redundant anyway and the nfs-common init script
1426 is gone now.
1427 - nfs-kernel-server.default: Add comment about how to disable nfs4.
1428 - debian/patches/multiarch-kerberos-paths: Search for kerberos libs
1429 in multiarch locations.
1430 - nfs-kernel-server.init: Unmount nfsd fs when init script stops
1431 - ubuntu-fix-kernel-version-handling: avoid segfaults from short kernel
1432 version numbers.
1433
1434 -- Steve Langasek <steve.langasek@ubuntu.com> Sat, 23 Jul 2011 17:54:36 +0200
1435
554nfs-utils (1:1.2.4-1) unstable; urgency=low1436nfs-utils (1:1.2.4-1) unstable; urgency=low
5551437
556 * New upstream version1438 * New upstream version
@@ -638,6 +1520,93 @@ nfs-utils (1:1.2.2-5) unstable; urgency=low
6381520
639 -- Luk Claes <luk@debian.org> Wed, 16 Mar 2011 23:10:15 +01001521 -- Luk Claes <luk@debian.org> Wed, 16 Mar 2011 23:10:15 +0100
6401522
1523nfs-utils (1:1.2.2-4ubuntu8) oneiric; urgency=low
1524
1525 * debian/nfs-common.idmapd.upstart: don't use a script unnecessarily for
1526 our job when we can exec directly - making the job more resilient in
1527 the face of races with /usr being mounted. LP: #811823.
1528 * Drop rpc_pipefs.conf; this has gotten far more complicated than it
1529 should be, just do the mount in-line in each of the gssd and idmapd
1530 jobs.
1531
1532 -- Steve Langasek <steve.langasek@ubuntu.com> Sun, 17 Jul 2011 02:23:01 -0700
1533
1534nfs-utils (1:1.2.2-4ubuntu7) oneiric; urgency=low
1535
1536 [ Andy Whitcroft ]
1537 * ubuntu-fix-kernel-version-handling: avoid segfaults from short kernel
1538 version numbers. (LP: #796611)
1539
1540 -- Evan Dandrea <ev@ubuntu.com> Tue, 14 Jun 2011 17:13:14 +0100
1541
1542nfs-utils (1:1.2.2-4ubuntu6) oneiric; urgency=low
1543
1544 * nfs-kernel-server.init: Unmount nfsd fs when init script stops
1545 (LP: #251026)
1546
1547 -- Bryce Harrington <bryce@ubuntu.com> Mon, 06 Jun 2011 19:18:16 -0700
1548
1549nfs-utils (1:1.2.2-4ubuntu5) natty; urgency=low
1550
1551 * Search kerberos libs in multiarch locations.
1552
1553 -- Matthias Klose <doko@ubuntu.com> Fri, 01 Apr 2011 12:35:30 +0200
1554
1555nfs-utils (1:1.2.2-4ubuntu4) natty; urgency=low
1556
1557 * nvs-kernel-server.default: Add comment about how to disable nfs4.
1558 There are corner cases where the server providing nfsv4 as the default
1559 can confuse the client (117957, 680680) or even cause kernel problems
1560 (716811), so it is worthwhile to document how to fallback to nfs3 only.
1561
1562 -- Bryce Harrington <bryce@ubuntu.com> Mon, 14 Feb 2011 13:20:27 -0800
1563
1564nfs-utils (1:1.2.2-4ubuntu3) natty; urgency=low
1565
1566 * debian/nfs-common.statd.upstart: pass a new WAITER= variable
1567 to portmap-wait, so that multiple jobs can wait in parallel, fixing
1568 another subtle race condition; and bump the portmap dependency again for
1569 the necessary instance support.
1570 * also fix the grouping in the start condition, so that restarts work
1571 correctly when portmap is restarted.
1572 * debian/nfs-common.rpc_pipefs.upstart: instantiate this job separately for
1573 gssd and idmapd, so that the filesystem gets mounted and unmounted
1574 correctly even if both of gssd and idmapd aren't being run, or if one of
1575 the two tries to start before the filesystem is fully mounted. Though
1576 it may be simpler now to move this logic back into the gssd and idmapd
1577 jobs directly, leave that for a later date.
1578
1579 -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 18 Jan 2011 17:45:45 -0800
1580
1581nfs-utils (1:1.2.2-4ubuntu2) natty; urgency=low
1582
1583 * debian/nfs-common.statd.upstart,
1584 debian/nfs-common.statd-mounting.upstart: refactor startup to wait for
1585 local-filesystems. (LP: #525154)
1586 * debian/control: depend on portmap version that sets ON_BOOT=y and
1587 has the portmap-wait job.
1588 * debian/rules: install new statd-mounting upstart job
1589
1590 -- Clint Byrum <clint@ubuntu.com> Wed, 05 Jan 2011 12:27:32 -0800
1591
1592nfs-utils (1:1.2.2-4ubuntu1) natty; urgency=low
1593
1594 * Merge from debian unstable (LP: #685860), remaining changes:
1595 - debian/nfs-common.{statd,gssd,idmapd,rpc_pipefs}.upstart,
1596 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1597 debian/rules: drop nfs-common init script in favor of upstart jobs, and
1598 build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart init
1599 handling.
1600 - debian/control:
1601 + depend on the upstart-using version of portmap, 6.0-10ubuntu1; and
1602 drop the alternative depends on rpcbind, which hasn't been converted.
1603 + depend on portmap 6.0-10ubuntu1.
1604 - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1605 in the postinst, this is redundant anyway and the nfs-common init script
1606 is gone now.
1607
1608 -- Lorenzo De Liso <blackz@ubuntu.com> Wed, 15 Dec 2010 21:42:55 +0100
1609
641nfs-utils (1:1.2.2-4) unstable; urgency=low1610nfs-utils (1:1.2.2-4) unstable; urgency=low
6421611
643 * mountd: fix path comparison for v4 crossmnt (Closes: #578317)1612 * mountd: fix path comparison for v4 crossmnt (Closes: #578317)
@@ -664,7 +1633,29 @@ nfs-utils (1:1.2.2-2) unstable; urgency=low
664 * Fix out-of-date-standards-version1633 * Fix out-of-date-standards-version
6651634
666 -- Anibal Monsalve Salazar <anibal@debian.org> Tue, 13 Jul 2010 15:20:17 +10001635 -- Anibal Monsalve Salazar <anibal@debian.org> Tue, 13 Jul 2010 15:20:17 +1000
667 1636
1637nfs-utils (1:1.2.2-1ubuntu1) maverick; urgency=low
1638
1639 * Merge from Debian unstable, remaining changes:
1640 - debian/nfs-common.{statd,gssd,idmapd,rpc_pipefs}.upstart,
1641 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1642 debian/rules: drop nfs-common init script in favor of upstart jobs, and
1643 build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart init
1644 handling.
1645 - debian/control: depend on the upstart-using version of portmap,
1646 6.0-10ubuntu1; and drop the alternative depends on rpcbind, which
1647 hasn't been converted.
1648 - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1649 in the postinst, this is redundant anyway and the nfs-common init script
1650 is gone now.
1651 * Dropped changes, included in Debian:
1652 - debian/control: add ${misc:Depends} line for nfs-common, for the
1653 upstart deps
1654 - debian/nfs-kernel-server.init: updated check for presence of nfsd
1655 support
1656
1657 -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 04 Jun 2010 09:55:28 +0000
1658
668nfs-utils (1:1.2.2-1) unstable; urgency=low1659nfs-utils (1:1.2.2-1) unstable; urgency=low
6691660
670 [ Anibal Monsalve Salazar ]1661 [ Anibal Monsalve Salazar ]
@@ -736,6 +1727,51 @@ nfs-utils (1:1.2.0-4.1) unstable; urgency=low
7361727
737 -- Ben Hutchings <ben@decadent.org.uk> Wed, 16 Dec 2009 22:14:01 +00001728 -- Ben Hutchings <ben@decadent.org.uk> Wed, 16 Dec 2009 22:14:01 +0000
7381729
1730nfs-utils (1:1.2.0-4ubuntu4) lucid; urgency=low
1731
1732 * debian/nfs-common.gssd.upstart:
1733 - fix the OPTIONS= match for the start condition (missing a leading '*')
1734 so that we actually match on nfs4 mounts
1735 - drop the 'script' for a straight exec of rpc.gssd; if /usr is a separate
1736 partition then nfs4 mounts might be attempted in parallel, and upstart
1737 gets mightily confused when this happens. LP: #545673
1738
1739 -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 23 Mar 2010 22:26:07 -0700
1740
1741nfs-utils (1:1.2.0-4ubuntu3) lucid; urgency=low
1742
1743 * debian/nfs-common.*.upstart: start on new 'mounting' signal instead of
1744 obsolete 'mount' signal.
1745
1746 -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 25 Feb 2010 06:41:46 -0800
1747
1748nfs-utils (1:1.2.0-4ubuntu2) lucid; urgency=low
1749
1750 * debian/nfs-kernel-server.init: 2.6.32 kernels no longer export the
1751 same symbols. Switch symbol check to nfsd_serv which has been present
1752 since 2005. LP: #493145.
1753
1754 -- Andy Whitcroft <apw@canonical.com> Mon, 07 Dec 2009 16:56:56 +0000
1755
1756nfs-utils (1:1.2.0-4ubuntu1) lucid; urgency=low
1757
1758 * Merge from Debian testing, remaining changes:
1759 - debian/nfs-common.{statd,gssd,idmapd,rpc_pipefs}.upstart,
1760 debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
1761 debian/rules: drop nfs-common init script in favor of upstart jobs, and
1762 build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart init
1763 handling.
1764 - debian/control: depend on the upstart-using version of portmap,
1765 6.0-10ubuntu1; and drop the alternative depends on rpcbind, which
1766 hasn't been converted.
1767 - debian/control: add ${misc:Depends} line for nfs-common, for the
1768 upstart deps
1769 - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
1770 in the postinst, this is redundant anyway and the nfs-common init script
1771 is gone now.
1772
1773 -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 04 Dec 2009 18:37:48 -0800
1774
739nfs-utils (1:1.2.0-4) unstable; urgency=low1775nfs-utils (1:1.2.0-4) unstable; urgency=low
7401776
741 * Removing myself from uploaders.1777 * Removing myself from uploaders.
@@ -750,6 +1786,94 @@ nfs-utils (1:1.2.0-3) unstable; urgency=low
7501786
751 -- Steinar H. Gunderson <sesse@debian.org> Sun, 09 Aug 2009 12:47:00 +02001787 -- Steinar H. Gunderson <sesse@debian.org> Sun, 09 Aug 2009 12:47:00 +0200
7521788
1789nfs-utils (1:1.2.0-2ubuntu9) lucid; urgency=low
1790
1791 * debian/nfs-common.statd.upstart: check for a started portmap in a
1792 non-racy manner. LP: #484209.
1793
1794 -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 17 Nov 2009 11:27:37 -0600
1795
1796nfs-utils (1:1.2.0-2ubuntu8) karmic; urgency=low
1797
1798 * debian/control: add missing ${misc:Depends} for nfs-common, else we don't
1799 get the dependency on upstart that we should have. LP: #456281.
1800
1801 -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 20 Oct 2009 13:10:01 +0000
1802
1803nfs-utils (1:1.2.0-2ubuntu7) karmic; urgency=low
1804
1805 * debian/rules: now that the jobs will exit cleanly on their own when
1806 'start' is called but the job is a no-op, remove the --error-handler
1807 option to dh_installinit so that we don't accidentally ignore other
1808 kinds of errors that could point to real problems.
1809
1810 -- Steve Langasek <steve.langasek@ubuntu.com> Sun, 11 Oct 2009 08:51:39 +0000
1811
1812nfs-utils (1:1.2.0-2ubuntu6) karmic; urgency=low
1813
1814 * Drop the gssd upstart job's dependency on "local-filesystems"; at boot
1815 time this is always implied transitively by the dep on portmap, and using
1816 a combination of 'or' and 'and' operators in the dependency list seems
1817 to confuse upstart quite badly, causing kerberized mounts to hang at boot.
1818 LP: #447654.
1819
1820 -- Steve Langasek <steve.langasek@ubuntu.com> Sat, 10 Oct 2009 20:12:11 +0000
1821
1822nfs-utils (1:1.2.0-2ubuntu5) karmic; urgency=low
1823
1824 * Set upstart jobs to also start on mount attempt, in the event that
1825 mountall gets to them before the daemons are done starting. Really-fixes
1826 LP: #431248.
1827 * Call 'stop' in the pre-start scripts for all jobs when we want to prevent
1828 the job from starting; this lets upstart know that it's a clean stop,
1829 and avoids boot-time messages about service start failures
1830
1831 -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 09 Oct 2009 19:17:34 +0000
1832
1833nfs-utils (1:1.2.0-2ubuntu4) karmic; urgency=low
1834
1835 * Mounting rpc_pipefs also requires the sunrpc module, so move this
1836 modprobe to the right upstart job.
1837
1838 -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 05 Oct 2009 22:04:28 -0700
1839
1840nfs-utils (1:1.2.0-2ubuntu3) karmic; urgency=low
1841
1842 * nfs-kernel-server: don't call invoke-rc.d nfs-common in the postinst,
1843 this is redundant anyway and the nfs-common init script is gone now.
1844 LP: #441855.
1845
1846 -- Steve Langasek <steve.langasek@ubuntu.com> Sat, 03 Oct 2009 23:07:09 -0700
1847
1848nfs-utils (1:1.2.0-2ubuntu2) karmic; urgency=low
1849
1850 * Configure gssd and idmapd upstart jobs to stop on runlevels 0 and 6; this
1851 is consistent with previous initscript-based behavior, and spares upstart
1852 trying to restart the jobs repeatedly when sendsigs runs.
1853 * When autodetecting gssd, handle the case of 'sec=krb5' being embedded in
1854 the middle of the options list in /etc/fstab. LP: #364861.
1855 * Fix transition idempotency error when stopping old nfs-common init
1856 script, in case the postinst fails to finish afterwards (e.g., failure to
1857 restart the daemons).
1858 * Fix statd upstart job to properly honor NEED_STATD=no and not get stuck
1859 respawning indefinitely.
1860 * Ignore failures to start the daemons on upgrade, since if they aren't
1861 needed we don't *want* them to start. LP: #441055.
1862 * Fix up the rpc_pipefs job, the wrong version of the file slipped into
1863 the previous upload.
1864
1865 -- Steve Langasek <steve.langasek@ubuntu.com> Sat, 03 Oct 2009 01:52:21 +0000
1866
1867nfs-utils (1:1.2.0-2ubuntu1) karmic; urgency=low
1868
1869 * Drop nfs-common init script in favor of new upstart jobs. LP: #431248.
1870 * Build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart init
1871 handling.
1872 * Depend the upstart-using version of portmap, 6.0-10ubuntu1; and drop the
1873 alternative depends on rpcbind, which hasn't been converted.
1874
1875 -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 02 Oct 2009 19:23:19 +0000
1876
753nfs-utils (1:1.2.0-2) unstable; urgency=low1877nfs-utils (1:1.2.0-2) unstable; urgency=low
7541878
755 * Merge from Ubuntu1879 * Merge from Ubuntu
diff --git a/debian/control b/debian/control
index b5a7882..1119090 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,8 @@
1Source: nfs-utils1Source: nfs-utils
2Priority: optional2Priority: optional
3Section: net3Section: net
4Maintainer: Debian kernel team <debian-kernel@lists.debian.org>4Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
5XSBC-Original-Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
5Uploaders: Anibal Monsalve Salazar <anibal@debian.org>, Ben Hutchings <benh@debian.org>, Steve Langasek <vorlon@debian.org>, Salvatore Bonaccorso <carnil@debian.org>6Uploaders: Anibal Monsalve Salazar <anibal@debian.org>, Ben Hutchings <benh@debian.org>, Steve Langasek <vorlon@debian.org>, Salvatore Bonaccorso <carnil@debian.org>
6Build-Depends: debhelper-compat (= 13), libwrap0-dev, libevent-dev, libkrb5-dev, libblkid-dev, libkeyutils-dev, pkg-config, libldap2-dev, libcap-dev, libtirpc-dev (>= 1.0.2), libdevmapper-dev, libmount-dev, libsqlite3-dev7Build-Depends: debhelper-compat (= 13), libwrap0-dev, libevent-dev, libkrb5-dev, libblkid-dev, libkeyutils-dev, pkg-config, libldap2-dev, libcap-dev, libtirpc-dev (>= 1.0.2), libdevmapper-dev, libmount-dev, libsqlite3-dev
7Standards-Version: 4.6.08Standards-Version: 4.6.0
@@ -61,10 +62,9 @@ Architecture: any
61Multi-Arch: same62Multi-Arch: same
62Pre-Depends: ${misc:Pre-Depends}63Pre-Depends: ${misc:Pre-Depends}
63Depends: ${shlibs:Depends}, ${misc:Depends}64Depends: ${shlibs:Depends}, ${misc:Depends}
64Conflicts: libnfsidmap2, libnfsidmap-regex65Conflicts: libnfsidmap2
65Provides: libnfsidmap2, libnfsidmap-regex66Breaks: nfs-common (<< 1:1.2.2-1), libnfsidmap2 (<< 0.25-7~)
66Breaks: nfs-common (<< 1:1.2.2-1), libnfsidmap2 (<< 0.25-7~), libnfsidmap-regex67Replaces: nfs-common (<< 1:1.2.2-1), libnfsidmap2 (<< 0.25-7~)
67Replaces: nfs-common (<< 1:1.2.2-1), libnfsidmap2 (<< 0.25-7~), libnfsidmap-regex
68Description: NFS idmapping library68Description: NFS idmapping library
69 libnfsidmap provides functions to map between NFSv4 names (which are69 libnfsidmap provides functions to map between NFSv4 names (which are
70 of the form user@domain) and local uid's and gid's.70 of the form user@domain) and local uid's and gid's.
diff --git a/debian/libnfsidmap1.docs b/debian/libnfsidmap1.docs
71new file mode 10064471new file mode 100644
index 0000000..747afb7
--- /dev/null
+++ b/debian/libnfsidmap1.docs
@@ -0,0 +1 @@
1debian/README.Ubuntu
diff --git a/debian/libnfsidmap1.install b/debian/libnfsidmap1.install
index 2573d9e..a64297a 100644
--- a/debian/libnfsidmap1.install
+++ b/debian/libnfsidmap1.install
@@ -1,3 +1,5 @@
1usr/lib/*/lib*.so.*1usr/lib/*/lib*.so.*
2usr/lib/*/libnfsidmap/*.so2usr/lib/*/libnfsidmap/nsswitch.so
3usr/lib/*/libnfsidmap/static.so
4usr/lib/*/libnfsidmap/umich_ldap.so
3usr/share/man/man5/idmapd.conf.55usr/share/man/man5/idmapd.conf.5
diff --git a/debian/nfs-common.docs b/debian/nfs-common.docs
index a3a23b3..747afb7 100644
--- a/debian/nfs-common.docs
+++ b/debian/nfs-common.docs
@@ -1 +1 @@
1debian/README.Debian.nfsv41debian/README.Ubuntu
diff --git a/debian/nfs-common.postinst b/debian/nfs-common.postinst
index f33d494..9235637 100644
--- a/debian/nfs-common.postinst
+++ b/debian/nfs-common.postinst
@@ -44,6 +44,10 @@ case "$1" in
44 if [ -f /lib/init/rw/sendsigs.omit.d/statd ]; then 44 if [ -f /lib/init/rw/sendsigs.omit.d/statd ]; then
45 mv /lib/init/rw/sendsigs.omit.d/statd /run/sendsigs.omit.d/statd45 mv /lib/init/rw/sendsigs.omit.d/statd /run/sendsigs.omit.d/statd
46 fi46 fi
47
48 # always "start" nfs-utils.service, so package upgrades will restart it,
49 # see LP: #1928259
50 systemctl start nfs-utils.service > /dev/null || true
47 ;;51 ;;
48esac52esac
4953
diff --git a/debian/not-installed b/debian/not-installed
50new file mode 10064454new file mode 100644
index 0000000..ffd516b
--- /dev/null
+++ b/debian/not-installed
@@ -0,0 +1,5 @@
1# the regex module comes from src:libnfsidmap-regex
2usr/lib/*/libnfsidmap/regex.so
3usr/lib/*/libnfsidmap/*.a
4usr/lib/*/libnfsidmap/*.la
5usr/lib/*/libnfsidmap.la
diff --git a/debian/patches/remove-regex-from-docs.patch b/debian/patches/remove-regex-from-docs.patch
0new file mode 1006446new file mode 100644
index 0000000..f862102
--- /dev/null
+++ b/debian/patches/remove-regex-from-docs.patch
@@ -0,0 +1,79 @@
1--- a/support/nfsidmap/idmapd.conf.5
2+++ b/support/nfsidmap/idmapd.conf.5
3@@ -158,49 +158,7 @@
4 .nf
5
6 .fi
7-If the "regex" translation method is specified, the following
8-variables within the [REGEX] section are used to map between NFS4 names and local IDs.
9-.TP
10-.B User-Regex
11-Case-insensitive regular expression that extracts the local user name from an NFSv4 name. Multiple expressions may be concatenated with '|'. The first match will be used.
12-There is no default. A basic regular expression for domain DOMAIN.ORG and realm MY.DOMAIN.ORG would be:
13-.nf
14-^DOMAIN\\([^@]+)@MY.DOMAIN.ORG$
15-.fi
16-.TP
17-.B Group-Regex
18-Case-insensitive regular expression that extracts the local group name from an NFSv4 name. Multiple expressions may be concatenated with '|'. The first match will be used.
19-There is no default. A basic regular expression for domain DOMAIN.ORG and realm MY.DOMAIN.ORG would be:
20-.nf
21-^([^@]+)@DOMAIN.ORG@MY.DOMAIN.ORG$|^DOMAIN\\([^@]+)@MY.DOMAIN.ORG$
22-.fi
23-.TP
24-.B Prepend-Before-User
25-Constant string to put before a local user name when building an NFSv4 name. Usually this is the short domain name followed by '\'.
26-(Default: none)
27-.TP
28-.B Append-After-User
29-Constant string to put after a local user name when building an NFSv4 name. Usually this is '@' followed by the default realm.
30-(Default: none)
31-.TP
32-.B Prepend-Before-Group
33-Constant string to put before a local group name when building an NFSv4 name. Usually not used.
34-(Default: none)
35-.TP
36-.B Append-After-Group
37-Constant string to put before a local group name when building an NFSv4 name. Usually this is '@' followed by the domain name followed by another '@' and the default realm.
38-(Default: none)
39-.TP
40-.B Group-Name-Prefix
41-Constant string that is prepended to a local group name when converting it to an NFSv4 name. If an NFSv4 group name has this prefix it is removed when converting it to a local group name.
42-With this group names of a central directory can be shortened for an isolated organizational unit if all groups have a common prefix.
43-(Default: none)
44-.TP
45-.B Group-Name-No-Prefix-Regex
46-Case-insensitive regular expression to exclude groups from adding and removing the prefix set by
47-.BR Group-Name-Prefix .
48-The regular expression must match both the remote and local group names. Multiple expressions may be concatenated with '|'.
49-(Default: none)
50+In Ubuntu, the regex plugin is shipped in the libnfsidmap-regex package. If you want to use this plugin, please install that package and consult the libnfsidmap-regex(5) manpage.
51 .\"
52 .\" -------------------------------------------------------------------
53 .\" The [UMICH_SCHEMA] section
54@@ -370,23 +328,13 @@
55
56 [Translation]
57
58-Method = umich_ldap,regex,nsswitch
59-GSS-Methods = umich_ldap,regex,static
60+Method = umich_ldap,nsswitch
61+GSS-Methods = umich_ldap,static
62
63 [Static]
64
65 johndoe@OTHER.DOMAIN.ORG = johnny
66
67-[Regex]
68-
69-User-Regex = ^DOMAIN\\([^@]+)@DOMAIN.ORG$
70-Group-Regex = ^([^@]+)@DOMAIN.ORG@DOMAIN.ORG$|^DOMAIN\\([^@]+)@DOMAIN.ORG$
71-Prepend-Before-User = DOMAIN\
72-Append-After-User = @DOMAIN.ORG
73-Append-After-Group = @domain.org@domain.org
74-Group-Name-Prefix = sales-
75-Group-Name-No-Prefix-Regex = -personal-group$
76-
77 [UMICH_SCHEMA]
78
79 LDAP_server = ldap.domain.org
diff --git a/debian/patches/series b/debian/patches/series
index cc5eab2..127f3e1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
3multiarch-kerberos-paths.patch3multiarch-kerberos-paths.patch
4nfs-utils-fix-man-page-syntax-errors.patch4nfs-utils-fix-man-page-syntax-errors.patch
5tests-skip-test-if-dev-log-is-missing.patch5tests-skip-test-if-dev-log-is-missing.patch
6remove-regex-from-docs.patch

Subscribers

People subscribed via source and target branches