[Pkg-puppet-devel] Bug#611615: puppetmaster logrotate script conflicts with puppet's one

Gabriel Filion lelutin at gmail.com
Mon Jan 31 10:00:15 UTC 2011


Package: puppetmaster
Version: 2.6.2-4
Severity: normal


puppetmaster installs a logrotate file that defines a rule for
/var/log/puppet/masterhttp.log

however, the puppet package installs a file, too, in which rules are set
for /varl/log/puppet/*.log.

This creates a conflict and logrotate exits with the following error:

/etc/cron.daily/logrotate:
error: puppetmaster:1 duplicate log entry for
/var/log/puppet/masterhttp.log
error: found error in /var/log/puppet/masterhttp.log , skipping

Also, the logrotate script installed by 'puppet' already restarts
puppetmaster.

-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-openvz-686 (SMP w/1 CPU core)
Locale: LANG=en_CA.utf8, LC_CTYPE=en_CA.utf8 (charmap=locale: Cannot set
LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages puppetmaster depends on:
ii  facter                       1.5.7-3     a library for retrieving
facts fro
ii  lsb-base                     3.2-27      Linux Standard Base 3.2
init scrip
ii  puppet-common                2.6.2-4     Centralized configuration
manageme
ii  ruby1.8                      1.8.7.302-2 Interpreter of
object-oriented scr

Versions of packages puppetmaster recommends:
ii  libldap-ruby1.8               0.9.7-1.1  OpenLDAP library binding
for Ruby ii  rails                         2.3.5-1.2  MVC ruby based
framework geared fo
ii  ruby [rdoc]                   4.5        An interpreter of
object-oriented
Versions of packages puppetmaster suggests:
pn  apache2 | nginx               <none>     (no description available)
ii  libactiverecord-ruby1.8       2.3.5-1.2  ORM database interface for ruby
pn  libapache2-mod-passenger      <none>     (no description available)
ii  libmysql-ruby1.8              2.8.2-1    MySQL module for Ruby 1.8
ii  librack-ruby                  1.1.0-4    A modular Ruby webserver
interface
pn  libstomp-ruby1.8              <none>     (no description available)
pn  mongrel                       <none>     (no description available)
pn  puppet-el                     <none>     (no description available)
pn  stompserver                   <none>     (no description available)
ii  vim-puppet                    2.6.2-4    syntax highlighting for
puppet man

-- Configuration Files:
/etc/logrotate.d/puppetmaster [Errno 2] No such file or directory:
u'/etc/logrotate.d/puppetmaster'
/etc/puppet/fileserver.conf changed [not included]

-- debconf information excluded






More information about the Pkg-puppet-devel mailing list