Your message dated Thu, 15 Dec 2022 19:36:41 +0000
with message-id <[email protected]>
and subject line Bug#1011771: fixed in logrotate 3.21.0-1
has caused the Debian Bug report #1011771,
regarding logrotate: On Ubuntu, an extra conf file is created
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.)


-- 
1011771: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1011771
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: logrotate
Version: 3.20.1-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu kinetic ubuntu-patch



-- Package-specific info:
Contents of /etc/logrotate.d
total 84
-rw-r--r-- 1 root root  120 Sep  5  2019 alternatives
-rw-r--r-- 1 root root  442 Apr 13  2020 apache2
-rw-r--r-- 1 root root  126 Dec  4  2019 apport
-rw-r--r-- 1 root root  173 Apr  9  2020 apt
-rw-r--r-- 1 root root 1170 Jan 19  2020 apt-cacher-ng
-rw-r--r-- 1 root root   91 Apr  1  2020 bootlog
-rw-r--r-- 1 root root  130 Jan 21  2019 btmp
-rw-r--r-- 1 root root  181 Feb 17  2020 cups-daemon
-rw-r--r-- 1 root root  112 Sep  5  2019 dpkg
-rw-r--r-- 1 root root  165 Oct  8  2020 libvirtd
-rw-r--r-- 1 root root  149 Oct  8  2020 libvirtd.libxl
-rw-r--r-- 1 root root  147 Oct  8  2020 libvirtd.lxc
-rw-r--r-- 1 root root  540 Oct  8  2020 libvirtd.qemu
-rw-r--r-- 1 root root   94 Feb  8  2019 ppp
-rw-r--r-- 1 root root  501 Mar  7  2019 rsyslog
-rw-r--r-- 1 root root  677 Nov 28  2019 speech-dispatcher
-rw-r--r-- 1 root root  244 Oct  6  2021 ubuntu-advantage-tools
-rw-r--r-- 1 root root  178 Jan 21  2020 ufw
-rw-r--r-- 1 root root  235 Apr 13  2020 unattended-upgrades
-rw-r--r-- 1 root root  297 Jan  5  2020 winbind
-rw-r--r-- 1 root root  145 Feb 19  2018 wtmp



*** /tmp/tmpmw3qw25y/bug_body

In Ubuntu, the attached patch was applied to achieve the following:

The sed command in debian/rules was creating an extra "logrotate.confe"
backup file by mistake.

  * debian/rules: fix sed syntax to not end up with a backup file.


Thanks for considering the patch.


-- System Information:
Debian Release: bullseye/sid
  APT prefers focal-updates
  APT policy: (500, 'focal-updates'), (500, 'focal-security'), (500, 'focal'), 
(100, 'focal-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.13.0-39-generic (SMP w/8 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_CA:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru logrotate-3.20.1/debian/rules logrotate-3.20.1/debian/rules
--- logrotate-3.20.1/debian/rules       2022-05-25 18:15:57.000000000 -0400
+++ logrotate-3.20.1/debian/rules       2022-05-26 10:33:29.000000000 -0400
@@ -15,6 +15,6 @@
 # because that's where Ubuntu had been adding these lines
 execute_after_dh_install:
 ifeq ($(shell dpkg-vendor --query vendor),Ubuntu)
-       sed -ie "6r debian/ubuntu-logrotate.conf" \
+       sed -i -e "6r debian/ubuntu-logrotate.conf" \
                debian/logrotate/etc/logrotate.conf
 endif

--- End Message ---
--- Begin Message ---
Source: logrotate
Source-Version: 3.21.0-1
Done: Christian Göttsche <[email protected]>

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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christian Göttsche <[email protected]> (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 [email protected])


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

Format: 1.8
Date: Wed, 14 Dec 2022 19:16:50 +0100
Source: logrotate
Architecture: source
Version: 3.21.0-1
Distribution: unstable
Urgency: medium
Maintainer: Christian Göttsche <[email protected]>
Changed-By: Christian Göttsche <[email protected]>
Closes: 1011771 1015964
Changes:
 logrotate (3.21.0-1) unstable; urgency=medium
 .
   * New upstream version 3.21.0 (Closes: #1015964)
 .
   [ Marc Deslauriers ]
   * d/rules: fix sed syntax to not end up with a backup file (Closes: #1011771)
 .
   [ Christian Göttsche ]
   * d/watch: rework after GitHub API change
   * d/s/lintian-overrides: update format
Checksums-Sha1:
 27a59f2bc5b1854f05671dafcdf1e2ff63606e72 2230 logrotate_3.21.0-1.dsc
 7d6edd5e0d7225834c522412b916df70cc5912d7 231500 logrotate_3.21.0.orig.tar.gz
 3e65c01c14d7a58f5a02dfbfe1a149784e0d8b7e 833 logrotate_3.21.0.orig.tar.gz.asc
 a629851af9598e31ecca672e876ec8ec10ef4a99 19676 logrotate_3.21.0-1.debian.tar.xz
 157c0664baffe54d212ae1baa622bcb71ebd2e57 5988 
logrotate_3.21.0-1_source.buildinfo
Checksums-Sha256:
 ffacbf8281bd9bd85be49cda2a6a14c4b094c693819f3ca268e1c9dc908ca824 2230 
logrotate_3.21.0-1.dsc
 1680947a9431de1aaa629fedde358696ff49a808ae903feecf996682949e3cff 231500 
logrotate_3.21.0.orig.tar.gz
 72867e293093e86448238e6be1a1c967d308a3cfa6e775ecce0ccd29b2a17eee 833 
logrotate_3.21.0.orig.tar.gz.asc
 0b3d414f1e133596f8a71c555977a7d54083371a84d76da7cd2e99055006839e 19676 
logrotate_3.21.0-1.debian.tar.xz
 713921b4d4bc995e9c2f6433918e8f04f43b016db808a9395881ba1aa7be3736 5988 
logrotate_3.21.0-1_source.buildinfo
Files:
 4a1775556d65acdf80d194290432138b 2230 admin important logrotate_3.21.0-1.dsc
 4dc63166a40087b2052051c707f791dd 231500 admin important 
logrotate_3.21.0.orig.tar.gz
 1281fe917d931710a972b04316800f1c 833 admin important 
logrotate_3.21.0.orig.tar.gz.asc
 acf703d02ee43766027831f367d2052f 19676 admin important 
logrotate_3.21.0-1.debian.tar.xz
 ed27d0d6557696a7575bd29b08d77c8a 5988 admin important 
logrotate_3.21.0-1_source.buildinfo

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

iQIzBAEBCgAdFiEEkjZVexcMh/iCHArDweDZLphvfH4FAmObcCIACgkQweDZLphv
fH5Dlw/9HAZL0nZ04xv4+CPkvmuFOF2/vQuEuV+EcjJwfodxDW2gwy1P5nG8/Pwk
GppK8UahueWAsynHtCtZwpBgs7C4NNKjneGyl4ZohK9gssaP/ix9uJpC0TgqBJYC
TXeQM82PrIBjuxCxj9+5gCHu9Wx7+AR4YzZtmaVBsaf4FXfQIfb9Pe1ZmYKB0w9m
hIDRkxDU5koSDMHPkc/079fQQJh7gwmJBuTpQsbFFGRJXo+UWkoJ5OHBrwUEQXe2
ddt0rQtYr3BfJ8g9/UFNPiqW2k+3BSk30np0P8qqfzFRxA3kIGg0AZjgulqjatk7
fHBIj2oB5YkvDDmewa5X2nWrpFV+fsY+2cx0TGohcIFMRER6e5nD6i4PmUOxb289
iREIeU7V5rA4QuKnVz/HlrPXF3gZ+A1Cf+AN720DQn9CLhH6NxL0OmeKO9grAuFJ
uZ0N9o1k6HoMBVqjL6JFg9DMCdCN84iD5iSNJ0Bdwc0N21jJ9SMITRz9YRb9cOMx
EGj8xzzxqBEOyImMjYkrfZhqC3r6UPvcyBUwaUcNMDwsARZw2lggEzzbo3ql0Z/q
lcoi08CBpy3s8+k8DNDHqmDs5TRETnv3GwHYZOs+1jfE93HZP2PDBeDBDgyi+FLk
zQ8OYlvAvh37oiYccUyo4vZr00eRTjiIfjZ0cUoZMu9qk5LKXvA=
=UoQo
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to