From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/sysklogd/files/, app-admin/sysklogd/
Date: Sun, 24 Nov 2019 13:25:39 +0000 (UTC) [thread overview]
Message-ID: <1574601933.0d3159ce3a0ba9d0d7d6daaabd4da6052fbc5784.polynomial-c@gentoo> (raw)
commit: 0d3159ce3a0ba9d0d7d6daaabd4da6052fbc5784
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 24 13:25:02 2019 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sun Nov 24 13:25:33 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d3159ce
app-admin/sysklogd: Revbump to set correct localstatedir path
This is required to not make syslogd bail out on startup if
/var/lib/run directory does not exist.
Reported-by: Holger Hoffstätte <holger <AT> applied-asynchrony.com>
Closes: https://bugs.gentoo.org/701048
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
app-admin/sysklogd/files/sysklogd.rc8 | 2 +-
app-admin/sysklogd/{sysklogd-2.0.ebuild => sysklogd-2.0-r1.ebuild} | 5 +++++
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/app-admin/sysklogd/files/sysklogd.rc8 b/app-admin/sysklogd/files/sysklogd.rc8
index a6590d725a6..920ab963326 100644
--- a/app-admin/sysklogd/files/sysklogd.rc8
+++ b/app-admin/sysklogd/files/sysklogd.rc8
@@ -34,7 +34,7 @@ start_daemon() {
ebegin "sysklogd -> start: ${daemon}"
start-stop-daemon --start --exec /usr/sbin/"${daemon}" \
-b -m --pidfile /var/run/"${daemon}".pid \
- -- ${fg_opt} ${options}
+ -- ${options} ${fg_opt}
retval=$?
eend ${retval} "Failed to start ${daemon}"
diff --git a/app-admin/sysklogd/sysklogd-2.0.ebuild b/app-admin/sysklogd/sysklogd-2.0-r1.ebuild
similarity index 87%
rename from app-admin/sysklogd/sysklogd-2.0.ebuild
rename to app-admin/sysklogd/sysklogd-2.0-r1.ebuild
index c69300ca428..d7a07507988 100644
--- a/app-admin/sysklogd/sysklogd-2.0.ebuild
+++ b/app-admin/sysklogd/sysklogd-2.0-r1.ebuild
@@ -41,6 +41,11 @@ src_prepare() {
src_configure() {
local myeconfargs=(
+ # Required for correct pid file location. (bug #701048)
+ # syslogd appends "/run/syslogd.pid" to the localstatedir
+ # path, and tries to write to that file even when being
+ # started in foreground. So we need to pin this to /
+ --localstatedir="${EPREFIX}"/
$(use_with klogd)
$(use_with logger)
$(use_with systemd systemd $(systemd_get_systemunitdir))
next reply other threads:[~2019-11-24 13:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-24 13:25 Lars Wendler [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-05-20 7:49 [gentoo-commits] repo/gentoo:master commit in: app-admin/sysklogd/files/, app-admin/sysklogd/ Lars Wendler
2020-01-05 13:17 Lars Wendler
2019-12-09 10:56 Lars Wendler
2019-12-02 9:23 Lars Wendler
2019-11-20 10:15 Lars Wendler
2017-01-17 17:39 Lars Wendler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1574601933.0d3159ce3a0ba9d0d7d6daaabd4da6052fbc5784.polynomial-c@gentoo \
--to=polynomial-c@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox