시스템이 사용자 프로세스를 종료할 수 없는 이유는 무엇입니까? "제어 그룹을 종료할 수 없습니다" "무시: 작업이 허용되지 않습니다"

시스템이 사용자 프로세스를 종료할 수 없는 이유는 무엇입니까? "제어 그룹을 종료할 수 없습니다" "무시: 작업이 허용되지 않습니다"

qemu사용자 범위 작업으로 시작합니다 .sytemd-run --user qemu-system... -pidfile pidfile

종료 시 systemd는 이를 종료할 수 없다고 주장하고(시도하지 않음) SIGKILLqemu를 제대로 종료하지 않고 pidfile을 보존하는 하나를 보냅니다.

$ journalctl --user -b -1
...
systemd[884]: run-r0d56e38ca97d4493a5f496a19d18f6ae.scope: Failed to kill control group /user.slice/user-1000.slice/[email protected]/app.slice/run-r0d56e38ca97d4493a5f496a19d18f6ae.scope, ignoring: Operation not permitted
systemd[884]: run-r0d56e38ca97d4493a5f496a19d18f6ae.scope: Killing process 23775 (qemu-system-x86) with signal SIGKILL.
systemd[884]: run-r0d56e38ca97d4493a5f496a19d18f6ae.scope: Killing process 23778 (kvm-nx-lpage-recovery-23775) with signal SIGKILL.
systemd[884]: run-r0d56e38ca97d4493a5f496a19d18f6ae.scope: Failed to kill control group /user.slice/user-1000.slice/[email protected]/app.slice/run-r0d56e38ca97d4493a5f496a19d18f6ae.scope, ignoring: Operation not permitted
systemd[884]: Stopped /usr/bin/qemu-system-x86_64 -pidfile pidfile ...
systemd[884]: run-r0d56e38ca97d4493a5f496a19d18f6ae.scope: Consumed 30.007s CPU time, 774.1M memory peak, 0B memory swap peak.

나는 실패한 문자열을 검색해 보았지만 "Failed to kill control group" "ignoring: Operation not permitted"어디에서나 결과가 0이었습니다.

프로세스는 사용자나 루트에 의해 쉽게 종료될 수 있습니다. 간단한 SIGTERM프로세스는 1ms 안에 끝납니다. 그래서 시간 초과도 되지 않습니다. 그런데 위의 모든 로그 줄은 같은 초 내에 발생합니다.

"작업이 허용되지 않음"의 원인은 무엇입니까?

관련 정보