← Back to team overview

edubuntu-bugs team mailing list archive

[Bug 697387] [NEW] SYSLOG option in lts.conf not documented

 

Public bug reported:

I was looking for a way to _disable_ remote logging on the thin clients.
There's an ltsp.conf file generated on the client at boot, which sends
logs to $SERVER by default:

root@ltsp1:~# cat /etc/rsyslog.d/ltsp.conf 
*.* @192.168.0.254

There is code to disable this in /opt/ltsp/i386/usr/share/ltsp/ltsp-
init-common around line 300:

configure_syslog() {
    if [ -z "$SYSLOG" ] || [ "$SYSLOG" = "remote" ]; then
        syslog_conf=/etc/syslog.conf
        if [ -d /etc/rsyslog.d ]; then
            syslog_conf=/etc/rsyslog.d/ltsp.conf
            touch $syslog_conf
        fi
        if [ -f "$syslog_conf" ]; then
            cat <<EOF > "$syslog_conf"
*.* @${SYSLOG_HOST:-$SERVER}
EOF
        fi
    fi
}

This SYSLOG option does not appear in the documentation (man 5
lts.conf). It should be added if it's not a hack (and I don't see why it
would be).

** Affects: ltsp (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Edubuntu
Bugsquad, which is subscribed to ltsp in ubuntu.
https://bugs.launchpad.net/bugs/697387

Title:
  SYSLOG option in lts.conf not documented



Follow ups

References