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

Bug#366378: KDE is not starting on /etc/default/rcS VERBOSE=no (with fix)



Package: x11-common
Version: 1:7.0.15

.xsession-errors contains:
_IceTransmkdir: ERROR: Owner of /tmp/.ICE-unix must be set to root

/etc/init.d/x11-common is not creating /tmp/.ICE-unix when VERBOSE=no 
in /etc/default/rcS

Suggested fix in attached patch file:
--- /etc/init.d/x11-common.old	2006-04-28 12:18:58.000000000 +0800
+++ /etc/init.d/x11-common	2006-05-08 13:51:21.000000000 +0800
@@ -28,7 +28,7 @@ set_up_socket_dir () {
   chown 0:0 $SOCKET_DIR
   chmod 1777 $SOCKET_DIR
   do_restorecon $SOCKET_DIR
-  [ "$VERBOSE" != no ] && log_end_msg 0 || exit 0
+  [ "$VERBOSE" != no ] && log_end_msg 0 || return 0
 }
 
 set_up_ice_dir () {
@@ -42,7 +42,7 @@ set_up_ice_dir () {
   chown 0:0 $ICE_DIR
   chmod 1777 $ICE_DIR
   do_restorecon $ICE_DIR
-  [ "$VERBOSE" != no ] && log_end_msg 0 || exit 0
+  [ "$VERBOSE" != no ] && log_end_msg 0 || return 0
 }
 
 case "$1" in

Reply to: