Your message dated Wed, 29 Aug 2018 09:19:26 +0000
with message-id <e1fuwdk-000hab...@fasolo.debian.org>
and subject line Bug#907505: fixed in logrotate 3.14.0-4
has caused the Debian Bug report #907505,
regarding /bin/gzip: error while loading shared libraries: cannot restore 
segment prot after reloc
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 ow...@bugs.debian.org
immediately.)


-- 
907505: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=907505
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: logrotate
Version: 3.14.0-3
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

Yesterday on my servers the logrotate package was updated. The change in this
upgrade was the migration from invocation by cron to a systemd timer. This
night logrotate tried to run and do its job, and failed:

Aug 28 00:00:01 fu.fsck.at logrotate[14276]: error: Compressing program wrote 
following message to stderr when compressing log /var/log/syslog.1:
Aug 28 00:00:01 fu.fsck.at logrotate[14276]: /bin/gzip: error while loading 
shared libraries: cannot restore segment prot after reloc: Operation not 
permitted
Aug 28 00:00:01 fu.fsck.at logrotate[14276]: error: failed to compress log 
/var/log/syslog.1

I encountered this error on all i686 systems, but not on the amd64 systems.

Some results from googling indicate that this might be related to SELinux.
I do not use SELinux, but apparmor. However, there are no rules active
related to logrotate or gzip.

After reading https://github.com/systemd/systemd/issues/5400 I suspect that
MemoryDenyWriteExecute in the logrotate.service file is causing this.


-- Package-specific info:
Contents of /etc/logrotate.d
total 40
-rw-r--r-- 1 root root 120 Oct 21  2017 alternatives
-rw-r--r-- 1 root root 442 Sep  3  2017 apache2
-rw-r--r-- 1 root root 173 Aug  6  2012 apt
-rw-r--r-- 1 root root 130 Aug 21 22:23 btmp
-rw-r--r-- 1 root root 112 Oct 21  2017 dpkg
-rw-r--r-- 1 root root 313 Mar 19  2014 fail2ban
-rw-r--r-- 1 root root 120 Nov 27  2014 munin-node
-rw-r--r-- 1 root root 501 Jul  1  2017 rsyslog
-rw-r--r-- 1 root root 235 May 27  2015 unattended-upgrades
-rw-r--r-- 1 root root 145 Feb 19  2018 wtmp


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 4.17.0-3-686-pae (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages logrotate depends on:
ii  cron [cron-daemon]  3.0pl1-130
ii  libacl1             2.2.52-3+b1
ii  libc6               2.27-5
ii  libpopt0            1.16-11
ii  libselinux1         2.8-1+b1
ii  systemd-sysv        239-7

Versions of packages logrotate recommends:
ii  bsd-mailx [mailx]  8.1.2-0.20180807cvs-1

logrotate suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: logrotate
Source-Version: 3.14.0-4

We believe that the bug you reported is fixed in the latest version of
logrotate, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 907...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christian Göttsche <cgzo...@googlemail.com> (supplier of updated logrotate 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Wed, 29 Aug 2018 00:21:11 +0200
Source: logrotate
Binary: logrotate
Architecture: source
Version: 3.14.0-4
Distribution: unstable
Urgency: medium
Maintainer: Christian Göttsche <cgzo...@googlemail.com>
Changed-By: Christian Göttsche <cgzo...@googlemail.com>
Description:
 logrotate  - Log rotation utility
Closes: 730420 907505
Changes:
 logrotate (3.14.0-4) unstable; urgency=medium
 .
   * d/control:
     - add Multi-Arch: foreign (Closes: #730420)
     - bump to std version 4.2.1 (no further changes)
   * d/tests:
     - fix and add simple test
   * d/patches: drop MemoryDenyWriteExecute from systemd service (Closes:
     #907505)
Checksums-Sha1:
 cbbd2c60c348889cb6ba3924ec1a64118e1919a3 1943 logrotate_3.14.0-4.dsc
 dc16bea61c2349a7006458dbd5d24efa483c667c 18048 logrotate_3.14.0-4.debian.tar.xz
 dfbf6afed82773b1bd3a9f8bb46336d29f591b6d 6231 
logrotate_3.14.0-4_amd64.buildinfo
Checksums-Sha256:
 614754bdfb27ff06772bfbddd288aada8f535791607d5c8df0e6ef3287af091d 1943 
logrotate_3.14.0-4.dsc
 5e090db90429bdbacc2e7685c3115597507137d90e7d915a23234c75623fb193 18048 
logrotate_3.14.0-4.debian.tar.xz
 8768ce88e17b38ef408354f6bdf83cafd1bb3fe6bad61b7d5f5f29dec66c449b 6231 
logrotate_3.14.0-4_amd64.buildinfo
Files:
 195e2f11777052a88ae6b55a133c50b8 1943 admin important logrotate_3.14.0-4.dsc
 f15c86ef6c2be288cbcb7b2b559a5b88 18048 admin important 
logrotate_3.14.0-4.debian.tar.xz
 f846203f6d3538070260edb447996d09 6231 admin important 
logrotate_3.14.0-4_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE+uHltkZSvnmOJ4zCC8R9xk0TUwYFAluGYDYACgkQC8R9xk0T
UwYHNw/+NRAa6+/cXoKJeDuadi0qMDCfPAdLpzkNbQO/1P5ZCmvv421PO0HGM+Jk
CoS3Q5i9He+j1fYTHIHnZkLHzVym9Cwwgu5bbtM3nbKiG4Tf8i906wBAmg4Kyp8G
nZrBIDA1bTPj36GacPqW8zdcvAOXJ6PgTvou9qx8myXNyhMjtZBmVX7DVIqAw7EA
Hp9oebhhl1qtCRq4wb5p7jUNfgRAPbxT55I5LGvHiB7IO2jaXejwaMOkuowgBF1C
6FAO0U3s5qAbbs2Hz0ossvPFUkH0qQs+TbOe9idpvAlI/O4e78Tay9qJitmR8AXN
1ZCHBs1MuX8jt0qq7K3M5z5PrZVf0GnWS6WJ+v35qBEWzZZtIbd1WFt7M83qE4T7
5RegK9srBIgFUWpH4PJHF/rV4m97LgBabADbrrh/rHsicQ7QsgINriRyDePBv626
7RgoUb2ObCwhceLxKkJfvvsA5ypD6tJHxi8WUyyyV6czU8unYEQNsIpWsss/gSTN
wYR90qzAiVglrMmJ/wolVQUsoNAafoNHXadNn7uDCISe/pOs0XXDAJN7DpN+SIXS
rYIUjBOkwIAuOlsQ34P+mjlE75HlficH8f8+yb4UeWu2INk0azATH0VsYrDqsD0P
/uVypON/TwGqrGYSqIKkeLeYOWCp7poh8b8ztrVCsD7i48qhKpU=
=jC+U
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to