Re: Paul Martin 2008-02-01 <[EMAIL PROTECTED]>
> On Fri, Feb 01, 2008 at 05:24:47PM +0100, Christoph Berg wrote:
> > cfengine saves overwritten files to $orig.cfsaved. When deploying
> > logrotate files using cfengine, logrotate will complain about
> > duplicate definitions of log files. Declaring tabooext + .cfsaved
> > would fix that.
> > 
> > Please consider adding this to the default config.
> 
> Is cfengine a common install?

Popcon reads ~0.9% machines with the package installed. I'd guess most
(larger) installations won't partiticipate in popcon (or at least not
with all machines), so the "real" count is probably larger. Of course
it isn't a mainstream product, but it is well-known.

Ideally, logrotate would use the same namespace as run-parts does:

| If  neither  the  --lsbsysinit option nor the --regex option is
| given then the names must consist entirely of upper and lower case
| letters, digits, underscores, and hyphens.
|
| If the --lsbsysinit option is given, then the names must not end in
| .dpkg-old  or .dpkg-dist or .dpkg-new or .dpkg-tmp, and must belong
| to  one  or more   of   the   following   namespaces:   the
| LANANA-assigned   namespace   (^[a-z0-9]+$); the   LSB  hierarchical
| and  reserved namespaces (^_?([a-z0-9_.]+-)+[a-z0-9]+$); and the
| Debian cron script namespace (^[a-z0-9][a-z0-9-]*$).

> Surely it would be better to put "tabooext + .cfsaved" in the master
> config's /etc/logrotate.conf and have that propagate round?

Currently we use /etc/logrotate.conf as shipped by logrotate.deb, and
distribute just some snippets in /etc/logrotate.d/.

> I'll bear this suggestion in mind for the next upload.

Thanks.

Christoph
-- 
[EMAIL PROTECTED] | http://www.df7cb.de/

Attachment: signature.asc
Description: Digital signature

Reply via email to