Summary: | syslogd fails to log anything if there is a unicode character in the hostname of a machine | ||
---|---|---|---|
Product: | Base System | Reporter: | Sverre <sverre.eldoy> |
Component: | misc | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | New --- | ||
Severity: | Affects Some People | CC: | cem, emaste, freebsd, yuripv |
Priority: | --- | ||
Version: | 12.0-RELEASE | ||
Hardware: | Any | ||
OS: | Any |
Description
Sverre
2019-10-15 13:59:56 UTC
Which exactly character (code) is the problem? (In reply to Yuri Pankov from comment #1) 🐒 (In reply to Sverre from comment #2) The hostname is 🐒.domain.blah Actually it seems that it's enough to have some emoji char in your hostname - it doesn't have to be all emoji... so awef🐒awef.domain.blah will also make syslogd fail to log... I think it's the part where it strips out "dangerous characters" that is the culprit,.. Compiling a version without that check now to see if that works. It doesn't actually have to be an emoji either.. ℬ, ⨊, ... even the norwegian letters like å,æ,ø makes it fail.. and the swedish variants ä, ö .. It's a nice way to disable all logging if you got root on a box: just switch your hostname to something that has a weird character in it and there is basically no trace of anything you do on it. |