[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
mach success!
- From: John Dalbec <jpdalbec ysu edu>
- To: fedora-legacy-list redhat com
- Cc: thomas apestaart org
- Subject: mach success!
- Date: Thu, 04 Mar 2004 09:13:27 -0500
I managed to create an rh72u buildroot on rh80 by liberal use of
# export LD_PRELOAD=/lib/libnss_files.so.2; apt-get -c
/var/lib/mach/states/.../apt.conf -f install ...
to work around the GLIBC version problems
apt-get: relocation error: /lib/libnss_files.so.2: symbol
_nss_files_parse_{pw,gr}ent, version GLIBC_2.0 not defined in file libc.so.6
with link time reference
which would occur every time an RPM script would invoke useradd or groupadd.
I suppose the following patch would also work (untested):
--- mach-helper.c.orig 2003-12-11 11:55:54.000000000 -0500
+++ mach-helper.c 2004-03-04 08:58:28.000000000 -0500
@@ -123,6 +123,7 @@
/* do not trust user environment */
char *env[] = { "PATH=/bin:/usr/bin:/usr/sbin",
"HOME=/root",
+ "LD_PRELOAD=/lib/libnss_files.so.2",
NULL };
int retval;
char **arg;
Is there a mach-specific mailing list I should be writing to? (I've cc:ed
Thomas on this message.)
Thanks,
John
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]