Bug 29051 - Не всегда добавляет себя в /etc/nsswitch.conf
Summary: Не всегда добавляет себя в /etc/nsswitch.conf
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: libnss-mdns (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Fr. Br. George
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-04 15:26 MSK by Mikhail Efremov
Modified: 2013-06-14 18:13 MSK (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Efremov 2013-06-04 15:26:59 MSK
Если после dns какой-то другой модуль уже добавил себя (это делают libnss-myhostname и libnss-fallback), то postinstall не срабатывает.
Должно быть достаточно в s/^\(hosts:[[:blank:]].\+\)\(dns\)$/ убрать $.
Comment 1 Dmitry V. Levin 2013-06-05 05:19:47 MSK
В http://pkgs.fedoraproject.org/cgit/nss-mdns.git/tree/nss-mdns.spec есть примеры более правильных скриптов.

Кто будет фиксить?
Comment 2 Repository Robot 2013-06-11 15:49:27 MSK
nss-mdns-0.10-alt4 -> sisyphus:

* Tue Jun 11 2013 Anton V. Boyarshinov <boyarsh@altlinux> 0.10-alt4
- post scripts got from Fedora (closes #29051)
- postuntrigger removed
Comment 3 Sergey V Turchin 2013-06-14 16:20:42 MSK
В p7 копирование уже запускали? А то я запущу.
Comment 4 Sergey V Turchin 2013-06-14 18:13:51 MSK
Уже скопирован. Не туда посмотрел.