Package: oidentd
Version: 2.5.0-1
Distribution: Debian Testing x86-64

With recent upgrades, I've had to change a couple of files to get oidentd
logging to syslog again.  Is there any way to make these the default options
below or an option in /etc/default/oidentd such that logging oidentd to
syslog works by default?

$ sudo diff -u   ./lib/systemd/system/oidentd\@.service
/root/oidentd\@.service
--- ./lib/systemd/system/[email protected]       2019-09-09
17:36:41.000000000 -0400
+++ /root/[email protected]      2020-06-19 04:37:17.426579305 -0400
@@ -4,7 +4,7 @@
 [Service]
 Environment=OIDENT_USER=nobody OIDENT_GROUP=nogroup
 EnvironmentFile=-/etc/default/oidentd
-ExecStart=/bin/sh -c "exec /usr/sbin/oidentd -IS ${OIDENT_OPTIONS} -u
\"${OIDENT_USER}\" -g \"${OIDENT_GROUP}\" \
+ExecStart=/bin/sh -c "exec /usr/sbin/oidentd -I ${OIDENT_OPTIONS} -u
\"${OIDENT_USER}\" -g \"${OIDENT_GROUP}\" \
  `[ \"${OIDENT_BEHIND_PROXY}\" = \"yes\" ] && ip route show to exact 0/0 |
awk '{print \"-P \" $3}'`"
 StandardInput=socket
 StandardError=syslog

$ sudo diff -u   ./lib/systemd/system/oidentd.service /root/oidentd.service
--- ./lib/systemd/system/oidentd.service        2019-09-09
17:36:41.000000000 -0400
+++ /root/oidentd.service       2020-06-19 04:36:47.393887195 -0400
@@ -5,7 +5,7 @@
 [Service]
 Environment=OIDENT_USER=nobody OIDENT_GROUP=nogroup
 EnvironmentFile=-/etc/default/oidentd
-ExecStart=/bin/sh -c "exec /usr/sbin/oidentd -S ${OIDENT_OPTIONS} -u
\"${OIDENT_USER}\" -g \"${OIDENT_GROUP}\" \
+ExecStart=/bin/sh -c "exec /usr/sbin/oidentd ${OIDENT_OPTIONS} -u
\"${OIDENT_USER}\" -g \"${OIDENT_GROUP}\" \
  `[ \"${OIDENT_BEHIND_PROXY}\" = \"yes\" ] && ip route show to exact 0/0 |
awk '{print \"-P \" $3}'`"
 ExecReload=/bin/kill -HUP $MAINPID
 Restart=on-failure

Justin.

Reply via email to