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

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

    <bug>
          <bug_id>59243</bug_id>
          
          <creation_ts>2026-05-18 15:58:35 +0300</creation_ts>
          <short_desc>Ошибки при установке пакета: пользователь tuwunel не существует / группа tuwunel не существует, сервис не запускается</short_desc>
          <delta_ts>2026-05-22 15:10:04 +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>tuwunel</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="obidinog@basealt.ru">obidinog</reporter>
          <assigned_to name="Alexey Shabalin">shaba</assigned_to>
          <cc>romenskiy</cc>
    
    <cc>shaba</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>287705</commentid>
    <comment_count>0</comment_count>
    <who name="obidinog@basealt.ru">obidinog</who>
    <bug_when>2026-05-18 15:58:35 +0300</bug_when>
    <thetext>Платформа:
Alt Server p11 x86_64 (Обновленный до Sisyphus)

Пакет:
tuwunel 1.6.1-alt1

Шаги:
Установить пакет
# apt-get install tuwunel

Результат: Ошибки при установке
Обновление / установка...
1: tuwunel-1.6.1-alt1                             предупреждение: группа tuwunel не существует - используется root
#################################################################################################### [100%]
предупреждение: пользователь tuwunel не существует - используется root
предупреждение: группа tuwunel не существует - используется root
Завершено.

Ожидаемый результат: Ошибок нет

Дополнительно:
Далее если попробовать настроить конфиг и запустить сервис - сервис не запустится

# echo &quot;&quot;&quot;
[global]
server_name = \&quot;tuwmax.test\&quot;
database_path = \&quot;/var/lib/tuwunel\&quot;
port = 8008
address = \&quot;127.0.0.1\&quot;
max_request_size = 20_000_000
allow_registration = true
registration_token = \&quot;$(openssl rand -hex 32)\&quot;
&quot;&quot;&quot; &gt; /etc/tuwunel/tuwunel.toml 

# systemctl start tuwunel.service 
● tuwunel.service - Tuwunel Matrix homeserver
     Loaded: loaded (/usr/lib/systemd/system/tuwunel.service; enabled; preset: disabled)
     Active: activating (auto-restart) (Result: exit-code) since Mon 2026-05-18 15:52:55 MSK; 2s ago
 Invocation: 282351cae35c4cd0aea0d03c1cec6091
       Docs: https://tuwunel.chat/
    Process: 1651 ExecStart=/usr/sbin/tuwunel (code=exited, status=1/FAILURE)
   Main PID: 1651 (code=exited, status=1/FAILURE)
   Mem peak: 19.7M
        CPU: 173ms

# journalctl
мая 18 15:57:29 server-11-1-x86-64-legacy-ext4-minimal-server-20260518.localdoma tuwunel[1763]: Error: There was a problem with your configuration file: Permission denied (os error 13)
мая 18 15:57:29 server-11-1-x86-64-legacy-ext4-minimal-server-20260518.localdoma tuwunel[1763]:  in etc/tuwunel/tuwunel.toml TOML file

В P11 на версии 1.5.1-alt4 ошибка НЕ воспроизводится, ошибок при установке нет, сервис запускается успешно</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>288179</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2026-05-22 15:10:04 +0300</bug_when>
    <thetext>tuwunel-1.7.0-alt1 -&gt; sisyphus:

Fri May 22 2026 Alexey Shabalin &lt;shaba@altlinux&gt; 1.7.0-alt1
- updated from 1.6.1 to 1.7.0
- Fix create system user/group in %pre via groupadd/useradd (ALT #59243).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>