Re: Updating rpm should preserve /opkg/etc/rc.d/rc.server
On Fri, Oct 15, 2004, Alexander Belck wrote: Two questions 1) specificaly for apache I need the action graceful. Particulary I would prefer the way other distros handle apache using apachectl, that in some cases make extra check to avoid killing apache at all when reloading with a new miss-configuret apache.conf But at least could be the graceful action added to the standart rc.apache ? It is already in OpenPKG CURRENT and will show up in OpenPKG 2.2's apache package. If you there do a reload a graceful restart is performed. 2) My lake of knowlege. How should I use rc.conf ? I'm not used with that kind of startup, I guess its similar to debian ?? All I found is that all the rc.xxx files from OpenPKG have a %config section that could change the way a server starts. Should I repead the configuration settings I whant to change from rc.xxx in rc.conf with my setting ? Just place the name=value settings into your rc.conf file in order to override the ones in the rc.xxx files' %config sections. Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Updating rpm should preserve /opkg/etc/rc.d/rc.server
Today I updated apache following security advise. It happens that the instalation overides rc.apache that should be treated as a configuration file, since there ara options that could be set previously (and in this specific case, I needed to implement the graceful action). In general form I think that the rpm install script should at least rename the old version to .rpmsave or make the new a .rpmnew if files differ and display a warning. Thanks, Alex -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: Updating rpm should preserve /opkg/etc/rc.d/rc.server
On Fri, Oct 15, 2004, Alexander Belck wrote: Today I updated apache following security advise. It happens that the instalation overides rc.apache that should be treated as a configuration file, since there ara options that could be set previously (and in this specific case, I needed to implement the graceful action). No, rc.xxx are *not* configuration files! If you want to change some of its settings write them to rc.conf, please. In general form I think that the rpm install script should at least rename the old version to .rpmsave or make the new a .rpmnew if files differ and display a warning. .rpmsave are only created for config files. rc.xxx are not config files, hence no .rpmsave files. Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: Updating rpm should preserve /opkg/etc/rc.d/rc.server
Two questions 1) specificaly for apache I need the action graceful. Particulary I would prefer the way other distros handle apache using apachectl, that in some cases make extra check to avoid killing apache at all when reloading with a new miss-configuret apache.conf But at least could be the graceful action added to the standart rc.apache ? 2) My lake of knowlege. How should I use rc.conf ? I'm not used with that kind of startup, I guess its similar to debian ?? All I found is that all the rc.xxx files from OpenPKG have a %config section that could change the way a server starts. Should I repead the configuration settings I whant to change from rc.xxx in rc.conf with my setting ? Thanks, Alex Citando Ralf S. Engelschall [EMAIL PROTECTED]: On Fri, Oct 15, 2004, Alexander Belck wrote: Today I updated apache following security advise. It happens that the instalation overides rc.apache that should be treated as a configuration file, since there ara options that could be set previously (and in this specific case, I needed to implement the graceful action). No, rc.xxx are *not* configuration files! If you want to change some of its settings write them to rc.conf, please. In general form I think that the rpm install script should at least rename the old version to .rpmsave or make the new a .rpmnew if files differ and display a warning. .rpmsave are only created for config files. rc.xxx are not config files, hence no .rpmsave files. Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED] -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 This message was sent using IMP, the Internet Messaging Program. __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]