Bug 11163 - Configuration is not saved when package updated
Summary: Configuration is not saved when package updated
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: httpd-alterator (show other bugs)
Version: unstable
Hardware: all Linux
: P2 minor
Assignee: inger@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-20 21:01 MSK by Sir Raorn
Modified: 2009-05-10 09:33 MSD (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sir Raorn 2007-03-20 21:01:57 MSK
Сомневаюсь, что конструкция

%(config,noreplace) %_sysconfdir/httpd2/conf/%name.cnf

эквивалентна

%config(noreplace) %_sysconfdir/httpd2/conf/%name.cnf

Также при обновлении теряются все изменения в
/etc/httpd2/conf/httpd-alterator.cnf потому как тоже нет %config(noreplace).
Comment 1 Sir Raorn 2007-03-20 21:02:41 MSK
severity -> trivial (типа, typo)
Comment 2 Sir Raorn 2007-03-28 21:57:21 MSD
# rpm -V httpd-alterator
S.5....T c /etc/httpd2/conf/httpd-alterator.cnf
S.5....T   /etc/httpd2/conf/httpd2.alterator.conf

httpd2.alterator.conf тоже надо как %config(noreplace) пометить...
Comment 3 inger@altlinux.org 2007-03-29 18:29:07 MSD
доделал