SYSLOG option in lts.conf not documented
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LTSP5 |
Fix Released
|
Low
|
Unassigned | ||
ltsp (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
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@ltsp1:~# cat /etc/rsyslog.
*.* @192.168.0.254
There is code to disable this in /opt/ltsp/
configure_syslog() {
if [ -z "$SYSLOG" ] || [ "$SYSLOG" = "remote" ]; then
if [ -d /etc/rsyslog.d ]; then
touch $syslog_conf
fi
if [ -f "$syslog_conf" ]; then
cat <<EOF > "$syslog_conf"
*.* @${SYSLOG_
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).
Changed in ltsp (Ubuntu): | |
status: | New → Triaged |
Changed in ltsp: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in ltsp (Ubuntu): | |
status: | Triaged → Invalid |
Current behaviour of configure_syslog() seems a little weird, shouldn't it just be SYSLOG=true or false ? Or replace SYSLOG by SYSLOG_REMOTE=true or false, to make the option clearer?