gnome-keyring Sandbox violation during installation on Gentoo Linux



Hello,
the installation of gnome-keyring-2.91.3 fails on Gentoo Linux due to
sandbox violation.
The reason is that the installation rules try to manipulate files
directly in the live filesystem.
Could you change the rules, please?

It appears that the master branch does not have a fix for this yet, so
I suggest prefixing the destination with $(DESTDIR), as suggested by
the sections 14.4 and 14.6 of the GNU make manual, perhaps according
to the patch below, which solves the above-mentioned problem (and
please acccept my sincere apologies regarding any possible misconduct
or misbehaviour of mine because of posting here):

===
diff --recursive --new-file --show-c-function '--unified=7'
gnome-keyring-2.91.3.orig/daemon/Makefile.am
gnome-keyring-2.91.3/daemon/Makefile.am
--- gnome-keyring-2.91.3.orig/daemon/Makefile.am	2010-11-30
01:34:17.000000000 +0100
+++ gnome-keyring-2.91.3/daemon/Makefile.am	2010-11-30 01:34:17.000000000 +0100
@@ -81,11 +81,11 @@ CLEANFILES = \

 # The daemon is installed as setuid so as to obtain specialized
 # capabilities, then immediately drops permissions. In other words,
 # it does *not* run as setuid.
 # If installing as non-root, chown+chmod will not succeed but
 # the build will continue.
 install-exec-hook:
-	chown root $(bindir)/gnome-keyring-daemon || true
-	chmod u+s $(bindir)/gnome-keyring-daemon || true
+	chown root $(DESTDIR)$(bindir)/gnome-keyring-daemon || true
+	chmod u+s $(DESTDIR)$(bindir)/gnome-keyring-daemon || true

 @INTLTOOL_DESKTOP_RULE@


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]