On 2012-01-03T16:44:41-0000, Adam Gandelman <906...@bugs.launchpad.net> wrote:
> Hi Kenyon, thanks for reporting.  I'm having trouble reproducing your
> logrotate errors with puppet 2.7.1-1ubuntu3.2 on oneiric.  It appears
> the log directory is in fact created by the puppet-common package, on
> which both the puppet agent and puppetmaster packages depend on.
> Without later manually removing /var/log/puppet, I am unable to
> reproduce.   I've also confirmed that the corresponding logrotate config
> is removed on purge, so it should not be attempting rotation if the
> package is no longer installed / log directory removed during purge.
> 
> Can you specify with which version of the puppet package you've hit
> this?

Thanks for the reply. I didn't have any puppet packages installed when
I reported the bug, I guess that's why apport didn't report the
version. Anyway, it was the oneiric version, 2.7.1-1ubuntu3.2.

I just tried and was able to reproduce the logrotate error. Remove
puppet (and puppet-common) rather than purge, so the logrotate script
remains, but /var/log/puppet does not exist. Run sudo logrotate
/etc/logrotate.d/puppet after removing the packages to reproduce. Note
that I have not configured puppet at all, so /var/log/puppet is empty.

-- 
Kenyon Ralph

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/906735

Title:
  logrotate can't find /var/log/puppet if package was removed and that
  directory was empty

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/puppet/+bug/906735/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to