r15984 - in /desktop/unstable/system-tools-backends/debian: changelog patches/60_fix-permissions-of-pid-file.patch

lool at users.alioth.debian.org lool at users.alioth.debian.org
Sat May 17 20:53:19 UTC 2008


Author: lool
Date: Sat May 17 20:53:19 2008
New Revision: 15984

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=15984
Log:
New patch, 60_fix-permissions-of-pid-file, fixes permissions of .pid file;
thanks Mike Bird; GNOME #533624; closes: #447361.

Added:
    desktop/unstable/system-tools-backends/debian/patches/60_fix-permissions-of-pid-file.patch
Modified:
    desktop/unstable/system-tools-backends/debian/changelog

Modified: desktop/unstable/system-tools-backends/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/system-tools-backends/debian/changelog?rev=15984&op=diff
==============================================================================
--- desktop/unstable/system-tools-backends/debian/changelog (original)
+++ desktop/unstable/system-tools-backends/debian/changelog Sat May 17 20:53:19 2008
@@ -1,3 +1,10 @@
+system-tools-backends (2.4.2-2) UNRELEASED; urgency=low
+
+  * New patch, 60_fix-permissions-of-pid-file, fixes permissions of .pid file;
+    thanks Mike Bird; GNOME #533624; closes: #447361.
+
+ -- Loic Minier <lool at dooz.org>  Sat, 17 May 2008 22:46:22 +0200
+
 system-tools-backends (2.4.2-1) unstable; urgency=low
 
   [ Kilian Krause ]

Added: desktop/unstable/system-tools-backends/debian/patches/60_fix-permissions-of-pid-file.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/system-tools-backends/debian/patches/60_fix-permissions-of-pid-file.patch?rev=15984&op=file
==============================================================================
--- desktop/unstable/system-tools-backends/debian/patches/60_fix-permissions-of-pid-file.patch (added)
+++ desktop/unstable/system-tools-backends/debian/patches/60_fix-permissions-of-pid-file.patch Sat May 17 20:53:19 2008
@@ -1,0 +1,13 @@
+Fixes permissions of .pid file; GNOME #533624; Debian #447361.
+
+--- system-tools-backends-2.4.2/dispatcher/dispatcher.c	2008-01-15 01:11:09.000000000 +0100
++++ system-tools-backends-2.4.2.new/dispatcher/dispatcher.c	2008-05-17 22:45:55.000000000 +0200
+@@ -212,7 +212,7 @@
+ 
+       setsid ();
+ 
+-      if ((pidfile_fd = open (LOCALSTATEDIR "/run/system-tools-backends.pid", O_CREAT | O_WRONLY)) != -1)
++      if ((pidfile_fd = open (LOCALSTATEDIR "/run/system-tools-backends.pid", O_CREAT | O_WRONLY, 00644)) != -1)
+ 	{
+ 	  str = g_strdup_printf ("%d", getpid ());
+ 	  write (pidfile_fd, str, strlen (str));




More information about the pkg-gnome-commits mailing list