summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-07-05 10:14:12 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-07-05 10:14:12 +0000
commit98adfb8a95b4e75400b04f79bb140dea97dfd6e5 (patch)
treebd38a70e7721ca6d1d7f3b3f3a83b668ea03dab7 /sys-fs/udisks/files
parentRemove old. (diff)
downloadgentoo-2-98adfb8a95b4e75400b04f79bb140dea97dfd6e5.tar.gz
gentoo-2-98adfb8a95b4e75400b04f79bb140dea97dfd6e5.tar.bz2
gentoo-2-98adfb8a95b4e75400b04f79bb140dea97dfd6e5.zip
Use /tmp instead of /var/run/udisks wrt #333893 by Diego Elio Pettenò.
(Portage version: 2.2.0_alpha41/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs/udisks/files')
-rw-r--r--sys-fs/udisks/files/udisks-1.0.3-mkfs-tempdir.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/sys-fs/udisks/files/udisks-1.0.3-mkfs-tempdir.patch b/sys-fs/udisks/files/udisks-1.0.3-mkfs-tempdir.patch
new file mode 100644
index 000000000000..cc49c061065e
--- /dev/null
+++ b/sys-fs/udisks/files/udisks-1.0.3-mkfs-tempdir.patch
@@ -0,0 +1,17 @@
+The daemon doesn't create /var/run/udisks
+
+http://bugs.gentoo.org/show_bug.cgi?id=333893
+http://bugs.freedesktop.org/show_bug.cgi?id=24265
+http://bugs.freedesktop.org/show_bug.cgi?id=36589
+
+--- src/helpers/job-mkfs.c
++++ src/helpers/job-mkfs.c
+@@ -546,7 +546,7 @@
+ /* take ownership of the device if requested */
+ if (take_ownership_uid != 0 || take_ownership_gid != 0)
+ {
+- char dir[256] = PACKAGE_LOCALSTATE_DIR "/run/udisks/job-mkfs-XXXXXX";
++ char dir[256] = "/tmp/job-mkfs-XXXXXX";
+
+ if (mkdtemp (dir) == NULL)
+ {