<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>54959</bug_id>
          
          <creation_ts>2025-06-27 12:00:17 +0300</creation_ts>
          <short_desc>rsyslog-mongo: /etc/rsyslog.d/01_mongo.conf: line 1: invalid character &apos;\&apos; in object definition</short_desc>
          <delta_ts>2025-10-10 20:36:59 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>rsyslog-mongo</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Artem Varaksa">varaksaaa</reporter>
          <assigned_to name="Alexey Shabalin">shaba</assigned_to>
          <cc>serjigva</cc>
    
    <cc>shaba</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>267935</commentid>
    <comment_count>0</comment_count>
    <who name="Artem Varaksa">varaksaaa</who>
    <bug_when>2025-06-27 12:00:17 +0300</bug_when>
    <thetext>Шаги
====

1. # apt-get install -y rsyslog rsyslog-mongo &amp;&amp; \
    systemctl enable --now rsyslog &amp;&amp; \
    systemctl status rsyslog --no-pager -l


Фактический результат
=====================

&gt; error during parsing file /etc/rsyslog.d/01_mongo.conf, on or before line 1: invalid character &apos;\&apos; in object definition - is there an invalid escape sequence somewhere? [v8.2502.0 try https://www.rsyslog.com/e/2207 ]
&gt; error during parsing file /etc/rsyslog.d/01_mongo.conf, on or before line 1: invalid character &apos;\&apos; in object definition - is there an invalid escape sequence somewhere? [v8.2502.0 try https://www.rsyslog.com/e/2207 ]
&gt; error during parsing file /etc/rsyslog.d/01_mongo.conf, on or before line 1: syntax error on token &apos;&quot; : \&apos; [v8.2502.0 try https://www.rsyslog.com/e/2207 ]
&gt; could not interpret master config file &apos;/etc/rsyslog.conf&apos;. [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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>274230</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2025-10-10 20:36:59 +0300</bug_when>
    <thetext>rsyslog-8.2502.0-alt4 -&gt; sisyphus:

Thu Oct 09 2025 Sergey Gvozdetskiy &lt;serjigva@altlinux&gt; 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).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>