Merge ~ahasenack/ubuntu/+source/autofs:cosmic-merge-5.1.2-3 into ubuntu/+source/autofs:debian/sid
- Git
- lp:~ahasenack/ubuntu/+source/autofs
- cosmic-merge-5.1.2-3
- Merge into debian/sid
Status: | Merged | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Merge reported by: | Christian Ehrhardt | ||||||||||||||||
Merged at revision: | d9bfb75656065c91f51a1290b2e40bb99a6ba49c | ||||||||||||||||
Proposed branch: | ~ahasenack/ubuntu/+source/autofs:cosmic-merge-5.1.2-3 | ||||||||||||||||
Merge into: | ubuntu/+source/autofs:debian/sid | ||||||||||||||||
Diff against target: |
555 lines (+442/-1) 7 files modified
debian/changelog (+354/-0) debian/control (+2/-1) debian/patches/16group_buffer_size.patch (+18/-0) debian/patches/autofs-5.1.4-dont-allow-trailing-slash-in-master-map-mount-points.patch (+29/-0) debian/patches/fix-lookup-ldap-crash.patch (+28/-0) debian/patches/series (+6/-0) debian/rules (+5/-0) |
||||||||||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Christian Ehrhardt (community) | Approve | ||
Canonical Server | Pending | ||
Review via email: mp+347556@code.launchpad.net |
Commit message
Description of the change
Merge from debian's 5.1.2-3, plus an extra fix for bug #1754506.
PPA with test packages: sudo add-apt-repository ppa:ahasenack/
(https:/
To test:
apt install cifs-utils smbclient autofs
Add this to /etc/auto.master:
# trailing slash in /cifs is what triggers the bug
/cifs/ /etc/auto.smb --timeout=30
Restart autofs:
sudo systemctl restart autofs
Assuming "cifs-server" is a valid CIFS server dns name, and "pub" is a
valid share, navigate to it:
cd /cifs/cifs-
ls
Navigate away:
cd /
Confirm cifs is mounted:
mount -t cifs
After the timeout passes, it will still be mounted.
If instead you use "/cifs /etc/auto.smb --timeout=30" (without the ending
slash in /cifs) in /etc/auto.master, then it works. If using the fixed packages, then the trailing slash represents no problem and the timeout works as expected.
Christian Ehrhardt (paelzer) wrote : | # |
Christian Ehrhardt (paelzer) wrote : | # |
Hi,
tags LGTM
dropped changes: ack
retained changes: correctly retained
So this is all good, but has some optional things we might want to look into on this merge.
I wonder on the two older kept changes, both about 3 years old:
+ - Add LDFLAGS to avoid issues with accessing global variables in
+ shared libraries (LP #1470687, LP #1472115).
+ - d/p/fix-
+ config.
There should be either of the following:
a) dropping the code, build it and retest the old bugs - still triggers -> submit to Debian as well
b) dropping the code, build it and retest the old bugs - no more triggers -> Drop Delta
On the crash I'd assume it still appears and needs to be reported.
On the LDFLAGS instead I doubt this still really works.
First our build log [1] still has symbolic-functions while Debian [2] has not.
So the fix might be incomplete these days or is it no more important?
Anyway I'd appreciate if you would look into those two Deltas.
Also you mentioned segfaults when building that on Ubuntu - was that riddle solved as well?
Finally I have two super-minor changelog nit picks that you can consider (or not) depending on your mood.
[1]: https:/
[2]: https:/
Andreas Hasenack (ahasenack) wrote : | # |
On Thu, Jun 7, 2018 at 4:40 AM, Christian Ehrhardt <email address hidden> wrote:
I wonder on the two older kept changes, both about 3 years old:
+ - Add LDFLAGS to avoid issues with accessing global variables in
+ shared libraries (LP #1470687, LP #1472115).
+ - d/p/fix-
+ config.
There should be either of the following:
a) dropping the code, build it and retest the old bugs - still triggers -> submit to Debian as well
b) dropping the code, build it and retest the old bugs - no more triggers -> Drop Delta
On the crash I'd assume it still appears and needs to be reported.
I'll check the ldap case.
On the LDFLAGS instead I doubt this still really works.
First our build log [1] still has symbolic-functions while Debian [2] has not.
So the fix might be incomplete these days or is it no more important?
dpkg-buildflags in Ubuntu outputs the symbolic-functions setting, but Debian's does not. If the build happens with that linker flag set, automount segfaults on startup on a null pointer deref. The global variable holding the config suddenly becomes a NULL as autofs plugins are loaded. So there is no need to push this one to Debian.
Anyway I'd appreciate if you would look into those two Deltas.
Also you mentioned segfaults when building that on Ubuntu - was that riddle solved as well?
It was a one-line incorrect merge on my part that didn't remove the symbolic-functions flag, and that causes a crash on startup as explained above.
Andreas Hasenack (ahasenack) : | # |
Andreas Hasenack (ahasenack) wrote : | # |
Without the lookup-ldap patch, ubuntu's automount crashes on startup if there is an ldap configuration in /etc/auto.master:
root@cosmic-
Starting automounter version 5.1.2, master map /etc/auto.master
using kernel protocol version 5.02
lookup_
do_init: parse(sun): init gathered global options: (null)
lookup_read_master: lookup(file): read entry +dir:/etc/
lookup_
lookup_read_master: lookup(dir): scandir: /etc/auto.master.d
lookup_read_master: lookup(file): read entry +auto.master
lookup_
do_init: parse(sun): init gathered global options: (null)
lookup(file): failed to read included master map auto.master
lookup_read_master: lookup(file): read entry /cifs
lookup_read_master: lookup(file): read entry +ldap:automount
lookup_
Segmentation fault (core dumped)
root@cosmic-
I'll check if that's still the case in debian. It's hard to imagine upstream autofs would have gone so long without fixing a basic ldap crash. The patch code isn't in upstream's git repo yet, so maybe it was fixed differently.
Andreas Hasenack (ahasenack) wrote : | # |
Ok, so two things:
a) d/rules was incorrectly calling dpkg-buildflags. Fix:
override_
- DONTSTRIP=1 LDFLAGS=
+ DONTSTRIP=1 LDFLAGS=
b) Even with that, -Bsymbolic-
The leak comes from KRB5_LIBS:
KRB5_LIBS=
Checking into that now.
Andreas Hasenack (ahasenack) wrote : | # |
$ krb5-config --libs
-L/usr/
fun
Christian Ehrhardt (paelzer) wrote : | # |
On Thu, Jun 7, 2018 at 4:21 PM, Andreas Hasenack <email address hidden>
wrote:
> $ krb5-config --libs
> -L/usr/
> -Wl,-z,relro -lkrb5 -lk5crypto -lcom_err
>
> fun
>
So is it a problem that it is "there" ?
Andreas Hasenack (ahasenack) wrote : | # |
The -Bsymbolic-
Andreas Hasenack (ahasenack) wrote : | # |
Yes, when -Bsymbolic-
I bet this is also the source of the segfaults I was seeing when autofs linked with tirpc. The segfault was happening inside such a module, and I couldn't figure out why certain variables were suddenly NULL pointers.
I'm not sure what to do here. -Bsymbolic-
Christian Ehrhardt (paelzer) wrote : | # |
>
> I'm not sure what to do here. -Bsymbolic-
> foundations decided upon 10 years ago (and debian hasn't adopted yet).
> Stripping it from krb5-config --libs seems a bit too hardcore. I'm not sure
> what's the intention of this flag anyway: why is it something good to have?
> Knowing that would be needed before submitting the lookup-ldap patch
> upstream.
>
>
IMHO: Talk to Doko or Infinity on this please.
Andreas Hasenack (ahasenack) wrote : | # |
I rebased and pushed again with the fix to the dpkg-buildflags call in d/rules, and added a note to the changelog. I'll update the ppa and retest. The ldap lookup patch is still there for this, though.
Andreas Hasenack (ahasenack) wrote : | # |
I added some notes to the DEP3 description of the fix-lookup-ldap patch as well, explaining why it is still needed.
Andreas Hasenack (ahasenack) wrote : | # |
Also emailed ubuntu-devel: https:/
Christian Ehrhardt (paelzer) wrote : | # |
so a and b essentially were due to the same issue.
Interesting.
I think you are as good as you can be on this now.
We don't have to wait for the answers on the compile details.
You can do another upload if that changes things tremendously.
Therefore IMHO approved
Andreas Hasenack (ahasenack) wrote : | # |
Thanks. Can you please tag and upload? I just tested again after all these changelog changes and the $$(dpkg-buildflags ...) fix and it's still working fine. The HEAD hash is 1f864fae211cee7
Andreas Hasenack (ahasenack) wrote : | # |
I got very useful replies in ubuntu-devel@. I will try to apply them and resubmit. Please disregard the request to push the upload tag and sponsor.
Andreas Hasenack (ahasenack) wrote : | # |
Please review again. Noteworthy changes:
- debian bug filed: https:/
- email sent to upstream: https:/
- switched to using DEB_LDFLAGS_
Christian Ehrhardt (paelzer) wrote : | # |
LGTM with the new fix now (how could I oppose my own change, well done :-) ).
I checked the buildlog of latest ppa upload you had with that change.
https:/
I still see it leaking for KRB5, but you told me that is not a problem.
Is that correct:
gcc -Wl,-z,relro -shared -g -O2 -fdebug-
lookup_ldap.c dclist.o base64.o cyrus-sasl.o cyrus-sasl-extern.o \
-Wl,-z,relro ../lib/autofs.a -lldap -llber -lresolv -lxml2 -lsasl2 -L/usr/
: lookup_ldap.so
Given the former explanations I take it as a yes (the old sed based change also had this and worked), but I wanted to be sure and ask.
Some minor changes to the changelog requested (two of them inline), fix them if you want - but +1 in general already.
Ask for sponsoring if needed, thanks!
Christian
Andreas Hasenack (ahasenack) wrote : | # |
Steve thinks that -Wl,-Bsymbolic-
Andreas Hasenack (ahasenack) wrote : | # |
Agreed about changelog, changes made, rebased and push forced. This is good to go, hash d9bfb75656065c9
Christian Ehrhardt (paelzer) wrote : | # |
Agreeing to the fixups and the krb5 explanation.
Christian Ehrhardt (paelzer) wrote : | # |
Tag pushed and after a final lintian run uploaded to cosmic.
Andreas Hasenack (ahasenack) wrote : | # |
Thanks. As usual, I'll check its migration.
Preview Diff
1 | diff --git a/debian/changelog b/debian/changelog |
2 | index 3bc4d72..5efc4bf 100644 |
3 | --- a/debian/changelog |
4 | +++ b/debian/changelog |
5 | @@ -1,3 +1,25 @@ |
6 | +autofs (5.1.2-3ubuntu1) cosmic; urgency=medium |
7 | + |
8 | + * Merge with Debian unstable (LP: #1775232). Remaining changes: |
9 | + - d/p/16group_buffer_size.patch |
10 | + - d/rules: Add LDFLAGS to avoid issues with accessing global variables in |
11 | + shared libraries (LP #1470687, LP #1472115). |
12 | + [Updated to use DEB_LDFLAGS_MAINT_STRIP instead of sed] |
13 | + - d/p/fix-lookup-ldap-crash.patch: fix crash on startup due to uninitialized |
14 | + config. (LP #1503034) |
15 | + [Updated DEP3 header with why this patch is still needed] |
16 | + * Dropped: |
17 | + - debian/rules: build with sssldir path |
18 | + [Adopted by Debian in 5.1.2-2] |
19 | + - d/p/fix-ssslib-search.patch - parts replaced by fix-sssldir.patch |
20 | + [Adopted by Debian in 5.1.2-2] |
21 | + * Added: |
22 | + - debian/patches/autofs-5.1.4-dont-allow-trailing-slash-in-master-map- |
23 | + mount-points.patch: Don't allow trailing slash in master map mount |
24 | + points. Thanks to: Ian Kent <raven@themaw.net>. Closes LP: #1754506. |
25 | + |
26 | + -- Andreas Hasenack <andreas@canonical.com> Tue, 05 Jun 2018 14:42:35 -0300 |
27 | + |
28 | autofs (5.1.2-3) unstable; urgency=medium |
29 | |
30 | * QA upload. |
31 | @@ -46,6 +68,38 @@ autofs (5.1.2-2) unstable; urgency=medium |
32 | |
33 | -- Laurent Bigonville <bigon@debian.org> Wed, 13 Dec 2017 10:28:56 +0100 |
34 | |
35 | +autofs (5.1.2-1ubuntu3) bionic; urgency=medium |
36 | + |
37 | + * Revert the previous change, as it introduced a segfault when using the |
38 | + builtin -hosts map. This will reopen #1101779. (LP: #1745817) |
39 | + |
40 | + -- Andreas Hasenack <andreas@canonical.com> Fri, 13 Apr 2018 16:29:51 -0300 |
41 | + |
42 | +autofs (5.1.2-1ubuntu2) bionic; urgency=medium |
43 | + |
44 | + * Fix IPv6 support by linking with libtirpc (LP: #1101779, Closes: #737679): |
45 | + - d/control: add libtirpc-dev to build-depends |
46 | + - d/rules: add --with-libtirpc to configure call |
47 | + Thanks to Stefan Potyra <sistpoty@ubuntu.com>. |
48 | + |
49 | + -- Andreas Hasenack <andreas@canonical.com> Wed, 24 Jan 2018 14:01:38 -0200 |
50 | + |
51 | +autofs (5.1.2-1ubuntu1) zesty; urgency=medium |
52 | + |
53 | + * Merge from Debian. Remaining changes: |
54 | + - debian/rules: build with sssldir path |
55 | + - d/p/fix-ssslib-search.patch |
56 | + - d/p/16group_buffer_size.patch |
57 | + - Add LDFLAGS to avoid issues with accessing global variables in shared |
58 | + libraries. |
59 | + - d/p/fix-lookup-ldap-crash.patch: fix crash on startup due to uninitialized |
60 | + config. |
61 | + * Drop changes: |
62 | + - Replace systemd service with upstart service; we have been on systemd |
63 | + since Xenial, so we should be fine to use the systemd service. |
64 | + |
65 | + -- Robie Basak <robie.basak@ubuntu.com> Thu, 16 Feb 2017 19:10:50 +0000 |
66 | + |
67 | autofs (5.1.2-1) unstable; urgency=medium |
68 | |
69 | * New upstream release [June 2016] (Closes: #846054). |
70 | @@ -57,6 +111,39 @@ autofs (5.1.2-1) unstable; urgency=medium |
71 | |
72 | -- Dmitry Smirnov <onlyjob@debian.org> Fri, 23 Dec 2016 10:34:46 +1100 |
73 | |
74 | +autofs (5.1.1-1ubuntu3) xenial; urgency=medium |
75 | + |
76 | + [ Malcolm Scott ] |
77 | + * d/p/fix-lookup-ldap-crash.patch: |
78 | + - Fix crash on startup due to uninitialized config. LP: #1503034 |
79 | + |
80 | + [ Michael Terry ] |
81 | + * d/p/fix-lookup-ldap-crash.patch: |
82 | + - Adjust above patch to be slightly more generic |
83 | + |
84 | + -- Michael Terry <mterry@ubuntu.com> Thu, 19 Nov 2015 17:31:09 -0500 |
85 | + |
86 | +autofs (5.1.1-1ubuntu2) wily; urgency=low |
87 | + |
88 | + * Add LDFLAGS to avoid issues with accessing global variables in |
89 | + shared libraries (LP: #1470687, LP: #1472115). |
90 | + |
91 | + -- Stefan Bader <stefan.bader@canonical.com> Tue, 07 Jul 2015 16:28:53 +0200 |
92 | + |
93 | +autofs (5.1.1-1ubuntu1) wily; urgency=low |
94 | + |
95 | + * Merge from Debian unstable. Remaining changes: |
96 | + - autofs.upstart script |
97 | + - debian/rules: build with sssldir path |
98 | + - d/p/fix-ssslib-search.patch - parts replaced by fix-sssldir.patch |
99 | + - d/p/16group_buffer_size.patch |
100 | + * Dropped patches: |
101 | + - CVE-2014-8169-add-a-prefix-to-program-map-stdvars.patch |
102 | + - CVE-2014-8169-add-config-option-to-force-use-of-program-map-stdvars.patch |
103 | + - lp1386869-fix-cant-automount-when--host-exist |
104 | + |
105 | + -- Chris J Arges <chris.j.arges@canonical.com> Mon, 06 Jul 2015 14:59:51 -0500 |
106 | + |
107 | autofs (5.1.1-1) unstable; urgency=low |
108 | |
109 | * New upstream release [April 2015]. |
110 | @@ -109,6 +196,42 @@ autofs (5.0.8-2) unstable; urgency=medium |
111 | |
112 | -- Dmitry Smirnov <onlyjob@debian.org> Thu, 19 Mar 2015 18:38:23 +1100 |
113 | |
114 | +autofs (5.0.8-1ubuntu3.1) vivid; urgency=medium |
115 | + |
116 | + * Fix mount issues when using '-host' in conf file. (LP: #1386869) |
117 | + |
118 | + -- Seyeong Kim <seyeong.kim@canonical.com> Tue, 28 Apr 2015 11:53:54 -0500 |
119 | + |
120 | +autofs (5.0.8-1ubuntu3) vivid; urgency=medium |
121 | + |
122 | + * SECURITY UPDATE: privilege escalation via interpreter load path |
123 | + - debian/patches/CVE-2014-8169-*.patch: add a prefix to program map |
124 | + stdvars and a config option to override it in include/mounts.h, |
125 | + lib/mounts.c, modules/lookup_program.c, modules/parse_sun.c, |
126 | + include/defaults.h, lib/defaults.c, modules/lookup_program.c, |
127 | + samples/autofs.conf.default.in, document changes in |
128 | + man/autofs.5, man/auto.master.5.in. |
129 | + - CVE-2014-8169 |
130 | + |
131 | + -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Fri, 20 Mar 2015 16:04:47 -0400 |
132 | + |
133 | +autofs (5.0.8-1ubuntu2) vivid; urgency=medium |
134 | + |
135 | + * Build with -fgnu89-inline. Closes: #777787. |
136 | + |
137 | + -- Matthias Klose <doko@ubuntu.com> Wed, 04 Mar 2015 20:29:34 +0100 |
138 | + |
139 | +autofs (5.0.8-1ubuntu1) utopic; urgency=low |
140 | + |
141 | + [ Greg Lutostanski ] |
142 | + * Merge from Debian unstable. (LP: #1351337) Remaining changes: |
143 | + - debian/autofs.upstart - upstart job |
144 | + - debian/patches/16group_buffer_size.patch: |
145 | + + prevents package to eat the cpu if you have large groups. |
146 | + - Add support for sssd backend |
147 | + |
148 | + -- Luke Yelavich <themuso@ubuntu.com> Tue, 05 Aug 2014 13:30:18 +1000 |
149 | + |
150 | autofs (5.0.8-1) unstable; urgency=low |
151 | |
152 | * New upstream release [October 2013] (Closes: #729023). |
153 | @@ -139,6 +262,49 @@ autofs (5.0.8-1) unstable; urgency=low |
154 | |
155 | -- Dmitry Smirnov <onlyjob@debian.org> Fri, 07 Mar 2014 12:52:31 +1100 |
156 | |
157 | +autofs (5.0.7-3ubuntu5) utopic; urgency=medium |
158 | + |
159 | + * Fix file descriptor leak when reloading daemon. (LP: #1316125) |
160 | + |
161 | + -- Rafael David Tinoco <rafael.tinoco@canonical.com> Thu, 15 May 2014 18:05:40 -0300 |
162 | + |
163 | +autofs (5.0.7-3ubuntu4) utopic; urgency=high |
164 | + |
165 | + * No change rebuild against new dh_installinit, to call update-rc.d at |
166 | + postinst. |
167 | + |
168 | + -- Dimitri John Ledkov <xnox@ubuntu.com> Wed, 28 May 2014 10:38:57 +0100 |
169 | + |
170 | +autofs (5.0.7-3ubuntu3) trusty; urgency=medium |
171 | + |
172 | + * fix-ssslib-search.patch: Don't skip sssd autofs search if presseded. |
173 | + * rules: set ssslibdir correctly when calling configure (LP: #1081489) |
174 | + |
175 | + -- Adam Conrad <adconrad@ubuntu.com> Sat, 05 Apr 2014 05:26:53 -0600 |
176 | + |
177 | +autofs (5.0.7-3ubuntu2) trusty; urgency=medium |
178 | + |
179 | + * Add support for sssd backend (LP: #1081489) |
180 | + - control: Add sssd-common to build-depends. |
181 | + - rules: Set sssldir for the sssd module so autoreconf knows about it. |
182 | + |
183 | + -- Timo Aaltonen <tjaalton@ubuntu.com> Fri, 31 Jan 2014 13:57:03 +0200 |
184 | + |
185 | +autofs (5.0.7-3ubuntu1) raring; urgency=low |
186 | + |
187 | + * Merge from Debian, remaining changes are: |
188 | + - debian/autofs.upstart - upstart job |
189 | + - debian/patches/16group_buffer_size.patch: |
190 | + + prevents package to eat the cpu if you have large groups. |
191 | + |
192 | + * Dropped changes, merged in Debian: |
193 | + - Add patch to fix nsswitch parser to accept nsswitch.conf without an |
194 | + automout stanza as valid file. (Closes: #602090) (LP: #488696) |
195 | + - debian/patches/0001-Remove-kernel-mount.nfs-version-checks-on-Debian-Ubu.patch: |
196 | + Remove kernel & mount.nfs version checks on Debian/Ubuntu. (LP: #1016673) |
197 | + |
198 | + -- Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com> Wed, 14 Nov 2012 11:50:43 +0000 |
199 | + |
200 | autofs (5.0.7-3) unstable; urgency=low |
201 | |
202 | * pidfile is in /var/run not /run: fix the initscript |
203 | @@ -225,6 +391,34 @@ autofs (5.0.6-3) unstable; urgency=low |
204 | |
205 | -- Michael Tokarev <mjt@tls.msk.ru> Sat, 25 Aug 2012 16:13:02 +0400 |
206 | |
207 | +autofs (5.0.6-2ubuntu2) quantal; urgency=low |
208 | + |
209 | + * Add patch to fix nsswitch parser to accept nsswitch.conf without an |
210 | + automout stanza as valid file. (Closes: #602090) (LP: #488696) |
211 | + |
212 | + -- Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com> Wed, 12 Sep 2012 17:18:24 +0100 |
213 | + |
214 | +autofs (5.0.6-2ubuntu1) quantal; urgency=low |
215 | + |
216 | + * Merge from Debian unstable (LP: #1006509), remaining changes: |
217 | + - debian/autofs.upstart - upstart job |
218 | + - debian/patches/16group_buffer_size.patch: |
219 | + + prevents package to eat the cpu if you have large groups. |
220 | + |
221 | + * Dropped changes: |
222 | + - 17ld.patch, applied in debian as link-daemon-with-lpthread.patch |
223 | + and save-hesiod-libs-correctly.patch |
224 | + |
225 | + * This upload renames autofs5 back to autofs, following debian's name |
226 | + change. |
227 | + |
228 | + * Added patch descriptions/headers to 16group_buffer_size |
229 | + |
230 | + * debian/patches/0001-Remove-kernel-mount.nfs-version-checks-on-Debian-Ubu.patch: |
231 | + Remove kernel & mount.nfs version checks on Debian/Ubuntu. (LP: #1016673) |
232 | + |
233 | + -- Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com> Wed, 20 Jun 2012 12:34:50 +0100 |
234 | + |
235 | autofs (5.0.6-2) unstable; urgency=low |
236 | |
237 | [Dmitry Smirnov] |
238 | @@ -310,6 +504,116 @@ autofs (5.0.6-1) unstable; urgency=low |
239 | |
240 | -- Dmitry Smirnov <onlyjob@member.fsf.org> Mon, 23 Apr 2012 00:30:51 +1000 |
241 | |
242 | +autofs5 (5.0.6-0ubuntu5) precise; urgency=low |
243 | + |
244 | + * d/autofs5.autofs.upstart: Drop wait-for-state from configuration as |
245 | + waiting for NIS to start is already handled in the NIS package by |
246 | + the start-ypbind upstart configuration which supports autofs |
247 | + (LP: #958704). |
248 | + |
249 | + -- James Page <james.page@ubuntu.com> Thu, 22 Mar 2012 11:02:03 +0000 |
250 | + |
251 | +autofs5 (5.0.6-0ubuntu4) precise; urgency=low |
252 | + |
253 | + * d/autofs5.autofs.upstart: Wait for NIS if it is installed. Also |
254 | + use the more generic runlevel event to start (LP: #573919) |
255 | + * d/control: Depend on upstart >= 0.9.7-2 since we rely on wait-for-state. |
256 | + |
257 | + -- Clint Byrum <clint@ubuntu.com> Fri, 09 Mar 2012 16:47:40 -0800 |
258 | + |
259 | +autofs5 (5.0.6-0ubuntu3) precise; urgency=low |
260 | + |
261 | + * debian/rules: |
262 | + - Don't strip symbols during the build; let dh_strip turn them into dbgsym |
263 | + packages instead. Thanks, Adam Stokes! (LP: #924002) |
264 | + |
265 | + -- Christopher James Halse Rogers <christopher.halse.rogers@canonical.com> Fri, 17 Feb 2012 11:59:50 +1100 |
266 | + |
267 | +autofs5 (5.0.6-0ubuntu2) oneiric; urgency=low |
268 | + |
269 | + * debian/patches/non-ipv6-hostname-lookups.patch: Resolve regression of not |
270 | + being able to lookup non IPv6 hostnames, patch courtesy of upstream. |
271 | + (LP: #810397) |
272 | + * debian/control: |
273 | + - Removed dpatch from build-dep as package is now using |
274 | + quilt to handle patches. |
275 | + - Bumped standards to 3.9.2, no changes required. |
276 | + * debian/rules: Added targets build-arch & build-indep to satisfy lintian. |
277 | + |
278 | + -- Dave Walker (Daviey) <DaveWalker@ubuntu.com> Thu, 14 Jul 2011 12:38:56 +0100 |
279 | + |
280 | +autofs5 (5.0.6-0ubuntu1) oneiric; urgency=low |
281 | + |
282 | + * New upstream release: |
283 | + - Dropped upstream patches |
284 | + - Refreshed debian/patches/17ld.patch. |
285 | + |
286 | + -- Chuck Short <zulcss@ubuntu.com> Sun, 03 Jul 2011 14:35:46 -0400 |
287 | + |
288 | +autofs5 (5.0.5-0ubuntu7) oneiric; urgency=low |
289 | + |
290 | + * Refresh upstream patches. |
291 | + * Convert to dpkg-source 3.0 quilt format. |
292 | + |
293 | + -- Chuck Short <zulcss@ubuntu.com> Fri, 27 May 2011 09:21:06 -0400 |
294 | + |
295 | +autofs5 (5.0.5-0ubuntu6) natty; urgency=low |
296 | + |
297 | + * Remove mounting TYPE=nfs from start conditions, change to |
298 | + start on filesystem and started networking to still solve |
299 | + bug 733914 as well. (LP: #752730) |
300 | + * Re-add sourcing of /etc/default/autofs to get OPTIONS so |
301 | + upgrades won't lose their settings. |
302 | + |
303 | + -- Clint Byrum <clint@ubuntu.com> Sat, 09 Apr 2011 22:48:03 -0700 |
304 | + |
305 | +autofs5 (5.0.5-0ubuntu5) natty; urgency=low |
306 | + |
307 | + * Improve autofs.conf upstart script. Prevent race |
308 | + when trying to start networking. (LP: #733914) |
309 | + * debian/autofs5-ldap.install: Install schema in the right place. |
310 | + (LP: #699855) |
311 | + * Suggest smbfs if you want to use cifs. (LP: #579857) |
312 | + * Dropped 13ldap_module_linkage.dpatch no longer needed. |
313 | + * Refresh with missing upstream patches. |
314 | + |
315 | + -- Chuck Short <zulcss@ubuntu.com> Sat, 02 Apr 2011 22:25:34 -0400 |
316 | + |
317 | +autofs5 (5.0.5-0ubuntu4) natty; urgency=low |
318 | + |
319 | + * Add missing space to autofs.conf which was stopping autofs job |
320 | + from ending at shutdown (LP:#718664). |
321 | + |
322 | + -- James Hunt <james.hunt@ubuntu.com> Mon, 14 Feb 2011 11:01:18 +0000 |
323 | + |
324 | +autofs5 (5.0.5-0ubuntu3) natty; urgency=low |
325 | + |
326 | + * Fix FTBFS with ld --no-add-needed. |
327 | + |
328 | + -- Matthias Klose <doko@ubuntu.com> Fri, 07 Jan 2011 15:40:32 +0100 |
329 | + |
330 | +autofs5 (5.0.5-0ubuntu2) maverick; urgency=low |
331 | + |
332 | + [Joel Ebel] |
333 | + * debian/patches/16group_buffer_size.patch: Increase group buffer size |
334 | + geometrically rather than linearly when its found to be small. |
335 | + (LP: #591100) |
336 | + |
337 | + [Chuck Short] |
338 | + * debian/control: Fix conflict resolution. (LP: #520601) |
339 | + |
340 | + -- Chuck Short <zulcss@ubuntu.com> Wed, 30 Jun 2010 08:06:45 -0400 |
341 | + |
342 | +autofs5 (5.0.5-0ubuntu1) maverick; urgency=low |
343 | + |
344 | + * New upstream version: |
345 | + - Dropped 10lsb_initscript.dpatch since we dont ship an init script. |
346 | + - Fast forward through the upstream patches until 2010/06/21. |
347 | + - Clean up lintian warnings. |
348 | + - Bump to standards version 3.8.4. |
349 | + |
350 | + -- Chuck Short <zulcss@ubuntu.com> Mon, 21 Jun 2010 11:02:50 -0400 |
351 | + |
352 | autofs5 (5.0.4-3.2) unstable; urgency=low |
353 | |
354 | * Non-maintainer upload. |
355 | @@ -318,6 +622,44 @@ autofs5 (5.0.4-3.2) unstable; urgency=low |
356 | |
357 | -- Holger Levsen <holger@debian.org> Sun, 14 Nov 2010 16:48:23 +0000 |
358 | |
359 | +autofs5 (5.0.4-3.1ubuntu5) lucid; urgency=low |
360 | + |
361 | + FFE LP: #533029 |
362 | + |
363 | + * Replace init script with Upstart job: |
364 | + - debian/rules, debian/autofs5.autofs.upstart: Add upstart job. |
365 | + |
366 | + -- Chuck Short <zulcss@ubuntu.com> Mon, 12 Apr 2010 08:56:32 -0400 |
367 | + |
368 | +autofs5 (5.0.4-3.1ubuntu4) lucid; urgency=low |
369 | + |
370 | + * debian/control: Update maintainer. |
371 | + |
372 | + -- Chuck Short <zulcss@ubuntu.com> Tue, 09 Feb 2010 09:39:56 -0500 |
373 | + |
374 | +autofs5 (5.0.4-3.1ubuntu3) lucid; urgency=low |
375 | + |
376 | + * debian/control: correctly define transitional packages for autofs, |
377 | + autofs-ldap and autofs-hesiod (LP: #519119) |
378 | + |
379 | + -- Andrew Pollock <apollock@debian.org> Mon, 08 Feb 2010 22:38:34 -0800 |
380 | + |
381 | +autofs5 (5.0.4-3.1ubuntu2) lucid; urgency=low |
382 | + |
383 | + * debian/control: Provide a transitional package for upgrade from |
384 | + autofs4 to autofs5. |
385 | + |
386 | + -- Chuck Short <zulcss@ubuntu.com> Thu, 04 Feb 2010 14:32:00 -0500 |
387 | + |
388 | +autofs5 (5.0.4-3.1ubuntu1) lucid; urgency=low |
389 | + |
390 | + * Merge from debian testing. Remaining changes: |
391 | + - Removed experimental tag. |
392 | + - Dropped Ubuntu fix for permissions of /etc/autofs_ldap_auth.conf in |
393 | + favor of Debian's. |
394 | + |
395 | + -- Chuck Short <zulcss@ubuntu.com> Fri, 29 Jan 2010 06:13:19 +0000 |
396 | + |
397 | autofs5 (5.0.4-3.1) unstable; urgency=low |
398 | |
399 | * Non-maintainer upload. |
400 | @@ -326,6 +668,18 @@ autofs5 (5.0.4-3.1) unstable; urgency=low |
401 | |
402 | -- Patrick Winnertz <winnie@debian.org> Sat, 23 Jan 2010 14:54:16 +0100 |
403 | |
404 | +autofs5 (5.0.4-3ubuntu2) lucid; urgency=low |
405 | + |
406 | + * debian/rules: Fix permissions of /etc/autofs_ldap_auth.conf. (LP: #368715) |
407 | + |
408 | + -- Chuck Short <zulcss@ubuntu.com> Thu, 07 Jan 2010 15:45:55 -0500 |
409 | + |
410 | +autofs5 (5.0.4-3ubuntu1) lucid; urgency=low |
411 | + |
412 | + * debian/control: Removed experimental tag |
413 | + |
414 | + -- Chuck Short <zulcss@ubuntu.com> Mon, 14 Dec 2009 14:39:24 -0500 |
415 | + |
416 | autofs5 (5.0.4-3) unstable; urgency=low |
417 | |
418 | * Fix LSB initscript header to use keywords that |
419 | diff --git a/debian/control b/debian/control |
420 | index bf3c1b9..c831128 100644 |
421 | --- a/debian/control |
422 | +++ b/debian/control |
423 | @@ -1,7 +1,8 @@ |
424 | Source: autofs |
425 | Section: utils |
426 | Priority: optional |
427 | -Maintainer: Debian QA Group <packages@qa.debian.org> |
428 | +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> |
429 | +XSBC-Original-Maintainer: Debian QA Group <packages@qa.debian.org> |
430 | Standards-Version: 4.1.2 |
431 | Build-Depends: debhelper (>= 9.20160709), autoconf, |
432 | bison, |
433 | diff --git a/debian/patches/16group_buffer_size.patch b/debian/patches/16group_buffer_size.patch |
434 | new file mode 100644 |
435 | index 0000000..135994b |
436 | --- /dev/null |
437 | +++ b/debian/patches/16group_buffer_size.patch |
438 | @@ -0,0 +1,18 @@ |
439 | +Author: Joel Ebel <jbebel@google.com> |
440 | +Bug-Ubuntu: https://launchpad.net/bugs/591100 |
441 | +Description: Increase group buffer size geometrically rather than |
442 | +linearly when its found to be small. |
443 | +. |
444 | +This prevents package to eat the cpu if you have large groups. |
445 | + |
446 | +--- a/lib/mounts.c |
447 | ++++ b/lib/mounts.c |
448 | +@@ -1245,7 +1245,7 @@ |
449 | + status = getgrgid_r(gid, pgr, gr_tmp, tmplen, ppgr); |
450 | + if (status != ERANGE) |
451 | + break; |
452 | +- tmplen += grplen; |
453 | ++ tmplen *= 2; |
454 | + } |
455 | + |
456 | + if (status || !pgr) { |
457 | diff --git a/debian/patches/autofs-5.1.4-dont-allow-trailing-slash-in-master-map-mount-points.patch b/debian/patches/autofs-5.1.4-dont-allow-trailing-slash-in-master-map-mount-points.patch |
458 | new file mode 100644 |
459 | index 0000000..ca21037 |
460 | --- /dev/null |
461 | +++ b/debian/patches/autofs-5.1.4-dont-allow-trailing-slash-in-master-map-mount-points.patch |
462 | @@ -0,0 +1,29 @@ |
463 | +Description: Don't allow trailing slash in master map mount points |
464 | + If a master map mount point path has a trailing '/' this can cause |
465 | + problems so remove them at parse time. |
466 | +Author: From: Ian Kent <raven@themaw.net> |
467 | +Origin: upstream, https://git.kernel.org/pub/scm/linux/storage/autofs/autofs.git/commit/?id=37dd05dd1bccdedc4157902420e1da506b2bf35f |
468 | +Bug-Debian: https://bugs.debian.org/900933 |
469 | +Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1754506 |
470 | +Last-Update: 2018-06-05 |
471 | +--- a/lib/master_parse.y |
472 | ++++ b/lib/master_parse.y |
473 | +@@ -749,6 +749,7 @@ |
474 | + struct map_source *source; |
475 | + unsigned int logopt = logging; |
476 | + unsigned int m_logopt = master->logopt; |
477 | ++ size_t mp_len; |
478 | + int ret; |
479 | + |
480 | + local_init_vars(); |
481 | +@@ -763,6 +764,10 @@ |
482 | + return 0; |
483 | + } |
484 | + |
485 | ++ mp_len = strlen(path); |
486 | ++ while (mp_len && path[--mp_len] == '/') |
487 | ++ path[mp_len] = 0; |
488 | ++ |
489 | + nc = master->nc; |
490 | + |
491 | + /* Add null map entries to the null map cache */ |
492 | diff --git a/debian/patches/fix-lookup-ldap-crash.patch b/debian/patches/fix-lookup-ldap-crash.patch |
493 | new file mode 100644 |
494 | index 0000000..5420934 |
495 | --- /dev/null |
496 | +++ b/debian/patches/fix-lookup-ldap-crash.patch |
497 | @@ -0,0 +1,28 @@ |
498 | +Description: Fix segfault in lookup_ldap initialisation |
499 | + lib/defaults.c doesn't initialise the config cache before lookup_ldap |
500 | + attempts to read from it. |
501 | + . |
502 | + <andreas> lookup_ldap is the only module that is still built and linked |
503 | + using -Bsymbolic-functions. d/rules tries to strip that option out of |
504 | + LDFLAGS, but it leaks back in via $(krb5-config --libs) when lookup_ldap |
505 | + is built. |
506 | +Author: Malcolm Scott <debianpkg@malc.org.uk> |
507 | +Bug-Debian: https://bugs.debian.org/901344 |
508 | +Bug-Ubuntu: https://bugs.launchpad.net/bugs/1503034 |
509 | + |
510 | +Index: autofs-5.1.1/modules/lookup_ldap.c |
511 | +=================================================================== |
512 | +--- autofs-5.1.1.orig/modules/lookup_ldap.c |
513 | ++++ autofs-5.1.1/modules/lookup_ldap.c |
514 | +@@ -1665,6 +1665,11 @@ int lookup_init(const char *mapfmt, int |
515 | + ctxt->check_defaults = 1; |
516 | + } |
517 | + |
518 | ++ if (!defaults_read_config(0)) { |
519 | ++ free_context(ctxt); |
520 | ++ return 1; |
521 | ++ } |
522 | ++ |
523 | + ctxt->timeout = defaults_get_ldap_timeout(); |
524 | + ctxt->network_timeout = defaults_get_ldap_network_timeout(); |
525 | + |
526 | diff --git a/debian/patches/series b/debian/patches/series |
527 | index ba5598e..6e57a85 100644 |
528 | --- a/debian/patches/series |
529 | +++ b/debian/patches/series |
530 | @@ -7,3 +7,9 @@ fix-ssslib-search.patch |
531 | remove-kernel-mount.nfs-version-check.patch |
532 | fix-autofsconf-manpage-section.patch |
533 | fix-autofs-manpage-whatis.patch |
534 | +# |
535 | +# Ubuntu patches |
536 | +# |
537 | +16group_buffer_size.patch |
538 | +fix-lookup-ldap-crash.patch |
539 | +autofs-5.1.4-dont-allow-trailing-slash-in-master-map-mount-points.patch |
540 | diff --git a/debian/rules b/debian/rules |
541 | index d472b28..69cd455 100755 |
542 | --- a/debian/rules |
543 | +++ b/debian/rules |
544 | @@ -3,6 +3,11 @@ |
545 | # Uncomment this to turn on verbose mode. |
546 | #export DH_VERBOSE=1 |
547 | DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) |
548 | +# Taken from #1636781 as it's the same problem here. Also see |
549 | +# https://lists.ubuntu.com/archives/ubuntu-devel/2018-June/040369.html |
550 | +ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes) |
551 | + export DEB_LDFLAGS_MAINT_STRIP = -Wl,-Bsymbolic-functions |
552 | +endif |
553 | |
554 | %: |
555 | dh $@ --with systemd |
Started review and added generic server-team review slot to show up in our overview