Bug 59024

Summary: Не открывается файл с ошибкой /etc/default/locale: No such file or directory
Product: Sisyphus Reporter: Цой Павел Денисович <tsojpd>
Component: ocsinventory-agentAssignee: Andrey Cherepanov <cas>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: cas, zidex
Version: unstable   
Hardware: x86_64   
OS: Linux   

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).