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

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

    <bug>
          <bug_id>60925</bug_id>
          
          <creation_ts>2026-10-12 19:06:44 +0300</creation_ts>
          <short_desc>Предложение: twisted-core-tools: добавить имя twistd-3 (twistd3) для команды twistd</short_desc>
          <delta_ts>2026-10-20 23:31:47 +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>python3-module-twisted-core</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugzilla.altlinux.org/show_bug.cgi?id=44191</see_also>
          <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="Vitaly Lipatov">lav</assigned_to>
          <cc>lav</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>301860</commentid>
    <comment_count>0</comment_count>
    <who name="Artem Varaksa">varaksaaa</who>
    <bug_when>2026-10-12 19:06:44 +0300</bug_when>
    <thetext>Тестовый набор gvfs (test/gvfs-test; код одинаков в gvfs 1.48.2…1.62.0) ищет бинарник FTP-демона Twisted под именами `twistd-3` и `twistd3` (Fedora-название):

```
twistd_path = find_alternative([&apos;twistd-3&apos;, &apos;twistd3&apos;])
...
@unittest.skipUnless(twistd_path != None, &apos;Twisted twistd not installed&apos;)
class Ftp(GvfsTestCase):
```

Пакет ALT `twisted-core-tools` предоставляет только `/usr/bin/twistd`.

В результате все 6 тестов `ftp://` в gvfs-tests пропускаются на любой ALT-системе (и в пользовательском режиме, и в root) — независимо от того, установлен ли Twisted. Проверено: при установленных `twisted-core-tools` и `python3-module-twisted-core` (26.4.0-alt1, sisyphus) все 6 тестов Ftp по-прежнему пропускаются с причиной `Twisted twistd not installed`.

## Предложение

Поставлять имя `twistd-3` (или `twistd3`) в `twisted-core-tools` — через alternatives или symlink. Это позволит запускать Ftp-тесты на ALT без модификации upstream-кода тестов и не потребует патчить тестовый набор gvfs. Альтернативный вариант (патч test/gvfs-test — добавить `twistd` в список поиска) допустим, но хуже: список — upstream-код, и аналогичные имена (`twistd-3`) могут использоваться и другими проектами.

## Шаги воспроизведения

1. Установить `python3-module-twisted-core` и `twisted-core-tools`
2. Запустить `/usr/libexec/gvfs/installed-tests/gvfs/gvfs-test` (от пользователя или root)
3. Все 6 тестов Ftp пропускаются: `skipped &apos;Twisted twistd not installed&apos;`

## Версии

- twisted-core-tools: p10 20.3.0-alt2, p11 22.10.0-alt3, sisyphus 26.4.0-alt1
- python3-module-twisted-core (source): p10 20.3.0-alt2, p11 22.10.0-alt3, sisyphus 26.4.0-alt1
- gvfs: p10 1.48.2-alt1, p11 1.57.2-alt1, sisyphus 1.62.0-alt1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>302970</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2026-10-20 23:31:47 +0300</bug_when>
    <thetext>python3-module-twisted-core-26.4.0-alt2 -&gt; sisyphus:

Tue Oct 20 2026 Vitaly Lipatov &lt;lav@altlinux.ru&gt; 26.4.0-alt2
- add twistd-3 symlink for twistd (closes: #60925)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>