Bug 59024 - Не открывается файл с ошибкой /etc/default/locale: No such file or directory
Summary: Не открывается файл с ошибкой /etc/default/locale: No such file or directory
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: ocsinventory-agent (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Andrey Cherepanov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-05-07 13:21 MSK by Цой Павел Денисович
Modified: 2026-05-07 15:19 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Цой Павел Денисович 2026-05-07 13:21:19 MSK
Пакет:
ocsinventory-agent-2.10.5-alt1

Стенды:
Workstation K 11.3

Подготовка:
*** Настройка ocsinventory-server на системе Alt Linux Server ***
1. # apt-get install -y docker-compose docker-engine  && systemctl start docker && usermod test -aG docker
2. Переподключиться по ssh
3. $ git clone https://github.com/OCSInventory-NG/OCSInventory-Docker-Image &&cd OCSInventory-Docker-Image/2.12.4/
4. $ sed -i '/^[[:space:]]*links:/,+1d' docker-compose.yml
5. $ docker compose up -d
6. Открыть http://<serv_ip>/ocsreports/
7. Нажать на Perform the update
8. Нажать на Click here to enter OCS-NG GUI
9. Данные для входа: admin/admin

Шаги воспроизведения:
1. # ocsinventory-agent --server=10.88.11.107

Ожидаемое поведение: Устройство добавиться в панели http://<serv_ip>/ocsreports/ и в терминале не отображается ошибка Could not open /etc/default/locale: No such file or directory

Реальное поведение: Устройство добавляется в панели http://<serv_ip>/ocsreports/ и отображается ошибка Could not open /etc/default/locale: No such file or directory

Примечание: На стендах Education KDE 11.1, Education XFCE 11.1, Workstation 11.1, Server 11.1 ошибка не появляется
Comment 1 Repository Robot 2026-05-07 15:19:38 MSK
ocsinventory-agent-1:2.10.5-alt2 -> sisyphus:

Thu May 07 2026 Andrey Cherepanov <cas@altlinux> 1:2.10.5-alt2
- Fixed path to locale file (ALT #59024).