tmpreaper --runtime limit/exit does not stop its children

Bug #1473182 reported by Neil Harkins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tmpreaper (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hello, we see tmpreaper children still running after its parent exits due to
hitting the --runtime arg limit, but expect them to exit along with the parent:

CMD=/usr/sbin/tmpreaper --protect hsperfdata*/* --runtime=300 --ctime 15d /tmp/
DURATION=300.06secs
OUTPUT=
error: run time exceeded!
This may be indicative of an attack to use tmpreaper to remove critical files;
or the directories to clean up are excessive large and/or messed up.
Please investigate.

jenkins01$ ps xao pid,ppid,pgid,sid,cmd | grep tmpreaper
 17797 1 17635 17635 /usr/sbin/tmpreaper --protect hsperfdata*/* --runtime=300 --ctime 15 /tmp/
 56784 17797 17635 17635 /usr/sbin/tmpreaper --protect hsperfdata*/* --runtime=300 --ctime 15 /tmp/
 84772 56784 17635 17635 /usr/sbin/tmpreaper --protect hsperfdata*/* --runtime=300 --ctime 15 /tmp/
 84775 84772 17635 17635 /usr/sbin/tmpreaper --protect hsperfdata*/* --runtime=300 --ctime 15 /tmp/
 84777 84775 17635 17635 /usr/sbin/tmpreaper --protect hsperfdata*/* --runtime=300 --ctime 15 /tmp/
 84779 84777 17635 17635 /usr/sbin/tmpreaper --protect hsperfdata*/* --runtime=300 --ctime 15 /tmp/

jenkins01$ lsb_release -rd
Description: Ubuntu 12.04.5 LTS
Release: 12.04

jenkins01$ apt-cache policy tmpreaper
tmpreaper:
  Installed: 1.6.13+nmu1

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.