(Ubuntu 16.04) automount 5.1.1 hardcoding libraries
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autofs (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Unable to use ld.conf methods (LD_LIBRARY_PATH, LD_PRELOAD) to locate modules.
Context: HP ThinPro 7.1 Service Pack 8 (latest) is still based on Ubuntu 16.04 LTS
Use Case: Thin Client -- HP will not allow Customers to install anything to OS
partition, e.g. to /usr. automount installed from Canonical's repository but to
/usr on a flash drive e.g. /media/
the string: /usr/lib/
does not search /media/
Source Package:
* http://
* http://
Release:
Description: ThinPro 7.1.0
Release: 7.1.0
Binary Package:
Package: autofs (5.1.1-1ubuntu3) autofs_
* http://
Expected Behaviour:
Setting LD_LIBRARY_
overriding compiled location of modules so that automount works correctly.
Actual Behaviour:
automount fails to find its modules:
Code:
# /media/
Linux automount version 5.1.1
Directories:
config dir: /etc/default
maps dir: /etc
modules dir: /usr/lib/
Compile options:
ENABLE_
WITH_LDAP WITH_SASL LIBXML2_WORKAROUND
# ldd /media/
libdl.so.2 => /lib/x86_
libxml2.so.2 => /usr/lib/
libc.so.6 => /lib/x86_
libz.so.1 => /lib/x86_
liblzma.so.5 => /lib/x86_
libm.so.6 => /lib/x86_
# LD_DEBUG=files LD_PRELOAD=
9852: WARNING: Unsupported flag value(s) of 0x8000000 in DT_FLAGS_1.
9852: file=/media/
9852: file=/media/
9852: dynamic: 0x00007f1737094d18 base: 0x00007f1736e68000 size: 0x000000000022f870
9852: entry: 0x00007f1736e70f00 phdr: 0x00007f1736e68040 phnum: 7
9852:
9852: file=libpthread
9852: file=libpthread
9852: dynamic: 0x00007f1736e5fd50 base: 0x00007f1736c48000 size: 0x000000000021c428
9852: entry: 0x00007f1736c4e0b0 phdr: 0x00007f1736c48040 phnum: 9
9852:
9852: file=libdl.so.2 [0]; needed by /media/
9852: file=libdl.so.2 [0]; generating link map
9852: dynamic: 0x00007f1736c42d88 base: 0x00007f1736a40000 size: 0x00000000002030f0
9852: entry: 0x00007f1736a40da0 phdr: 0x00007f1736a40040 phnum: 7
9852:
9852: file=libxml2.so.2 [0]; needed by /media/
9852: file=libxml2.so.2 [0]; generating link map
9852: dynamic: 0x00007f1736a37808 base: 0x00007f1736680000 size: 0x00000000003ba9b8
9852: entry: 0x00007f17366ad6f0 phdr: 0x00007f1736680040 phnum: 7
9852:
9852: file=libc.so.6 [0]; needed by /media/
9852: file=libc.so.6 [0]; generating link map
9852: dynamic: 0x00007f1736673ba0 base: 0x00007f17362b0000 size: 0x00000000003c99a0
9852: entry: 0x00007f17362d0950 phdr: 0x00007f17362b0040 phnum: 10
9852:
9852: file=libicuuc.so.55 [0]; needed by /usr/lib/
9852: file=libicuuc.so.55 [0]; generating link map
9852: dynamic: 0x00007f17362a6ae0 base: 0x00007f1735f18000 size: 0x0000000000393b20
9852: entry: 0x00007f1735f6d4d0 phdr: 0x00007f1735f18040 phnum: 7
9852:
9852: file=libz.so.1 [0]; needed by /usr/lib/
9852: file=libz.so.1 [0]; generating link map
9852: dynamic: 0x00007f1735f10dd0 base: 0x00007f1735cf8000 size: 0x0000000000219128
9852: entry: 0x00007f1735cf9db0 phdr: 0x00007f1735cf8040 phnum: 7
9852:
9852: file=liblzma.so.5 [0]; needed by /usr/lib/
9852: file=liblzma.so.5 [0]; generating link map
9852: dynamic: 0x00007f1735cf1dc0 base: 0x00007f1735ad0000 size: 0x0000000000222078
9852: entry: 0x00007f1735ad2090 phdr: 0x00007f1735ad0040 phnum: 7
9852:
9852: file=libm.so.6 [0]; needed by /usr/lib/
9852: file=libm.so.6 [0]; generating link map
9852: dynamic: 0x00007f1735ac7d88 base: 0x00007f17357c0000 size: 0x00000000003080f8
9852: entry: 0x00007f17357c5600 phdr: 0x00007f17357c0040 phnum: 7
9852:
9852: file=libicudata
9852: file=libicudata
9852: dynamic: 0x00007f17357bddf0 base: 0x00007f1733d08000 size: 0x0000000001ab6010
9852: entry: 0x00007f1733d08530 phdr: 0x00007f1733d08040 phnum: 6
9852:
9852: file=libstdc++.so.6 [0]; needed by /usr/lib/
9852: file=libstdc++.so.6 [0]; generating link map
9852: dynamic: 0x00007f1733cfad50 base: 0x00007f1733980000 size: 0x0000000000381400
9852: entry: 0x00007f1733a09d20 phdr: 0x00007f1733980040 phnum: 8
9852:
9852: file=libgcc_s.so.1 [0]; needed by /usr/lib/
9852: file=libgcc_s.so.1 [0]; generating link map
9852: dynamic: 0x00007f173397d2b0 base: 0x00007f1733768000 size: 0x0000000000215910
9852: entry: 0x00007f173376aa70 phdr: 0x00007f1733768040 phnum: 6
9852:
9852: calling init: /lib/x86_
9852: calling init: /lib/x86_
9852: calling init: /lib/x86_
9852: calling init: /lib/x86_
9852: calling init: /usr/lib/
9852: calling init: /usr/lib/
9852: calling init: /lib/x86_
9852: calling init: /lib/x86_
9852: calling init: /lib/x86_
9852: calling init: /usr/lib/
9852: calling init: /usr/lib/
9852: calling init: /media/
9852: initialize program: /media/
9852: transferring control: /media/
Starting automounter version 5.1.1, master map /etc/auto.master
using kernel protocol version 5.05
9852: file=libxml2.so [0]; dynamically loaded by /media/
9852: opening file=/usr/
lookup_
9852: file=/usr/
open_lookup:93: cannot open lookup module file (/usr/lib/
cannot open shared object file: No such file or directory)
no mounts in table
Resolution Requested:
If this cannot be accepted as a bug, pointers to a work around given restrictions placed by HP and that all Linux machines here are thin clients and not development environments.
Thank you.
tags: | added: server-triage-discuss |
tags: | removed: server-triage-discuss |
NTAC:3NS-20
Thanks you Christian, much appreciated.
Mike Jackson /northerntrust. webex.com/ meet/mj162
"When I am old, I shall wear purple" - Jenny Joseph
NTGS SE, 9/17/H, 50 Bank Street, LONDON E14 5NT | o: +44 207 982 2437 |
m: +44 7305 745 110 | WebEx: 146 663 9578
https:/
Northern Trust Global Services SE. Registered in Luxembourg under number
B232281. Registered office: 10 Rue du Château d'Eau, L-3364 Leudelange,
Grand-Duché de Luxembourg. Authorised by the European Central Bank and
subject to the prudential supervision of the European Central Bank and
the Luxembourg Commission de Surveillance du Secteur Financier.
Authorised and regulated by the Financial Conduct Authority in the
conduct of its UK depositary activities.
Please read our Privacy Notice to learn about how we use the personal
information you provide and the rights you have in relation to it.
-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
Christian Ehrhardt ?
Sent: 14 August 2020 11:19
To: Michael Jackson
Subject: [EXT] [Bug 1891551] Re: (Ubuntu 16.04) automount 5.1.1
hardcoding libraries
This email originated from outside the organization. Do not click links
or open attachments unless you have verified this email is legitimate.
** Tags added: server- triage- discuss
-- /urldefense. com/v3/ __https: //bugs. launchpad. net/bugs/ 1891551_ _;!! excnLvcfhw8yDe_ Kr6ImXZJd8vxnBJ 6vQUB6MScag3e3W 3svYe7Q5HOM6 /urldefense. com/v3/ __https: /bugs.launchpad .net/bugs/ 1891551_ _;!! excnLvcfhw8yDe_ Kr6ImXZJd8vxnBJ 6vQUB6MScag3e3W 3svYe7Q5HOM6
You received this bug notification because you are subscribed to the bug
report.
https:/
Oe2TtrU3ZNiRdQ!
5nBxQ$
<https:/
Oe2TtrU3ZNiRdQ!
5nBxQ$>
Title:
(Ubuntu 16.04) automount 5.1.1 hardcoding libraries
Status in autofs package in Ubuntu:
New
Bug description:
Unable to use ld.conf methods (LD_LIBRARY_PATH, LD_PRELOAD) to locate
modules.
Context: HP ThinPro 7.1 Service Pack 8 (latest) is still based on GenericFlash_ sdb1/usr
Ubuntu 16.04 LTS
Use Case: Thin Client -- HP will not allow Customers to install
anything to OS
partition, e.g. to /usr. automount installed from Canonical's
repository but to
/usr on a flash drive e.g. /media/
the string: /usr/lib/ x86_64- linux-gnu/ autofs appears in the binary. GenericFlash_ sdb1/usr defined with
automount
does not search /media/
LD_LIBRARY_PATH.
Source Package: /urldefense. com/v3/ __http: //archive. ubuntu. com/ubuntu/ pool/main/ a autofs_ 5.1.1.orig. tar.gz_ _;!!Oe2TtrU3ZNi RdQ!excnLvcfhw8 yDe_Kr6Im 6MScag3e3W3svYe 7Q5HMJx9nSug$ /urldefense. com/v3/ __http: /archive. ubuntu. com/ubuntu/ pool/main/ a autofs_ 5.1.1.orig. tar.gz_ _;!!Oe2TtrU3ZNi RdQ!excnLvcfhw8 yDe_Kr6Im 6MScag3e3W3svYe 7Q5HMJx9nSug$ > /urldefense. com/v3/ __http: //archive. ubuntu. com/ubuntu/ pool/main/ a autofs_ 5.1.1-1ubuntu3. debian. tar.xz_ _;!!Oe2TtrU3ZNi RdQ!excnLvcfh 8vxnBJ6vQUB6MSc ag3e3W3svYe7Q5H MFJn2LCQ$ /urldefense. com/v3/ __http: /archive. ubuntu. com/ubuntu/ pool/main/ a autofs_ 5.1.1-1ubuntu3. debian. tar.xz_ _;!!Oe2TtrU3ZNi RdQ!excnLvcfh 8vxnBJ6vQUB6MSc ag3e3W3svYe7Q5H MFJn2LCQ$ >
*
https:/
/autofs/
XZJd8vxnBJ6vQUB
<https:/
/autofs/
XZJd8vxnBJ6vQUB
*
https:/
/autofs/
w8yDe_Kr6ImXZJd
<https:/
/autofs/
w8yDe_Kr6ImXZJd
Release:...