Package: util-linux
Version: 2.26.2-6
Severity: wishlist

I've got a long-running thing, something like this, in shell:

( (foo | bar) 2>&1 | logger -t blah ) &

Now, while this is running, I can send one of the foo or bar
programs a signal to dump statistics, and this is written to
syslog by logger(1). So far, so well. Unfortunately, recently
inetutils-syslogd was updated (and thus restarted), and ever
since, the messages have ceased.

Looking at /proc/*/fd/ the connection is open only one-sided.

I wish for logger to either restart the connection by itself
or offer something like SIGUSR1 to do so, for such scenarios.
The alternative, in shell, would be…

( (foo | bar) 2>&1 | while IFS= read -r; do logger -t blah "$REPLY"; done ) &

… which would be a true waste of CPU time (and pid space),
as logger otherwise fully implements this itself. Hence, I
set the priority to “wishlist”.

Thanks in advance!

-- System Information:
Debian Release: stretch/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'buildd-unstable'), (500, 'unstable')
Architecture: x32 (x86_64)
Foreign Architectures: i386, amd64

Kernel: Linux 4.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)

Versions of packages util-linux depends on:
ii  initscripts     2.88dsf-59.2
ii  libblkid1       2.26.2-6
ii  libc6           2.19-18
ii  libfdisk1       2.26.2-6
ii  libmount1       2.26.2-6
ii  libncurses5     5.9+20150516-2
ii  libpam0g        1.1.8-3.1
ii  libselinux1     2.3-2
ii  libslang2       2.3.0-2
ii  libsmartcols1   2.26.2-6
ii  libtinfo5       5.9+20150516-2
ii  libuuid1        2.26.2-6
ii  lsb-base        4.1+Debian13+nmu1
ii  sysvinit-utils  2.88dsf-59.2
ii  tzdata          2015d-1
ii  zlib1g          1:1.2.8.dfsg-2+b1

util-linux recommends no packages.

Versions of packages util-linux suggests:
ii  dosfstools          3.0.28-1
ii  kbd                 1.15.5-2
pn  util-linux-locales  <none>

-- debconf information:
  util-linux/noauto-with-nonzero-passnum:


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to