summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'util-vserver/patches/0.30.210-r15/util-vserver-0.30.210-rpm-fake-resolver-badperm.patch')
-rw-r--r--util-vserver/patches/0.30.210-r15/util-vserver-0.30.210-rpm-fake-resolver-badperm.patch15
1 files changed, 0 insertions, 15 deletions
diff --git a/util-vserver/patches/0.30.210-r15/util-vserver-0.30.210-rpm-fake-resolver-badperm.patch b/util-vserver/patches/0.30.210-r15/util-vserver-0.30.210-rpm-fake-resolver-badperm.patch
deleted file mode 100644
index 4bf4f40..0000000
--- a/util-vserver/patches/0.30.210-r15/util-vserver-0.30.210-rpm-fake-resolver-badperm.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Index: util-vserver-0.30.210/src/rpm-fake-resolver.c
-===================================================================
---- util-vserver-0.30.210.orig/src/rpm-fake-resolver.c
-+++ util-vserver-0.30.210/src/rpm-fake-resolver.c
-@@ -300,6 +300,10 @@ int main(int argc, char * argv[])
- if (args.chroot) Echroot(args.chroot);
- Echdir("/");
-
-+ if (access("/", X_OK) == -1) {
-+ WRITE_MSG(2, "*** root directory is not accessible for specified uid. rpm-fake-resolver will most likely fail.\n");
-+ }
-+
- activateContext(args.ctx, args.in_ctx, args.caps, args.flags);
- Esetgroups(0, &args.gid);
- Esetgid(args.gid);