Merge ~ahasenack/ubuntu/+source/autofs:eoan-autofs-merge-5.1.5 into ubuntu/+source/autofs:debian/experimental

Proposed by Andreas Hasenack
Status: Merged
Approved by: Andreas Hasenack
Approved revision: 0c2112eeb89b5e743fe019015300bffbaacffd06
Merge reported by: Andreas Hasenack
Merged at revision: 0c2112eeb89b5e743fe019015300bffbaacffd06
Proposed branch: ~ahasenack/ubuntu/+source/autofs:eoan-autofs-merge-5.1.5
Merge into: ubuntu/+source/autofs:debian/experimental
Diff against target: 593 lines (+472/-1)
6 files modified
debian/changelog (+412/-0)
debian/control (+2/-1)
debian/patches/16group_buffer_size.patch (+19/-0)
debian/patches/fix-lookup-ldap-crash.patch (+29/-0)
debian/patches/series (+5/-0)
debian/rules (+5/-0)
Reviewer Review Type Date Requested Status
Christian Ehrhardt  (community) Approve
Canonical Server Pending
Review via email: mp+367876@code.launchpad.net

Description of the change

PPA with test packages: https://launchpad.net/~ahasenack/+archive/ubuntu/autofs-515-merge

sudo add-apt-repository ppa:ahasenack/autofs-515-merge -y -u

Merge of latest upstream version, 5.1.5, which debian has in experimental.

Good chunks of delta dropped. I also emailed upstream about d/p/16group_buffer_size.patch, which we have been carrying since 2010. Updated the patch's DEP3 header with that info, and depending on the outcome, it's something we will be able to drop soon as well.

I'm running DEP8 tests locally, will update this MP once they are done.

To post a comment you must log in.
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

DEP8 tests passed:

(...)
autopkgtest [18:18:00]: test nfs-mount: -----------------------]
autopkgtest [18:18:00]: test nfs-mount: - - - - - - - - - - results - - - - - - - - - -
nfs-mount PASS
autopkgtest [18:18:01]: @@@@@@@@@@@@@@@@@@@@ summary
smb-mount PASS
nfs-mount PASS
qemu-system-x86_64: terminating on signal 15 from pid 8990 (/usr/bin/python3)

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Lol - I yesterday already had a console open to do that as well, but got interrupted by that VMX bug. Thanks for beating me :-)

/me closes windows and does a review instead (I updated the roadmap card to be in May and be labeled as started)

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Great, ack to dropped Delta.

A bit confusing at first that we strip Symboli-Functions but then still need to patch it in fix-lookup-ldap-crash.patch. But thanks to a patch header things amke sense (uses $(krb5-config --libs)). This is an example of our discussion yesterday were we both agreed that delta with proper headers is so much more manageable.

Maybe this could be "revived" upstream with a reply: https://www.spinics.net/lists/autofs/msg01968.html
to one day be able to drop it.

Thanks for doing the same already with 16group_buffer_size.patch

