<div dir="auto">I think the easiest solution would be to remove the tty10 destination from the default config altogether, which is maintained by the debian maintainers.<div dir="auto"><br></div><div dir="auto">In order to do that, please file a bug to the syslog-ng package.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 16, 2021, 03:34 John Kristoff <<a href="mailto:jtk@dataplane.org">jtk@dataplane.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I ran into the exact problem succinctly and completely written up here:<br>
<br>
  <<a href="https://www.claudiokuenzler.com/blog/988/syslog-ng-lxc-container-no-space-left-on-device-dev" rel="noreferrer noreferrer" target="_blank">https://www.claudiokuenzler.com/blog/988/syslog-ng-lxc-container-no-space-left-on-device-dev</a>><br>
<br>
It doesn't appear this was brought to the attention of the devs nor an<br>
issue even filed in github.  I'd like to make sure I didn't miss<br>
something, so posting here for comment before I submit a github issue.<br>
<br>
In summary, LXC sets up a small number of tty devices by default.<br>
However, syslog-ng in Debian has this config statement:<br>
<br>
  destination d_console_all { file(`tty10`); };<br>
<br>
This results in syslog-ng writing the a new /dev/tty10 file instead of<br>
to a device, which will pretty quickly fill up an LXC /dev partition,<br>
causing syslog-ng to soon start failing when it sees the device<br>
associated with tty10 file handle full.<br>
<br>
I have modified my syslog-ng.conf directly to use tty2 as the blog<br>
post suggested, but it would be nice if there was a "cleaner"<br>
work-around in the future.<br>
<br>
John<br>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer noreferrer" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer noreferrer" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer noreferrer" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
</blockquote></div>