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

xorg: Changes to 'debian-unstable'



 debian/changelog       |    5 +++++
 debian/x11-common.init |    4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

New commits:
commit 70a8a1aad65ed4d9452543ed18f75806f1a0f64a
Author: Julien Cristau <jcristau@debian.org>
Date:   Thu Feb 28 16:56:09 2008 +0100

    Use root:root instead of 0:0 in chown calls
    
    This prevents remote nss lookups before the network is up in some
    environments.  Closes: #407788

diff --git a/debian/changelog b/debian/changelog
index a9e8c19..99ea2e3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,11 @@ xorg (1:7.3+11) UNRELEASED; urgency=low
     + Set x11-common to arch: all and xserver-xorg to arch: any
     + Move ${shlib:Depends} from x11-common to xserver-xorg
 
+  [ Julien Cristau ]
+  * Use root:root instead of 0:0 in chown calls in x11-common's init script.
+    This should prevent remote nss lookups and timeouts in some environments.
+    Closes: #407788.
+
  -- David Nusinow <dnusinow@debian.org>  Tue, 05 Feb 2008 20:46:12 -0500
 
 xorg (1:7.3+10) unstable; urgency=low
diff --git a/debian/x11-common.init b/debian/x11-common.init
index 6e0fefb..9c3519a 100644
--- a/debian/x11-common.init
+++ b/debian/x11-common.init
@@ -36,7 +36,7 @@ set_up_socket_dir () {
     mv $SOCKET_DIR $SOCKET_DIR.$$
   fi
   mkdir -p $SOCKET_DIR
-  chown 0:0 $SOCKET_DIR
+  chown root:root $SOCKET_DIR
   chmod 1777 $SOCKET_DIR
   do_restorecon $SOCKET_DIR
   [ "$VERBOSE" != no ] && log_end_msg 0 || return 0
@@ -50,7 +50,7 @@ set_up_ice_dir () {
     mv $ICE_DIR $ICE_DIR.$$
   fi
   mkdir -p $ICE_DIR
-  chown 0:0 $ICE_DIR
+  chown root:root $ICE_DIR
   chmod 1777 $ICE_DIR
   do_restorecon $ICE_DIR
   [ "$VERBOSE" != no ] && log_end_msg 0 || return 0


Reply to: