Re: links to logs in /etc? (/etc/postgresql/7.4/main/log)
On Mon, 13 Jun 2005, Oliver Elphick wrote:
> On Sun, 2005-06-12 at 16:25 -0700, Erik Steffl wrote:
> > why is there a link to logs in /etc?
> >
> > /etc/postgresql/7.4/main/log is a link to
> > /var/log/postgresql/postgresql-7.4-main.log
> >
> > /etc is supposed to be for configuration files that are static, the
> > link to log violates both (yes, it's only a link so it doesn't change
> > but points to a file that changes and is definetely not a configuration
> > file).
> >
> > is this a bug? Or is this somehow valid?
>
> Policy says that conffiles should be in /etc, or, if that is not
> feasible, that there should be a link to /etc. (Policy 10.7.2)
Configuration files, not conffiles, should be in /etc.
And, it's a link *in* /etc, *to* the file located elsewhere.
> It is not stated that other types of file must not be put in /etc, still
> less that there should be no links to such files. By analogy with
> 10.7.2, it seems reasonable to allow a link if it is not feasible to do
> without it.
That's a stupid argument.
Reply to: