Bug 27950 - Затирает /etc/raddb/sites-available/default при обновлении
Summary: Затирает /etc/raddb/sites-available/default при обновлении
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: freeradius (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Alexey Shabalin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-09 18:39 MSK by Evgenii Terechkov
Modified: 2012-11-09 20:04 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evgenii Terechkov 2012-11-09 18:39:55 MSK
При обновлении 2.2.0-alt1 -> 2.2.0-alt2 затёрлись локальные изменения в /etc/raddb/sites-enabled/default (симлинк на /e/r/sites-available/default) и как следствие перезапуск radiusd проходит неудачно.

Из спека:

%dir %attr(750,root,radiusd) %_sysconfdir/raddb/sites-available
%attr(640,root,radiusd) %_sysconfdir/raddb/sites-available/*
%dir %attr(750,root,radiusd) %_sysconfdir/raddb/sites-enabled
%attr(640,root,radiusd) %config(noreplace) %_sysconfdir/raddb/sites-enabled/*

видимо, фокус с noreplace на симлинки не проходит. Возможно, noreplace нужен не на sites-enabled/* а на sites-available/*.

Либо я неправильно понимаю, как предполагалось использовать пакет.
Comment 1 Vladimir Lettiev 2012-11-09 18:56:03 MSK
Думаю, что нужно делать %config(noreplace) на оба каталога
Comment 2 Vladimir Lettiev 2012-11-09 20:04:23 MSK
fixed in 2.2.0-alt3