This bug appears to be fixed upstream:
diff -Naur rpm-4.4.1/lib/rpmlock.c rpm-4.4.2.2/lib/rpmlock.c
--- rpm-4.4.1/lib/rpmlock.c 2005-01-26 08:41:43.000000000 -0500
+++ rpm-4.4.2.2/lib/rpmlock.c 2007-09-11 02:28:15.000000000 -0400
@@ -37,9 +37,9 @@
/* XXX oneshot to determine path for fcntl lock. */
if (rpmlock_path == NULL) {
- char * t = rpmExpand(rpmlock_path_default, NULL);
+ char * t = rpmGenPath(rootdir, rpmlock_path_default, NULL);
if (t == NULL || *t == '\0' || *t == '%')
- t = RPMLOCK_PATH;
+ t = strdup(RPMLOCK_PATH);
rpmlock_path = xstrdup(t);
t = _free(t);
}
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]