wrong process name match in logrotate script
Bug #1410383 reported by
Bartosz Cisek
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet (Debian) |
Fix Released
|
Unknown
|
|||
puppet (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned |
Bug Description
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
Description: Ubuntu 14.04.1 LTS
Release: 14.04
puppetmaster:
Installed: 3.4.3-1
Candidate: 3.4.3-1
Version table:
*** 3.4.3-1 0
500 http://
100 /var/lib/
Related branches
lp:~bartoszcisek/ubuntu/trusty/puppet/bug-1410383
- Marc Deslauriers: Approve
-
Diff: 25 lines (+7/-1)2 files modifieddebian/changelog (+6/-0)
debian/puppetmaster.logrotate (+1/-1)
lp:~bartoszcisek/ubuntu/vivid/puppet/bug-1410383
- Marc Deslauriers: Approve
-
Diff: 25 lines (+7/-1)2 files modifieddebian/changelog (+6/-0)
debian/puppetmaster.logrotate (+1/-1)
tags: | added: patch |
Changed in puppetmaster (Ubuntu): | |
importance: | Undecided → High |
status: | New → Triaged |
affects: | puppetmaster (Ubuntu) → puppet (Ubuntu) |
Changed in puppet (Debian): | |
status: | Unknown → New |
tags: |
added: verification-done removed: verification-needed vivid |
Changed in puppet (Debian): | |
status: | New → Fix Committed |
Changed in puppet (Debian): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
It'd be good to forward this to Debian as they are also affected. A cursory inspection of bug reports about puppet didn't reveal one with the same issue.