Bug 56551 - `wine-cap_net_raw` не выполняет изменения для i386, из-за чего `wine ping` в 32-битном WINEPREFIX не работает
Summary: `wine-cap_net_raw` не выполняет изменения для i386, из-за чего `wine ping` в ...
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: wine-ping (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Vitaly Lipatov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-22 11:39 MSK by Artem Varaksa
Modified: 2025-10-27 23:29 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Artem Varaksa 2025-10-22 11:39:38 MSK
Раньше `# wine-cap_net_raw` включал capability и для 32-, и для 64-битного `wine-preloader`:

> Enabling 'cap_net_raw=ep' for /usr/lib/wine/wine-preloader ...
> Enabling 'cap_net_raw=ep' for /usr/lib/wine/wine64-preloader ...

Сейчас в [p11] и [sisyphus] происходит включение только для (стоит отметить и другой путь для 64):

> Enabling 'cap_net_raw=ep' for /usr/lib64/wine/x86_64-unix/wine-preloader ...

Для 32bit, наверное, capability теперь должен включаться для

> /usr/lib/wine/i386-unix/wine-preloader

(предоставляется пакетами wine/wine-vanilla), потому что иначе wine ping для 32bit не работает:

> $ WINEARCH=win32 WINEPREFIX="$HOME/.wine32" wine ping ya.ru
> Pinging ya.ru [<ip>] with 32 bytes of data:
> PING: transmit failed. General failure.
> PING: transmit failed. General failure.
> PING: transmit failed. General failure.
> PING: transmit failed. General failure.
> Ping statistics for <ip>
>         Packets: Sent = 4, Received = 0, Lost = 4 (100% loss)

и перезагрузка не помогает.


[p11] ALT Workstation 11.0 x86_64
wine-ping-10.12.1-alt1.x86_64

[sisyphus] ALT Workstation 11.0 x86_64
wine-ping-10.16.1-alt1.x86_64
Comment 1 Artem Varaksa 2025-10-22 11:43:47 MSK
Актуально и для wine-vanilla-ping-10.16-alt2.x86_64.
Comment 2 Repository Robot 2025-10-27 23:29:04 MSK
wine-1:10.17.1-alt2 -> sisyphus:

Sat Oct 25 2025 Vitaly Lipatov <lav@altlinux.ru> 1:10.17.1-alt2
- wine-cap_net_raw: set capability for /usr/lib/wine path too (ALT bug 56551)
- wine.spec: move wine-mono and wine-gecko requires to the main package wine (ALT bug 55444)
- wine.spec: move notepad and winefile commands to the main package wine (ALT bug 55444)
- wine-common: add require wine