[Pkg-ltsp-devel] Bug#410485: ltsp-server: remote syslogging on ltsp
	clients is broken
    vagrant at freegeek.org 
    vagrant at freegeek.org
       
    Sun Feb 18 09:00:31 CET 2007
    
    
  
On Sun, Feb 11, 2007 at 10:15:39PM -0800, vagrant at freegeek.org wrote:
> i still would like to be able to disable remote syslogging on the client
> side... something like this:
on second thought, i think this simpler patch would suffice for an
option to disable:
=== modified file 'debian/ltsp-client.ltsp-client-setup.init'
--- debian/ltsp-client.ltsp-client-setup.init	2007-01-11 06:46:05 +0000
+++ debian/ltsp-client.ltsp-client-setup.init	2007-02-18 06:32:33 +0000
@@ -129,9 +129,11 @@
 }
 
 configure_syslog() {
-    cat <<EOF > /etc/syslog.conf
+    if [ -z "$SYSLOG" ] || [ "$SYSLOG" = "remote" ]; then
+        cat <<EOF > /etc/syslog.conf
 *.* @${SYSLOG_HOST-$SERVER}
 EOF
+    fi
 }
 
 configure_fstab() {
this keeps the default behavior like it is now (remote syslogging only),
but makes it possible to disable remote syslogging by setting it to a
non-empty value other than "remote", where it will then use the the
syslog.conf from the chroot, so any needed customizations can be handled
there...
thoughts?
live well,
  vagrant
    
    
More information about the Pkg-ltsp-devel
mailing list