Bug 57497

Summary: alterator-service-samba-ad редактирует /etc/resolv.conf
Product: Sisyphus Reporter: Kostevich Arseniy <kostevichae>
Component: alterator-service-samba-adAssignee: Andrey Limachko <liannnix>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: alxvmr, arzdez, liannnix, sheriffkorov
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Kostevich Arseniy 2026-01-15 14:52:21 MSK
Версия пакета:
alterator-service-samba-ad-0.7.2-alt1

Проблема:
https://altlinux.space/alterator/alterator-service-samba-ad/src/branch/master/service-samba-ad-functions#:~:text=%7D-,edit_resolv_conf,-()%20%7B
Сервис напрямую редактирует /etc/resolv.conf, полностью игнорируя существующие сетевые настройки в системе. Корректно ли это?
Такая конфигурация будет работать пока resolvconf не пересоздаст /etc/resolv.conf(Например при перезагрузке системы).

Согласно документации рекомендуется настраивать /etc/resolvconf.conf https://docs.altlinux.org/ru-RU/alt-domain/11.0/html/alt-domain/nastrojka_resolvconf.html
Comment 1 Repository Robot 2026-01-22 20:44:39 MSK
alterator-service-samba-ad-0.7.3-alt1 -> sisyphus:

Thu Jan 22 2026 Evgenii Sozonov <arzdez@altlinux> 0.7.3-alt1
- Add Systemd resolved settings (Closes: #57497)
- Add Network Manager settings
- Fix typo
- Add disabling dnsstublistener and editing resolvconf.conf
- Fix incorrect path to smb.conf in get_forwarders_samba_internal function
- Fix enable unit function (Closes: 57494)
- Disable smb and nmb services (Closes: #57495)
- Fix domain controller name change when joining (Closes: #57498)
- Fix incorrect samba internal forwarders parsing (Closes: #57512)
- Add dinamic entry update
- Delete comment for name of domain controller
- Add array prefix for dns forwarders
- Disable shellcheck rule 1087
- Fix an incorrect hostname setting