Your message dated Sun, 18 Sep 2011 10:23:37 +0200
with message-id <[email protected]>
and subject line Re: Bug#617810: exim4 postinst unconditionally trashes
permissions of log dir
has caused the Debian Bug report #617810,
regarding exim4 postinst unconditionally trashes permissions of log dir
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
617810: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=617810
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: exim4-base
Version: 4.69-9+lenny4
Tags: patch
I just did the exim4 security update and it reset the permissions of
my /var/log/exim4 to 600, due to this in the postinst:
install -d -oDebian-exim -gadm -m2750 /var/log/exim4
On my system the policy is that the logs are supposed to be readable.
I suggest this patch, as a band-aid.
Ian.
--- /usr/src/exim4-4.69/debian/exim4-base.postinst~ 2011-03-11
15:39:38.000000000 +0000
+++ /usr/src/exim4-4.69/debian/exim4-base.postinst 2011-03-11
15:45:36.000000000 +0000
@@ -20,6 +20,7 @@
fi
# Create directories for log etc
# install also fixes permissions.
+ test -d /var/log/exim4 || \
install -d -oDebian-exim -gadm -m2750 /var/log/exim4
install -d -oDebian-exim -gDebian-exim -m750 /var/run/exim4
install -d -oDebian-exim -gDebian-exim -m750 /var/spool/exim4
--- End Message ---
--- Begin Message ---
On 2011-04-16 Andreas Metzler <[email protected]> wrote:
> On 2011-03-11 Ian Jackson <[email protected]> wrote:
> > Package: exim4-base
> > Version: 4.69-9+lenny4
> > Tags: patch
> > I just did the exim4 security update and it reset the permissions of
> > my /var/log/exim4 to 600, due to this in the postinst:
> > install -d -oDebian-exim -gadm -m2750 /var/log/exim4
> > On my system the policy is that the logs are supposed to be readable.
> > I suggest this patch, as a band-aid.
> [...]
> Hello,
> You should be able to use dpkg-statoverride to preserve the
> permissions, exim4-base's postinst should respect that.
Closing.
--- End Message ---