[Pkg-puppet-devel] Bug#780847: puppetmaster: wrong process name match in logrotate script
Bartosz Cisek
bartoszcisek at bartoszcisek.pl
Fri Mar 20 13:25:46 UTC 2015
Package: puppetmaster
Version: 3.7.2-3
Severity: important
Tags: patch
Logrotate scrpit supplied by puppetmaster package tries to send signal after rotating logs. Unfortunately it matches against process name that doesn't exists. As a result puppet master process doesn't release log file descriptor that grows infinitely.
There is:
pkill -USR2 -u puppet -f puppetmasterd || true
While it should be:
pkill -USR2 -u puppet -f "puppet master" || true
Bug was originally reported in Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/puppet/+bug/1410383
-- System Information:
Debian Release: 8.0
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages puppetmaster depends on:
ii init-system-helpers 1.22
ii puppetmaster-common 3.7.2-3
ii ruby 1:2.1.5
ii ruby2.1 [ruby-interpreter] 2.1.5-1
puppetmaster recommends no packages.
puppetmaster suggests no packages.
-- no debconf information
More information about the Pkg-puppet-devel
mailing list