Bug 57497 - alterator-service-samba-ad редактирует /etc/resolv.conf
Summary: alterator-service-samba-ad редактирует /etc/resolv.conf
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: alterator-service-samba-ad (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Andrey Limachko
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-15 14:52 MSK by Kostevich Arseniy
Modified: 2026-01-22 20:44 MSK (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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