Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 767603 Details for
Bug 835814
sys-process/cronie-1.6.0: fails to start can't open or create /var/lib/run/crond.pid
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-sys-process-cronie-fix-cronie-pidfile-path
0001-sys-process-cronie-fix-cronie-pidfile-path.patch (text/plain), 1.48 KB, created by
Sam James
on 2022-03-22 22:11:49 UTC
(
hide
)
Description:
0001-sys-process-cronie-fix-cronie-pidfile-path
Filename:
MIME Type:
Creator:
Sam James
Created:
2022-03-22 22:11:49 UTC
Size:
1.48 KB
patch
obsolete
>From 0fdf2b89100f1a86c88100600b7803bbab8cd77c Mon Sep 17 00:00:00 2001 >From: Sam James <sam@gentoo.org> >Date: Tue, 22 Mar 2022 22:09:25 +0000 >Subject: [PATCH] sys-process/cronie: fix cronie pidfile path > >cronie's build system is using runstatedir to determine >where to place the PID file. On one of my systems, >this path _happens_ to exist because of thermald, >but it won't usually exist. > >We should set runstatedir to be "${EPREFIX}"/run >to store the PID file in the place the init script expects >(cronie hardcodes the value of runstatedir into the binary >to find where its pidfile is). > >Closes: https://bugs.gentoo.org/835814 >Bug: https://bugs.gentoo.org/685306 >Signed-off-by: Sam James <sam@gentoo.org> >--- > .../cronie/{cronie-1.6.0.ebuild => cronie-1.6.0-r1.ebuild} | 4 ++++ > 1 file changed, 4 insertions(+) > rename sys-process/cronie/{cronie-1.6.0.ebuild => cronie-1.6.0-r1.ebuild} (95%) > >diff --git a/sys-process/cronie/cronie-1.6.0.ebuild b/sys-process/cronie/cronie-1.6.0-r1.ebuild >similarity index 95% >rename from sys-process/cronie/cronie-1.6.0.ebuild >rename to sys-process/cronie/cronie-1.6.0-r1.ebuild >index 803851ce4c04d..d831d76473d31 100644 >--- a/sys-process/cronie/cronie-1.6.0.ebuild >+++ b/sys-process/cronie/cronie-1.6.0-r1.ebuild >@@ -42,6 +42,10 @@ src_prepare() { > > src_configure() { > local myeconfargs=( >+ # This path gets embedded into cronie and is used for pidfile >+ # bug #835814 >+ --runstatedir="${EPREFIX}"/run >+ > $(use_with inotify) > $(use_with pam) > $(use_with selinux)
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 835814
: 767603