Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Service stops every PaperPi process, also after kill -9 (M6)

Đang mở
#209 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
68/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
docker, dockerfile, python
Lĩnh vực
devops, infrastructure

Hướng nghiên cứu

Inspect the service definitions under install/ and the Dockerfile, starting with how the systemd unit and container main process handle child processes and stop signals. Add coverage for killing the main PaperPi process and stopping the container, then verify that plugin, forkserver, and resource-tracker processes also terminate while systemd retains KillMode=control-group.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

area:install

From the security review of the scheduler PR (#206).

What

When the main PaperPi process is killed hard (kill -9), its helper processes keep running: a hanging plugin process, the forkserver (the process that starts plugin processes) and Python's resource tracker. The service file must make the service manager stop every process of PaperPi, not only the main one:

  • systemd: keep the default KillMode=control-group (do not set process or none), and check it with a test that kills the main process.
  • Docker: the container's main process must pass stop signals on, and stopping the container must end all processes in it (e.g. --init / tini).

Area

install (install/, Dockerfile).

Ngôn ngữ chính
Python
Star
205
Fork
17
Merge trung bình
5 giờ 42 phút
Pull request đã merge (30 ngày)
50

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của txoof/PaperPi

Tất cả issue của txoof/PaperPi

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.