| Summary: | rsyslog-mongo: /etc/rsyslog.d/01_mongo.conf: line 1: invalid character '\' in object definition | ||
|---|---|---|---|
| Product: | Sisyphus | Reporter: | Artem Varaksa <varaksaaa> |
| Component: | rsyslog-mongo | Assignee: | Alexey Shabalin <shaba> |
| Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
| Severity: | normal | ||
| Priority: | P5 | CC: | serjigva, shaba |
| Version: | unstable | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
rsyslog-8.2502.0-alt4 -> sisyphus: Thu Oct 09 2025 Sergey Gvozdetskiy <serjigva@altlinux> 8.2502.0-alt4 - Logfile ownership corrected in rsyslog.d/00_common.conf (Closes: #55643). - Removed systemd Requires=syslog.socket (Closes: #44911), thx Rocky. - Fixed double screened quotes from mongo config (Closes: #54959). |
Шаги ==== 1. # apt-get install -y rsyslog rsyslog-mongo && \ systemctl enable --now rsyslog && \ systemctl status rsyslog --no-pager -l Фактический результат ===================== > error during parsing file /etc/rsyslog.d/01_mongo.conf, on or before line 1: invalid character '\' in object definition - is there an invalid escape sequence somewhere? [v8.2502.0 try https://www.rsyslog.com/e/2207 ] > error during parsing file /etc/rsyslog.d/01_mongo.conf, on or before line 1: invalid character '\' in object definition - is there an invalid escape sequence somewhere? [v8.2502.0 try https://www.rsyslog.com/e/2207 ] > error during parsing file /etc/rsyslog.d/01_mongo.conf, on or before line 1: syntax error on token '" : \' [v8.2502.0 try https://www.rsyslog.com/e/2207 ] > could not interpret master config file '/etc/rsyslog.conf'. [v8.2502.0 try https://www.rsyslog.com/e/2207 ] Ожидаемый результат =================== Корректный синтаксис конфигурации по умолчанию. Воспроизводимость ================= Воспроизводится на виртуальных машинах: [sisyphus] ALT Server 11.0 x86_64 rsyslog-8.2502.0-alt3.x86_64 [p11] ALT Server 11.0 x86_64 rsyslog-8.2502.0-alt3.x86_64 [p10] ALT Server 10.4 x86_64 rsyslog-8.2408.0-alt2.x86_64