-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Package: procps
Version: 2:3.3.11-3
Severity: normal

While it is common to redirect stdout of pgrep to /dev/null, the better
way is to close that file descriptor prior to call pgrep if only return
code is needed.

But (at least) pgrep does fail in such a case with error "pgrep: write
error: Ungültiger Dateideskriptor" and return code of 1.

Please make pgrep to not fail when there is no stdout (and/or stderr).

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

Kernel: Linux 4.5.7 (SMP w/8 CPU cores)
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages procps depends on:
ii  initscripts   2.88dsf-59.6
ii  libc6         2.22-12
ii  libncurses5   6.0+20160319-2
ii  libncursesw5  6.0+20160319-2
ii  libprocps5    2:3.3.11-3
ii  libtinfo5     6.0+20160319-2
ii  lsb-base      9.20160601

Versions of packages procps recommends:
ii  psmisc  22.21-2.1+b1

procps suggests no packages.

- -- Configuration Files:
/etc/sysctl.conf changed:
net.ipv4.conf.default.rp_filter=1
net.ipv4.conf.all.rp_filter=1
net.ipv4.tcp_syncookies=1
net.ipv4.icmp_echo_ignore_broadcasts = 1
kernel.panic = 30
net.ipv4.tcp_ecn = 1
net.ipv4.tcp_fastopen = 1


- -- no debconf information

- -- 
Klaus Ethgen                              http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16   Klaus Ethgen <kl...@ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Charset: ISO-8859-1

iQGcBAEBCgAGBQJXaih0AAoJEKZ8CrGAGfas6DEL/0GSBtyN1S20K9q1N6E1qNS0
gjXw/TV8iB9y6PNUfEdpoHl+P7M1p+IBpASECnAI4b6rHVq9LKPvZvxRaSM+yRr4
sd9Tt3j0AUUM5iwNwkW4IZQwQi2TWzD5hhYXvSdSuKF8Txf70vj7+9UEXgj3di9w
u8+NZ4L03w4juLAzs6NlaaD/2bq5OPonDuXBSRNwIcVlWR6Aao/PaVdmAC0ETpZN
8xLeNXEwXj8cl2U8Nb0rFdjjMnC+R+q2WFpefiHsPee0z0Mx1onqOTnklWDDC7ZB
9X5WX4/SU5vUV70ugXMhjPH6SBdHzdsxC6dIu1YG3J4KWnYg6OJcxZQtGiJwjI/B
9jSeQa4erNSQyd5HbjYPvCZiW8if+APpFygkOsTJ0S/+aDP+xe1q1JmqHFA2mgz2
f5xfIGm9VtQV+yDZqwUJnZqy9Preb1a00yBJ9yjTII7LHN7JOV5PC9p+0Xzo73lm
z/2xjPYnQEciGg82KPRG4qsgTfwq3EcuqgXq7VBrcw==
=dGg+
-----END PGP SIGNATURE-----

Reply via email to