Github messages for voidlinux
 help / color / mirror / Atom feed
From: jirutka <jirutka@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] iwd: add vlogger for iwd and ead services
Date: Tue, 13 Jul 2021 02:12:51 +0200	[thread overview]
Message-ID: <20210713001251.lbfODbXK4vyWgj3wTYXrYbx3lcf6xszuNl1pj_PlgN4@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31931@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 698 bytes --]

There is an updated pull request by jirutka against master on the void-packages repository

https://github.com/jirutka/void-packages iwd-log
https://github.com/void-linux/void-packages/pull/31931

iwd: add vlogger for iwd and ead services
iwd and ead does not log into syslog, just stderr.

<!-- Mark items with [x] where applicable -->

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

/cc @ericonr 

A patch file from https://github.com/void-linux/void-packages/pull/31931.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-iwd-log-31931.patch --]
[-- Type: text/x-diff, Size: 2037 bytes --]

From bdf7b02f8eb1231414c10b94c4f47acab18004bc Mon Sep 17 00:00:00 2001
From: Jakub Jirutka <jakub@jirutka.cz>
Date: Tue, 13 Jul 2021 02:09:08 +0200
Subject: [PATCH] iwd: add vlogger for iwd and ead services

iwd and ead does not log into syslog, just stderr.
---
 srcpkgs/iwd/files/ead/log/run | 2 ++
 srcpkgs/iwd/files/ead/run     | 2 +-
 srcpkgs/iwd/files/iwd/log/run | 2 ++
 srcpkgs/iwd/files/iwd/run     | 2 +-
 srcpkgs/iwd/template          | 2 +-
 5 files changed, 7 insertions(+), 3 deletions(-)
 create mode 100755 srcpkgs/iwd/files/ead/log/run
 create mode 100755 srcpkgs/iwd/files/iwd/log/run

diff --git a/srcpkgs/iwd/files/ead/log/run b/srcpkgs/iwd/files/ead/log/run
new file mode 100755
index 000000000000..22cce06edfd9
--- /dev/null
+++ b/srcpkgs/iwd/files/ead/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -p daemon.info -t ead
diff --git a/srcpkgs/iwd/files/ead/run b/srcpkgs/iwd/files/ead/run
index 0eabeb81ce80..be32e2dbfa37 100644
--- a/srcpkgs/iwd/files/ead/run
+++ b/srcpkgs/iwd/files/ead/run
@@ -1,3 +1,3 @@
 #!/bin/sh
 [ -r ./conf ] && . conf
-exec /usr/libexec/ead ${OPTS}
+exec /usr/libexec/ead ${OPTS} 2>&1
diff --git a/srcpkgs/iwd/files/iwd/log/run b/srcpkgs/iwd/files/iwd/log/run
new file mode 100755
index 000000000000..1e182b5a754e
--- /dev/null
+++ b/srcpkgs/iwd/files/iwd/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -p daemon.info -t iwd
diff --git a/srcpkgs/iwd/files/iwd/run b/srcpkgs/iwd/files/iwd/run
index de3d52010360..f42e3cfc4ffa 100755
--- a/srcpkgs/iwd/files/iwd/run
+++ b/srcpkgs/iwd/files/iwd/run
@@ -1,3 +1,3 @@
 #!/bin/sh
 [ -r ./conf ] && . ./conf
-exec /usr/libexec/iwd ${OPTS}
+exec /usr/libexec/iwd ${OPTS} 2>&1
diff --git a/srcpkgs/iwd/template b/srcpkgs/iwd/template
index d98c4010fed6..9eb71aebd08c 100644
--- a/srcpkgs/iwd/template
+++ b/srcpkgs/iwd/template
@@ -1,7 +1,7 @@
 # Template file for 'iwd'
 pkgname=iwd
 version=1.15
-revision=2
+revision=3
 build_style=gnu-configure
 configure_args="--disable-systemd-service --enable-pie
  --enable-dbus-policy --enable-wired"

  reply	other threads:[~2021-07-13  0:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-13  0:10 [PR PATCH] " jirutka
2021-07-13  0:12 ` jirutka [this message]
2021-07-22 14:24 ` [PR PATCH] [Merged]: " ahesford

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=20210713001251.lbfODbXK4vyWgj3wTYXrYbx3lcf6xszuNl1pj_PlgN4@z \
    --to=jirutka@users.noreply.github.com \
    --cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).