On Wed, 06 Feb 2013, Alexander Wirt wrote:
> On Wed, 06 Feb 2013, Michael Stapelberg wrote:
>
> > On Mon, 14 Jan 2013 12:02:35 +0100
> > Peter Palfrader wrote:
> > > so the postinst does effectively sed < $file > $file, and we all know
> > > that this doesn't work and results in $file being empt
On Wed, 06 Feb 2013, Michael Stapelberg wrote:
> On Mon, 14 Jan 2013 12:02:35 +0100
> Peter Palfrader wrote:
> > so the postinst does effectively sed < $file > $file, and we all know
> > that this doesn't work and results in $file being empty at the end.
> I can reproduce this issue.
>
> Alexand
On Mon, 14 Jan 2013 12:02:35 +0100
Peter Palfrader wrote:
> so the postinst does effectively sed < $file > $file, and we all know
> that this doesn't work and results in $file being empty at the end.
I can reproduce this issue.
Alexander, since you uploaded the last icinga packages, are you going
Package: icinga-common
Version: 1.7.1-4
Severity: serious
Tags: patch
icinga-common's postinst has the following construct:
| cp -a -f "$conffile" "$conffile".tmp
| sed -e ... < "$conffile" > "$conffile.tmp"
In my case, $conffile is a symlink:
} lrwxrwxrwx 1 root root 26 Nov 1 15:11 /etc/icinga
4 matches
Mail list logo