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

Alkis Georgopoulos 697387 at bugs.launchpad.net
Tue Jan 20 07:58:52 UTC 2015


A quick how-to for those seeking to enable remote logging for ltsp
clients in Ubuntu.

1) Uncomment the following lines in /etc/rsyslog.conf:
# provides UDP syslog reception
$ModLoad imudp
$UDPServerRun 514

2) Restart rsyslog:
sudo service rsyslog restart

3) Set the following line in lts.conf:
SYSLOG_HOST=server

4) Restart clients, you can now see their output in the server, with e.g.
tail -f /var/log/syslog

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

Title:
  SYSLOG option in lts.conf not documented

Status in Linux Terminal Server Project:
  Fix Released
Status in ltsp package in Ubuntu:
  Fix Released

Bug description:
  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 at 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).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ltsp/+bug/697387/+subscriptions



More information about the foundations-bugs mailing list