Bug#771393: anacron.service should set IgnoreSIGPIPE=no

2014-12-19 Thread intrigeri
Control: tag -1 + patch

Hi,

Alexandre Detiste wrote (29 Nov 2014 06:33:39 GMT) :
 anacron should set IgnoreSIGPIPE=no in it's systemd service file.

Makes sense. The suggested change would be (untested):

--- a/debian/anacron.service
+++ b/debian/anacron.service
@@ -5,6 +5,7 @@ ConditionACPower=true
 
 [Service]
 ExecStart=/usr/sbin/anacron -dsq
+IgnoreSIGPIPE=no
 
 [Install]
 WantedBy=multi-user.target


Cheers,
--
intrigeri


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



Bug#771393: anacron.service should set IgnoreSIGPIPE=no

2014-11-28 Thread Alexandre Detiste
Package: anacron
Version: 2.3-22
Severity: grave
Justification: renders package unusable

Dear Maintainer,

anacron should set IgnoreSIGPIPE=no in it's systemd service file.

cron already does this (see #756047)
 the compatibility generators too
grep PIPE /run/systemd/generator.late/*

Without this, simple shell scripts like yes | head fails.
because the 'yes' process here never receive the 'broken pipe' signal; and goes
on trashing the journal with I/O errors.

Sorry to think of this so late in the freeze.

Alexandre Detiste



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

Kernel: Linux 3.16.0-4-amd64 (SMP w/6 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


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