Re: authbind (LD_PRELOAD) and multiarch

2011-12-23 Thread Vincent Danjean
Le 23/12/2011 00:06, Osamu Aoki a écrit : Hi, On Thu, Dec 22, 2011 at 08:01:24PM +0100, Goswin von Brederlow wrote: ... This came up before for plugins, e.g. support for inputing japanese or chinese characters. If the input plugin is installed for one architecture it should be installed for

Re: authbind (LD_PRELOAD) and multiarch

2011-12-23 Thread Jonathan Nieder
Osamu Aoki wrote: Also, for such input method plugins, we have a hook and configuration script im-config to initialize such input method environment while starting X. Could you spell this out more? What environment variables will im-config set that include architecture names? Which

Re: authbind (LD_PRELOAD) and multiarch

2011-12-22 Thread Goswin von Brederlow
Ian Jackson ijack...@chiark.greenend.org.uk writes: Goswin von Brederlow writes (Re: authbind (LD_PRELOAD) and multiarch): Raphael Hertzog hert...@debian.org writes: What does fakeroot do? My first idea would be to fail early and provide a useful error message. fake(ch)root sets

Re: authbind (LD_PRELOAD) and multiarch

2011-12-22 Thread Osamu Aoki
Hi, On Thu, Dec 22, 2011 at 08:01:24PM +0100, Goswin von Brederlow wrote: ... This came up before for plugins, e.g. support for inputing japanese or chinese characters. If the input plugin is installed for one architecture it should be installed for all architectures (the plugin using library

Re: authbind (LD_PRELOAD) and multiarch

2011-12-21 Thread Goswin von Brederlow
Raphael Hertzog hert...@debian.org writes: On Mon, 12 Dec 2011, Ian Jackson wrote: * I will need to arrange for the same LD_PRELOAD setting to load the correct libauthbind for each arch. So I guess I do LD_PRELOAD=libauthbind.so.1 rather than supplying an absolute path, and trust

Re: authbind (LD_PRELOAD) and multiarch

2011-12-21 Thread Ian Jackson
Goswin von Brederlow writes (Re: authbind (LD_PRELOAD) and multiarch): Raphael Hertzog hert...@debian.org writes: What does fakeroot do? My first idea would be to fail early and provide a useful error message. fake(ch)root sets LD_PRELOAD=lib.so and LD_LIBRARY_PATH=/usr/lib/fakeroot:/usr

authbind (LD_PRELOAD) and multiarch

2011-12-12 Thread Ian Jackson
I'm maintainer and upstream for authbind, which is a set-id helper to permit and control the binding of low ports by unprivileged programs, with an LD_PRELOAD wrapper so it can be used by naive callers which just expect to call bind. I would like some advice about how to do multiarch support for

Re: authbind (LD_PRELOAD) and multiarch

2011-12-12 Thread Raphael Hertzog
On Mon, 12 Dec 2011, Ian Jackson wrote: * I will need to arrange for the same LD_PRELOAD setting to load the correct libauthbind for each arch. So I guess I do LD_PRELOAD=libauthbind.so.1 rather than supplying an absolute path, and trust ld.so to get the right one out of

Re: authbind (LD_PRELOAD) and multiarch

2011-12-12 Thread Raphael Hertzog
On Mon, 12 Dec 2011, Raphael Hertzog wrote: To best avoid transitional problems I guess piece 2 should go into authbind (Multi-arch: same; Depends: authbind-support) and pieces 1 and 3 would in authbind-support (Multi-arch: foreign; no dependency). But I'm not sure. Yes. Hum, in fact,

Re: authbind (LD_PRELOAD) and multiarch [and 1 more messages]

2011-12-12 Thread Ian Jackson
Raphael Hertzog writes (Re: authbind (LD_PRELOAD) and multiarch): On Mon, 12 Dec 2011, Ian Jackson wrote: * I will need to arrange for the same LD_PRELOAD setting to load the correct libauthbind for each arch. So I guess I do LD_PRELOAD=libauthbind.so.1 rather than supplying