Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 691629 Details for
Bug 776010
start-stop-daemon ignores and doesn't stop namespaced services that have PIDs explicitly specified in a PID file
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix to not exclude specified PID
openrc-0.42.1-776010-fix.patch (text/plain), 518 bytes, created by
konsolebox
on 2021-03-15 20:12:58 UTC
(
hide
)
Description:
Fix to not exclude specified PID
Filename:
MIME Type:
Creator:
konsolebox
Created:
2021-03-15 20:12:58 UTC
Size:
518 bytes
patch
obsolete
>diff --git a/src/librc/librc-daemon.c b/src/librc/librc-daemon.c >index 863e80d1..0a0fbb8f 100644 >--- a/src/librc/librc-daemon.c >+++ b/src/librc/librc-daemon.c >@@ -160,7 +160,7 @@ rc_find_pids(const char *exec, const char *const *argv, uid_t uid, pid_t pid) > proc_ns[0] = '\0'; > } > free(buffer); >- if (strlen(my_ns) && strlen (proc_ns) && strcmp(my_ns, proc_ns)) >+ if (pid == 0 && strlen(my_ns) && strlen (proc_ns) && strcmp(my_ns, proc_ns)) > continue; > if (uid) { > xasprintf(&buffer, "/proc/%d", p);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 776010
: 691629