I found that via Debian there is a new build deps, do these create runtime dep issues?
 71 [ Stefan Potyra ]
 72 * debian/control:
 73 + Add libtirpc-dev to build-depends.
 74 * debian/rules:
 75 + Add option --with-libtirpc to configure. (Closes: #737679, #709366).

Old:
 checking if libtirpc is requested and available... no
New:
 checking for TIRPC... yes
 [...]
 Depends: libc6 (>= 2.28), libtirpc3 (>= 1.0.2), libxml2 (>= 2.7.4), ucf

But:
root@e:~# apt-cache policy libtirpc3
libtirpc3:
  Installed: (none)
  Candidate: 1.1.4-0.4
  Version table:
     1.1.4-0.4 500
        500 http://archive.ubuntu.com/ubuntu eoan/main amd64 Packages
So everything is ok.

That Debain change also is a good use of dpkg-statoverride - nice to see that.
BTW - this is another arcane tool that is worth to know about.

+1 for the Merge

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

Thanks for catching the libtirpc dependency.

If it works this time, it will fix https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1101779 and other ipv6-related bugs. Last time I tried to use an older tirpc version, but it introduced segfaults (https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1745817) , and I had to revert that decision.

I'll test the package in the scenario that caused segfaults, and if it works this time, will upload and mark the ipv6 bugs as fixed.

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

The newer libtirpc works just fine, I just tested. And I had done that before, as seen in https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1745817/comments/11

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

root@eoan-autofs:~# apt-cache policy autofs
autofs:
  Installed: 5.1.5-1ubuntu1~ppa1
  Candidate: 5.1.5-1ubuntu1~ppa1
  Version table:
 *** 5.1.5-1ubuntu1~ppa1 500
        500 http://ppa.launchpad.net/ahasenack/autofs-515-merge/ubuntu eoan/main amd64 Packages

autofs ready:
root@eoan-autofs:~# mount|grep /net
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
-hosts on /net type autofs (rw,relatime,fd=6,pgrp=630,timeout=60,minproto=5,maxproto=5,indirect,pipe_ino=19960)

# this will trigger a list of "nfs shares" from 192.168.122.136
root@eoan-autofs:~# cd /net/192.168.122.136
root@eoan-autofs:/net/192.168.122.136# ls -la
total 0
drwxr-xr-x 3 root root 0 May 24 13:52 .
drwxr-xr-x 3 root root 0 May 24 13:52 ..
drwxr-xr-x 2 root root 0 May 24 13:52 pub

# entering the pub nfs share will mount it
root@eoan-autofs:/net/192.168.122.136# cd pub
lroot@eoan-autofs:/net/192.168.122.136/pub# ls -la
total 8
drwxrwxrwt 2 root root 4096 May 24 13:45 .
drwxr-xr-x 3 root root 0 May 24 13:52 ..
-rw-r--r-- 1 nobody nogroup 0 May 24 13:45 foo
-rw-r--r-- 1 root root 38 May 24 13:27 hello.txt

# and now we have an nfs mount (last line):
root@eoan-autofs:/net/192.168.122.136/pub# mount|grep /net
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
-hosts on /net type autofs (rw,relatime,fd=6,pgrp=630,timeout=60,minproto=5,maxproto=5,indirect,pipe_ino=19960)
-hosts on /net/192.168.122.136/pub type autofs (rw,relatime,fd=6,pgrp=630,timeout=60,minproto=5,maxproto=5,offset,pipe_ino=19960)
192.168.122.136:/pub on /net/192.168.122.136/pub type nfs4 (rw,nosuid,nodev,relatime,vers=4.2,rsize=262144,wsize=262144,namlen=255,soft,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.122.75,local_lock=none,addr=192.168.122.136)

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

Tagged and uploaded:

$ git push pkg upload/5.1.5-1ubuntu1
Enumerating objects: 40, done.
Counting objects: 100% (40/40), done.
Delta compression using up to 4 threads
Compressing objects: 100% (33/33), done.
Writing objects: 100% (33/33), 9.75 KiB | 908.00 KiB/s, done.
Total 33 (delta 21), reused 0 (delta 0)
To ssh://git.launchpad.net/~usd-import-team/ubuntu/+source/autofs
 * [new tag] upload/5.1.5-1ubuntu1 -> upload/5.1.5-1ubuntu1

$ dput ubuntu ../autofs_5.1.5-1ubuntu1_source.changes
Checking signature on .changes
gpg: ../autofs_5.1.5-1ubuntu1_source.changes: Valid signature from AC983EB5BF6BCBA9
Checking signature on .dsc
gpg: ../autofs_5.1.5-1ubuntu1.dsc: Valid signature from AC983EB5BF6BCBA9
Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading autofs_5.1.5-1ubuntu1.dsc: done.
  Uploading autofs_5.1.5.orig.tar.xz: done.
  Uploading autofs_5.1.5-1ubuntu1.debian.tar.xz: done.
  Uploading autofs_5.1.5-1ubuntu1_source.buildinfo: done.
  Uploading autofs_5.1.5-1ubuntu1_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
1diff --git a/debian/changelog b/debian/changelog
2index a544842..d11378a 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,27 @@
6+autofs (5.1.5-1ubuntu1) eoan; urgency=medium
7+
8+ * Merge with Debian unstable. Remaining changes:
9+ - d/p/16group_buffer_size.patch
10+ [Refreshed for 5.1.5, and added Forwarded DEP-3 header]
11+ - d/rules: Add LDFLAGS to avoid issues with accessing global variables in
12+ shared libraries (LP #1470687, LP #1472115).
13+ - d/p/fix-lookup-ldap-crash.patch: fix crash on startup due to uninitialized
14+ config. (LP #1503034)
15+ * Dropped:
16+ - debian/patches/autofs-5.1.4-dont-allow-trailing-slash-in-master-map-
17+ mount-points.patch: Don't allow trailing slash in master map mount
18+ points. Thanks to: Ian Kent <raven@themaw.net>. Closes LP #1754506.
19+ [Fixed upstream]
20+ - d/p/autofs-5.1.3-handle-additional-nfs-versions-in-mount.patch:
21+ fix usage of NFS 4.x subversions (LP #1818121)
22+ [Fixed upstream]
23+ - d/t/control, d/t/smb-mount: add smb automount DEP8 test
24+ [In 5.1.5-1]
25+ - d/t/control, d/t/nfs-mount: add nfs automount DEP8 test
26+ [In 5.1.5-1]
27+
28+ -- Andreas Hasenack <andreas@canonical.com> Thu, 23 May 2019 18:02:02 -0300
29+
30 autofs (5.1.5-1) experimental; urgency=medium
31
32 [ Mike Gabriel ]
33@@ -61,6 +85,32 @@ autofs (5.1.5-1) experimental; urgency=medium
34
35 -- Mike Gabriel <sunweaver@debian.org> Thu, 14 Mar 2019 19:42:50 +0100
36
37+autofs (5.1.2-4ubuntu2) disco; urgency=medium
38+
39+ * d/p/autofs-5.1.3-handle-additional-nfs-versions-in-mount.patch:
40+ fix usage of NFS 4.x subversions (LP: #1818121)
41+
42+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Thu, 07 Mar 2019 13:03:35 +0100
43+
44+autofs (5.1.2-4ubuntu1) cosmic; urgency=medium
45+
46+ * Merge with Debian unstable. Remaining changes:
47+ - d/p/16group_buffer_size.patch
48+ - d/rules: Add LDFLAGS to avoid issues with accessing global variables in
49+ shared libraries (LP #1470687, LP #1472115).
50+ - d/p/fix-lookup-ldap-crash.patch: fix crash on startup due to uninitialized
51+ config. (LP #1503034)
52+ [Added Forwarded info to the DEP3 header]
53+ - debian/patches/autofs-5.1.4-dont-allow-trailing-slash-in-master-map-
54+ mount-points.patch: Don't allow trailing slash in master map mount
55+ points. Thanks to: Ian Kent <raven@themaw.net>. Closes LP #1754506.
56+ - d/t/control, d/t/smb-mount: add smb automount DEP8 test
57+ [Added note about it having been forwarded to Debian]
58+ - d/t/control, d/t/nfs-mount: add nfs automount DEP8 test
59+ [Added note about it having been forwarded to Debian]
60+
61+ -- Andreas Hasenack <andreas@canonical.com> Wed, 18 Jul 2018 10:56:43 -0300
62+
63 autofs (5.1.2-4) unstable; urgency=medium
64
65 * QA upload.
66@@ -69,6 +119,36 @@ autofs (5.1.2-4) unstable; urgency=medium
67
68 -- Adam Borowski <kilobyte@angband.pl> Mon, 09 Jul 2018 02:09:42 +0200
69
70+autofs (5.1.2-3ubuntu2) cosmic; urgency=medium
71+
72+ * Add DEP8 tests (LP: #1677751):
73+ - d/tests/control, d/tests/smb-mount: smb automount DEP8 test
74+ - d/tests/control, d/tests/nfs-mount: nfs automount DEP8 test
75+
76+ -- Andreas Hasenack <andreas@canonical.com> Tue, 12 Jun 2018 17:35:31 -0300
77+
78+autofs (5.1.2-3ubuntu1) cosmic; urgency=medium
79+
80+ * Merge with Debian unstable (LP: #1775232). Remaining changes:
81+ - d/p/16group_buffer_size.patch
82+ - d/rules: Add LDFLAGS to avoid issues with accessing global variables in
83+ shared libraries (LP #1470687, LP #1472115).
84+ [Updated to use DEB_LDFLAGS_MAINT_STRIP instead of sed]
85+ - d/p/fix-lookup-ldap-crash.patch: fix crash on startup due to uninitialized
86+ config. (LP #1503034)
87+ [Updated DEP3 header with why this patch is still needed]
88+ * Dropped:
89+ - debian/rules: build with sssldir path
90+ [Adopted by Debian in 5.1.2-2]
91+ - d/p/fix-ssslib-search.patch - parts replaced by fix-sssldir.patch
92+ [Adopted by Debian in 5.1.2-2]
93+ * Added:
94+ - debian/patches/autofs-5.1.4-dont-allow-trailing-slash-in-master-map-
95+ mount-points.patch: Don't allow trailing slash in master map mount
96+ points. Thanks to: Ian Kent <raven@themaw.net>. Closes LP: #1754506.
97+
98+ -- Andreas Hasenack <andreas@canonical.com> Tue, 05 Jun 2018 14:42:35 -0300
99+
100 autofs (5.1.2-3) unstable; urgency=medium
101
102 * QA upload.
103@@ -117,6 +197,38 @@ autofs (5.1.2-2) unstable; urgency=medium
104
105 -- Laurent Bigonville <bigon@debian.org> Wed, 13 Dec 2017 10:28:56 +0100
106
107+autofs (5.1.2-1ubuntu3) bionic; urgency=medium
108+
109+ * Revert the previous change, as it introduced a segfault when using the
110+ builtin -hosts map. This will reopen #1101779. (LP: #1745817)
111+
112+ -- Andreas Hasenack <andreas@canonical.com> Fri, 13 Apr 2018 16:29:51 -0300
113+
114+autofs (5.1.2-1ubuntu2) bionic; urgency=medium
115+
116+ * Fix IPv6 support by linking with libtirpc (LP: #1101779, Closes: #737679):
117+ - d/control: add libtirpc-dev to build-depends
118+ - d/rules: add --with-libtirpc to configure call
119+ Thanks to Stefan Potyra <sistpoty@ubuntu.com>.
120+
121+ -- Andreas Hasenack <andreas@canonical.com> Wed, 24 Jan 2018 14:01:38 -0200
122+
123+autofs (5.1.2-1ubuntu1) zesty; urgency=medium
124+
125+ * Merge from Debian. Remaining changes:
126+ - debian/rules: build with sssldir path
127+ - d/p/fix-ssslib-search.patch
128+ - d/p/16group_buffer_size.patch
129+ - Add LDFLAGS to avoid issues with accessing global variables in shared
130+ libraries.
131+ - d/p/fix-lookup-ldap-crash.patch: fix crash on startup due to uninitialized
132+ config.
133+ * Drop changes:
134+ - Replace systemd service with upstart service; we have been on systemd
135+ since Xenial, so we should be fine to use the systemd service.
136+
137+ -- Robie Basak <robie.basak@ubuntu.com> Thu, 16 Feb 2017 19:10:50 +0000
138+
139 autofs (5.1.2-1) unstable; urgency=medium
140
141 * New upstream release [June 2016] (Closes: #846054).
142@@ -128,6 +240,39 @@ autofs (5.1.2-1) unstable; urgency=medium
143
144 -- Dmitry Smirnov <onlyjob@debian.org> Fri, 23 Dec 2016 10:34:46 +1100
145
146+autofs (5.1.1-1ubuntu3) xenial; urgency=medium
147+
148+ [ Malcolm Scott ]
149+ * d/p/fix-lookup-ldap-crash.patch:
150+ - Fix crash on startup due to uninitialized config. LP: #1503034
151+
152+ [ Michael Terry ]
153+ * d/p/fix-lookup-ldap-crash.patch:
154+ - Adjust above patch to be slightly more generic
155+
156+ -- Michael Terry <mterry@ubuntu.com> Thu, 19 Nov 2015 17:31:09 -0500
157+
158+autofs (5.1.1-1ubuntu2) wily; urgency=low
159+
160+ * Add LDFLAGS to avoid issues with accessing global variables in
161+ shared libraries (LP: #1470687, LP: #1472115).
162+
163+ -- Stefan Bader <stefan.bader@canonical.com> Tue, 07 Jul 2015 16:28:53 +0200
164+
165+autofs (5.1.1-1ubuntu1) wily; urgency=low
166+
167+ * Merge from Debian unstable. Remaining changes:
168+ - autofs.upstart script
169+ - debian/rules: build with sssldir path
170+ - d/p/fix-ssslib-search.patch - parts replaced by fix-sssldir.patch
171+ - d/p/16group_buffer_size.patch
172+ * Dropped patches:
173+ - CVE-2014-8169-add-a-prefix-to-program-map-stdvars.patch
174+ - CVE-2014-8169-add-config-option-to-force-use-of-program-map-stdvars.patch
175+ - lp1386869-fix-cant-automount-when--host-exist
176+
177+ -- Chris J Arges <chris.j.arges@canonical.com> Mon, 06 Jul 2015 14:59:51 -0500
178+
179 autofs (5.1.1-1) unstable; urgency=low
180
181 * New upstream release [April 2015].
182@@ -180,6 +325,42 @@ autofs (5.0.8-2) unstable; urgency=medium
183
184 -- Dmitry Smirnov <onlyjob@debian.org> Thu, 19 Mar 2015 18:38:23 +1100
185
186+autofs (5.0.8-1ubuntu3.1) vivid; urgency=medium
187+
188+ * Fix mount issues when using '-host' in conf file. (LP: #1386869)
189+
190+ -- Seyeong Kim <seyeong.kim@canonical.com> Tue, 28 Apr 2015 11:53:54 -0500
191+
192+autofs (5.0.8-1ubuntu3) vivid; urgency=medium
193+
194+ * SECURITY UPDATE: privilege escalation via interpreter load path
195+ - debian/patches/CVE-2014-8169-*.patch: add a prefix to program map
196+ stdvars and a config option to override it in include/mounts.h,
197+ lib/mounts.c, modules/lookup_program.c, modules/parse_sun.c,
198+ include/defaults.h, lib/defaults.c, modules/lookup_program.c,
199+ samples/autofs.conf.default.in, document changes in
200+ man/autofs.5, man/auto.master.5.in.
201+ - CVE-2014-8169
202+
203+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Fri, 20 Mar 2015 16:04:47 -0400
204+
205+autofs (5.0.8-1ubuntu2) vivid; urgency=medium
206+
207+ * Build with -fgnu89-inline. Closes: #777787.
208+
209+ -- Matthias Klose <doko@ubuntu.com> Wed, 04 Mar 2015 20:29:34 +0100
210+
211+autofs (5.0.8-1ubuntu1) utopic; urgency=low
212+
213+ [ Greg Lutostanski ]
214+ * Merge from Debian unstable. (LP: #1351337) Remaining changes:
215+ - debian/autofs.upstart - upstart job
216+ - debian/patches/16group_buffer_size.patch:
217+ + prevents package to eat the cpu if you have large groups.
218+ - Add support for sssd backend
219+
220+ -- Luke Yelavich <themuso@ubuntu.com> Tue, 05 Aug 2014 13:30:18 +1000
221+
222 autofs (5.0.8-1) unstable; urgency=low
223
224 * New upstream release [October 2013] (Closes: #729023).
225@@ -210,6 +391,49 @@ autofs (5.0.8-1) unstable; urgency=low
226
227 -- Dmitry Smirnov <onlyjob@debian.org> Fri, 07 Mar 2014 12:52:31 +1100
228
229+autofs (5.0.7-3ubuntu5) utopic; urgency=medium
230+
231+ * Fix file descriptor leak when reloading daemon. (LP: #1316125)
232+
233+ -- Rafael David Tinoco <rafael.tinoco@canonical.com> Thu, 15 May 2014 18:05:40 -0300
234+
235+autofs (5.0.7-3ubuntu4) utopic; urgency=high
236+
237+ * No change rebuild against new dh_installinit, to call update-rc.d at
238+ postinst.
239+
240+ -- Dimitri John Ledkov <xnox@ubuntu.com> Wed, 28 May 2014 10:38:57 +0100
241+
242+autofs (5.0.7-3ubuntu3) trusty; urgency=medium
243+
244+ * fix-ssslib-search.patch: Don't skip sssd autofs search if presseded.
245+ * rules: set ssslibdir correctly when calling configure (LP: #1081489)
246+
247+ -- Adam Conrad <adconrad@ubuntu.com> Sat, 05 Apr 2014 05:26:53 -0600
248+
249+autofs (5.0.7-3ubuntu2) trusty; urgency=medium
250+
251+ * Add support for sssd backend (LP: #1081489)
252+ - control: Add sssd-common to build-depends.
253+ - rules: Set sssldir for the sssd module so autoreconf knows about it.
254+
255+ -- Timo Aaltonen <tjaalton@ubuntu.com> Fri, 31 Jan 2014 13:57:03 +0200
256+
257+autofs (5.0.7-3ubuntu1) raring; urgency=low
258+
259+ * Merge from Debian, remaining changes are:
260+ - debian/autofs.upstart - upstart job
261+ - debian/patches/16group_buffer_size.patch:
262+ + prevents package to eat the cpu if you have large groups.
263+
264+ * Dropped changes, merged in Debian:
265+ - Add patch to fix nsswitch parser to accept nsswitch.conf without an
266+ automout stanza as valid file. (Closes: #602090) (LP: #488696)
267+ - debian/patches/0001-Remove-kernel-mount.nfs-version-checks-on-Debian-Ubu.patch:
268+ Remove kernel & mount.nfs version checks on Debian/Ubuntu. (LP: #1016673)
269+
270+ -- Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com> Wed, 14 Nov 2012 11:50:43 +0000
271+
272 autofs (5.0.7-3) unstable; urgency=low
273
274 * pidfile is in /var/run not /run: fix the initscript
275@@ -296,6 +520,34 @@ autofs (5.0.6-3) unstable; urgency=low
276
277 -- Michael Tokarev <mjt@tls.msk.ru> Sat, 25 Aug 2012 16:13:02 +0400
278
279+autofs (5.0.6-2ubuntu2) quantal; urgency=low
280+
281+ * Add patch to fix nsswitch parser to accept nsswitch.conf without an
282+ automout stanza as valid file. (Closes: #602090) (LP: #488696)
283+
284+ -- Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com> Wed, 12 Sep 2012 17:18:24 +0100
285+
286+autofs (5.0.6-2ubuntu1) quantal; urgency=low
287+
288+ * Merge from Debian unstable (LP: #1006509), remaining changes:
289+ - debian/autofs.upstart - upstart job
290+ - debian/patches/16group_buffer_size.patch:
291+ + prevents package to eat the cpu if you have large groups.
292+
293+ * Dropped changes:
294+ - 17ld.patch, applied in debian as link-daemon-with-lpthread.patch
295+ and save-hesiod-libs-correctly.patch
296+
297+ * This upload renames autofs5 back to autofs, following debian's name
298+ change.
299+
300+ * Added patch descriptions/headers to 16group_buffer_size
301+
302+ * debian/patches/0001-Remove-kernel-mount.nfs-version-checks-on-Debian-Ubu.patch:
303+ Remove kernel & mount.nfs version checks on Debian/Ubuntu. (LP: #1016673)
304+
305+ -- Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com> Wed, 20 Jun 2012 12:34:50 +0100
306+
307 autofs (5.0.6-2) unstable; urgency=low
308
309 [Dmitry Smirnov]
310@@ -381,6 +633,116 @@ autofs (5.0.6-1) unstable; urgency=low
311
312 -- Dmitry Smirnov <onlyjob@member.fsf.org> Mon, 23 Apr 2012 00:30:51 +1000
313
314+autofs5 (5.0.6-0ubuntu5) precise; urgency=low
315+
316+ * d/autofs5.autofs.upstart: Drop wait-for-state from configuration as
317+ waiting for NIS to start is already handled in the NIS package by
318+ the start-ypbind upstart configuration which supports autofs
319+ (LP: #958704).
320+
321+ -- James Page <james.page@ubuntu.com> Thu, 22 Mar 2012 11:02:03 +0000
322+
323+autofs5 (5.0.6-0ubuntu4) precise; urgency=low
324+
325+ * d/autofs5.autofs.upstart: Wait for NIS if it is installed. Also
326+ use the more generic runlevel event to start (LP: #573919)
327+ * d/control: Depend on upstart >= 0.9.7-2 since we rely on wait-for-state.
328+
329+ -- Clint Byrum <clint@ubuntu.com> Fri, 09 Mar 2012 16:47:40 -0800
330+
331+autofs5 (5.0.6-0ubuntu3) precise; urgency=low
332+
333+ * debian/rules:
334+ - Don't strip symbols during the build; let dh_strip turn them into dbgsym
335+ packages instead. Thanks, Adam Stokes! (LP: #924002)
336+
337+ -- Christopher James Halse Rogers <christopher.halse.rogers@canonical.com> Fri, 17 Feb 2012 11:59:50 +1100
338+
339+autofs5 (5.0.6-0ubuntu2) oneiric; urgency=low
340+
341+ * debian/patches/non-ipv6-hostname-lookups.patch: Resolve regression of not
342+ being able to lookup non IPv6 hostnames, patch courtesy of upstream.
343+ (LP: #810397)
344+ * debian/control:
345+ - Removed dpatch from build-dep as package is now using
346+ quilt to handle patches.
347+ - Bumped standards to 3.9.2, no changes required.
348+ * debian/rules: Added targets build-arch & build-indep to satisfy lintian.
349+
350+ -- Dave Walker (Daviey) <DaveWalker@ubuntu.com> Thu, 14 Jul 2011 12:38:56 +0100
351+
352+autofs5 (5.0.6-0ubuntu1) oneiric; urgency=low
353+
354+ * New upstream release:
355+ - Dropped upstream patches
356+ - Refreshed debian/patches/17ld.patch.
357+
358+ -- Chuck Short <zulcss@ubuntu.com> Sun, 03 Jul 2011 14:35:46 -0400
359+
360+autofs5 (5.0.5-0ubuntu7) oneiric; urgency=low
361+
362+ * Refresh upstream patches.
363+ * Convert to dpkg-source 3.0 quilt format.
364+
365+ -- Chuck Short <zulcss@ubuntu.com> Fri, 27 May 2011 09:21:06 -0400
366+
367+autofs5 (5.0.5-0ubuntu6) natty; urgency=low
368+
369+ * Remove mounting TYPE=nfs from start conditions, change to
370+ start on filesystem and started networking to still solve
371+ bug 733914 as well. (LP: #752730)
372+ * Re-add sourcing of /etc/default/autofs to get OPTIONS so
373+ upgrades won't lose their settings.
374+
375+ -- Clint Byrum <clint@ubuntu.com> Sat, 09 Apr 2011 22:48:03 -0700
376+
377+autofs5 (5.0.5-0ubuntu5) natty; urgency=low
378+
379+ * Improve autofs.conf upstart script. Prevent race
380+ when trying to start networking. (LP: #733914)
381+ * debian/autofs5-ldap.install: Install schema in the right place.
382+ (LP: #699855)
383+ * Suggest smbfs if you want to use cifs. (LP: #579857)
384+ * Dropped 13ldap_module_linkage.dpatch no longer needed.
385+ * Refresh with missing upstream patches.
386+
387+ -- Chuck Short <zulcss@ubuntu.com> Sat, 02 Apr 2011 22:25:34 -0400
388+
389+autofs5 (5.0.5-0ubuntu4) natty; urgency=low
390+
391+ * Add missing space to autofs.conf which was stopping autofs job
392+ from ending at shutdown (LP:#718664).
393+
394+ -- James Hunt <james.hunt@ubuntu.com> Mon, 14 Feb 2011 11:01:18 +0000
395+
396+autofs5 (5.0.5-0ubuntu3) natty; urgency=low
397+
398+ * Fix FTBFS with ld --no-add-needed.
399+
400+ -- Matthias Klose <doko@ubuntu.com> Fri, 07 Jan 2011 15:40:32 +0100
401+
402+autofs5 (5.0.5-0ubuntu2) maverick; urgency=low
403+
404+ [Joel Ebel]
405+ * debian/patches/16group_buffer_size.patch: Increase group buffer size
406+ geometrically rather than linearly when its found to be small.
407+ (LP: #591100)
408+
409+ [Chuck Short]
410+ * debian/control: Fix conflict resolution. (LP: #520601)
411+
412+ -- Chuck Short <zulcss@ubuntu.com> Wed, 30 Jun 2010 08:06:45 -0400
413+
414+autofs5 (5.0.5-0ubuntu1) maverick; urgency=low
415+
416+ * New upstream version:
417+ - Dropped 10lsb_initscript.dpatch since we dont ship an init script.
418+ - Fast forward through the upstream patches until 2010/06/21.
419+ - Clean up lintian warnings.
420+ - Bump to standards version 3.8.4.
421+
422+ -- Chuck Short <zulcss@ubuntu.com> Mon, 21 Jun 2010 11:02:50 -0400
423+
424 autofs5 (5.0.4-3.2) unstable; urgency=low
425
426 * Non-maintainer upload.
427@@ -389,6 +751,44 @@ autofs5 (5.0.4-3.2) unstable; urgency=low
428
429 -- Holger Levsen <holger@debian.org> Sun, 14 Nov 2010 16:48:23 +0000
430
431+autofs5 (5.0.4-3.1ubuntu5) lucid; urgency=low
432+
433+ FFE LP: #533029
434+
435+ * Replace init script with Upstart job:
436+ - debian/rules, debian/autofs5.autofs.upstart: Add upstart job.
437+
438+ -- Chuck Short <zulcss@ubuntu.com> Mon, 12 Apr 2010 08:56:32 -0400
439+
440+autofs5 (5.0.4-3.1ubuntu4) lucid; urgency=low
441+
442+ * debian/control: Update maintainer.
443+
444+ -- Chuck Short <zulcss@ubuntu.com> Tue, 09 Feb 2010 09:39:56 -0500
445+
446+autofs5 (5.0.4-3.1ubuntu3) lucid; urgency=low
447+
448+ * debian/control: correctly define transitional packages for autofs,
449+ autofs-ldap and autofs-hesiod (LP: #519119)
450+
451+ -- Andrew Pollock <apollock@debian.org> Mon, 08 Feb 2010 22:38:34 -0800
452+
453+autofs5 (5.0.4-3.1ubuntu2) lucid; urgency=low
454+
455+ * debian/control: Provide a transitional package for upgrade from
456+ autofs4 to autofs5.
457+
458+ -- Chuck Short <zulcss@ubuntu.com> Thu, 04 Feb 2010 14:32:00 -0500
459+
460+autofs5 (5.0.4-3.1ubuntu1) lucid; urgency=low
461+
462+ * Merge from debian testing. Remaining changes:
463+ - Removed experimental tag.
464+ - Dropped Ubuntu fix for permissions of /etc/autofs_ldap_auth.conf in
465+ favor of Debian's.
466+
467+ -- Chuck Short <zulcss@ubuntu.com> Fri, 29 Jan 2010 06:13:19 +0000
468+
469 autofs5 (5.0.4-3.1) unstable; urgency=low
470
471 * Non-maintainer upload.
472@@ -397,6 +797,18 @@ autofs5 (5.0.4-3.1) unstable; urgency=low
473
474 -- Patrick Winnertz <winnie@debian.org> Sat, 23 Jan 2010 14:54:16 +0100
475
476+autofs5 (5.0.4-3ubuntu2) lucid; urgency=low
477+
478+ * debian/rules: Fix permissions of /etc/autofs_ldap_auth.conf. (LP: #368715)
479+
480+ -- Chuck Short <zulcss@ubuntu.com> Thu, 07 Jan 2010 15:45:55 -0500
481+
482+autofs5 (5.0.4-3ubuntu1) lucid; urgency=low
483+
484+ * debian/control: Removed experimental tag
485+
486+ -- Chuck Short <zulcss@ubuntu.com> Mon, 14 Dec 2009 14:39:24 -0500
487+
488 autofs5 (5.0.4-3) unstable; urgency=low
489
490 * Fix LSB initscript header to use keywords that
491diff --git a/debian/control b/debian/control
492index 56f7d29..3dfffe8 100644
493--- a/debian/control
494+++ b/debian/control
495@@ -1,7 +1,8 @@
496 Source: autofs
497 Section: utils
498 Priority: optional
499-Maintainer: Mike Gabriel <sunweaver@debian.org>
500+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
501+XSBC-Original-Maintainer: Mike Gabriel <sunweaver@debian.org>
502 Uploaders:
503 Debian Edu Packaging Team <debian-edu-pkg-team@lists.alioth.debian.org>,
504 Standards-Version: 4.3.0
505diff --git a/debian/patches/16group_buffer_size.patch b/debian/patches/16group_buffer_size.patch
506new file mode 100644
507index 0000000..613979b
508--- /dev/null
509+++ b/debian/patches/16group_buffer_size.patch
510@@ -0,0 +1,19 @@
511+Author: Joel Ebel <jbebel@google.com>
512+Bug-Ubuntu: https://launchpad.net/bugs/591100
513+Forwarded: https://www.spinics.net/lists/autofs/msg02115.html
514+Description: Increase group buffer size geometrically rather than
515+linearly when its found to be small.
516+.
517+This prevents package to eat the cpu if you have large groups.
518+
519+--- a/lib/mounts.c
520++++ b/lib/mounts.c
521+@@ -1541,7 +1541,7 @@
522+ status = getgrgid_r(gid, pgr, gr_tmp, tmplen, ppgr);
523+ if (status != ERANGE)
524+ break;
525+- tmplen += grplen;
526++ tmplen *= 2;
527+
528+ /* Don't tempt glibc to alloca() larger than is (likely)
529+ * available on the stack if limit-getgrgid-size is enabled.
530diff --git a/debian/patches/fix-lookup-ldap-crash.patch b/debian/patches/fix-lookup-ldap-crash.patch
531new file mode 100644
532index 0000000..176537c
533--- /dev/null
534+++ b/debian/patches/fix-lookup-ldap-crash.patch
535@@ -0,0 +1,29 @@
536+Description: Fix segfault in lookup_ldap initialisation
537+ lib/defaults.c doesn't initialise the config cache before lookup_ldap
538+ attempts to read from it.
539+ .
540+ <andreas> lookup_ldap is the only module that is still built and linked
541+ using -Bsymbolic-functions. d/rules tries to strip that option out of
542+ LDFLAGS, but it leaks back in via $(krb5-config --libs) when lookup_ldap
543+ is built.
544+Author: Malcolm Scott <debianpkg@malc.org.uk>
545+Bug-Debian: https://bugs.debian.org/901344
546+Bug-Ubuntu: https://bugs.launchpad.net/bugs/1503034
547+Forwarded: https://www.spinics.net/lists/autofs/msg01903.html
548+
549+Index: autofs-5.1.1/modules/lookup_ldap.c
550+===================================================================
551+--- autofs-5.1.1.orig/modules/lookup_ldap.c
552++++ autofs-5.1.1/modules/lookup_ldap.c
553+@@ -1665,6 +1665,11 @@ int lookup_init(const char *mapfmt, int
554+ ctxt->check_defaults = 1;
555+ }
556+
557++ if (!defaults_read_config(0)) {
558++ free_context(ctxt);
559++ return 1;
560++ }
561++
562+ ctxt->timeout = defaults_get_ldap_timeout();
563+ ctxt->network_timeout = defaults_get_ldap_network_timeout();
564+
565diff --git a/debian/patches/series b/debian/patches/series
566index fa750d9..fc7d213 100644
567--- a/debian/patches/series
568+++ b/debian/patches/series
569@@ -7,3 +7,8 @@ remove-kernel-mount.nfs-version-check.patch
570 mount-hidden-samba-shares.patch
571 hardening-flags.patch
572 spelling-error-fixes.patch
573+#
574+# Ubuntu patches
575+#
576+16group_buffer_size.patch
577+fix-lookup-ldap-crash.patch
578diff --git a/debian/rules b/debian/rules
579index 9822036..84ab603 100755
580--- a/debian/rules
581+++ b/debian/rules
582@@ -7,6 +7,11 @@ include /usr/share/dpkg/buildflags.mk
583 # Uncomment this to turn on verbose mode.
584 #export DH_VERBOSE=1
585 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
586+# Taken from #1636781 as it's the same problem here. Also see
587+# https://lists.ubuntu.com/archives/ubuntu-devel/2018-June/040369.html
588+ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes)
589+ export DEB_LDFLAGS_MAINT_STRIP = -Wl,-Bsymbolic-functions
590+endif
591
592 %:
593 dh $@ --with systemd

Subscribers

People subscribed via source and target branches