Re: Fast booting for a Debian system - and suggestions for said system
On Tue, 1 Sep 2009 09:28:36 +0300
Andrei Popescu <andreimpopescu@gmail.com> wrote:
...
> /etc/init.d/rc is not a conffile so it will get overwritten on
> upgrades without any prompt. As /etc/default/rcS is sourced later on
Are you sure that this is right? From section 10.7 of the Debian
Policy Manual:
"configuration file
A file that affects the operation of a program, or provides site-
or host-specific information, or otherwise customizes the behavior of a
program. Typically, configuration files are intended to be modified by
the system administrator (if needed or desired) to conform to local
policy or to provide more useful site-specific behavior.
conffile
A file listed in a package's conffiles file, and is treated
specially by dpkg (see Details of configuration, Section 6.7).
The distinction between these two is important; they are not
interchangeable concepts. Almost all conffiles are configuration files,
but many configuration files are not conffiles.
As noted elsewhere, /etc/init.d scripts, /etc/default files, scripts
installed in /etc/cron.{hourly,daily,weekly,monthly}, and cron
configuration installed in /etc/cron.d must be treated as configuration
files. In general, any script that embeds configuration information is
de-facto a configuration file and should be treated as such. ...
Configuration file handling must conform to the following behavior:
local changes must be preserved during a package upgrade, and"
So it seems that the init.d scripts are configuration files, and as
such, local changes to them must be preserved.
Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator
Reply to: