Your message dated Sun, 08 Dec 2024 14:53:12 +0000
with message-id <e1tkiem-00e1s1...@fasolo.debian.org>
and subject line Bug#1079268: fixed in runit-services 0.8.0
has caused the Debian Bug report #1079268,
regarding runit-services: rsyslog postrotate action skipped - keeps writing on
rotated files
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.)
--
1079268: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1079268
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: runit-services
Version: 0.7.2
Severity: important
X-Debbugs-Cc: plore...@disroot.org
here is what happens:
* rsyslogd is run as a runit service
* rsyslog deb package ships a logrotate file that rotates
log files; as postrotate action, rsyslogd is HUPped, so
that it stops writing on rotated files and writes new files.
however recently rsyslog package removed the sysvscript and
the postrotate action is now effective only under systemd;
to counter this, orphan-sysvinit-scripts package installs a
diversion on the postorate script to restore the invoke-rc.d
call.
the problem is that none of the two works with the runit service,
so files are rotated but rsyslogd does ot receive the HUP signal
and keeps writing old (rotated) files.
the proper way would be to ask for some cooperation on rsyslog
deb package side, for example by allowing shell fragments in the
postrotate call (this way packages like runit-service and o-s-s
can just drop their shell fragment in the appropriate directory).
if that does not happens the fix gets ugly: ideally runit-services
should not conflict nor depends on orphan-sysvinit-scripts.
This is because runit is currently using initscipts as fallback for
when a native runscript is missing; on the other hand if all needed
rusncripts are available, having extra initscripts adds to the risk
to have coflicting instances of the same service.
Anyway, in case of a depends, the o-s-s diverted file need to be
adjusted to work with runit.
options left without adding conflicts/depends with o-s-s is to add
a diversion to the logrotate file itself, making sure that it does
work with runit and with sysvinit too; however this does not scale
well because other inits (openrc, s6) will be left without available
files to divert..
another option would be to ship our 'runit-rsyslog' logrotate script
in /etc/logrotate.d/ ; according to logrotate(8), "It will not modify
a log more than once in one day unless the criterion for that log is
based on the log's size and logrotate is being run more than once each
day, or unless the -f or --force option is used."
So to override the rsyslog package tha name should be something like
'aa-runit-rsyslog'.
(see also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1071395)
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.8.12-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: runit (via /run/runit.stopit)
LSM: AppArmor: enabled
Versions of packages runit-services depends on:
ii runit 2.1.2-60
ii runit-helper 2.16.3
Versions of packages runit-services recommends:
ii runit-init 2.1.2-60
Versions of packages runit-services suggests:
ii socklog 2.1.0+repack-5.1
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: runit-services
Source-Version: 0.8.0
Done: Lorenzo Puliti <plore...@disroot.org>
We believe that the bug you reported is fixed in the latest version of
runit-services, 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 1079...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Lorenzo Puliti <plore...@disroot.org> (supplier of updated runit-services
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: SHA256
Format: 1.8
Date: Thu, 21 Nov 2024 19:47:57 +0100
Source: runit-services
Architecture: source
Version: 0.8.0
Distribution: unstable
Urgency: medium
Maintainer: Lorenzo Puliti <plore...@disroot.org>
Changed-By: Lorenzo Puliti <plore...@disroot.org>
Closes: 1069188 1079268 1083206 1086143 1086144 1087204
Changes:
runit-services (0.8.0) unstable; urgency=medium
.
[ Lorenzo Puliti ]
* d/control: update Vcs fields
* bump Standards-Version to 4.7.0
* update lintian overrides
* create the sysv override directory in postinst,
remove in postrm (purge)
* fix purge logic
* NEWS for runit-services users: dhclient issues
* update d/copyright
* autopkgtest: add a test for binary path (see #1069075)
* all runfiles (source): use ##bin## placeholder
* Drop services-test autopkgtest, it doesn't work with salsa
* Anacron, apache2, cups, openntpd: add flagfiles to
forward invoke-rc.d calls
* elogind: force log to console and use svlogd
* drop wicd, package no longer in Debian
* override rsyslog logrotate file (Closes: #1079268)
* add smartmontools runscript.
Thanks to Dimitris T." <dimit...@stinpriza.org> (Closes: #1069188)
* add unbound runscript.
Thanks to Dimitris T." <dimit...@stinpriza.org> (Closes: #1083206)
* add docker runscript
.
[ Andrew Bower ]
* gpm: fix command line overquoting preventing start (Closes: #1086143)
* atd: fix daemon path, log to syslog
* exim4: fix exim4 launch with trixie default env (Closes: #1087204)
* add lldpd runscript
* isc-dhcp-server: add runscript for IPv6 interfaces (Closes: #1086144)
Checksums-Sha1:
0f20536d29d25d02f312f74da297625f6f9235e9 1076 runit-services_0.8.0.dsc
478015b7906c9386380a13ae5490cab67bb13058 19220 runit-services_0.8.0.tar.xz
b35b6e6dbc6998b864615fcd8b90ca647801e26b 5170
runit-services_0.8.0_amd64.buildinfo
Checksums-Sha256:
e1ced5da4f689499e014c976fd0ee512ddca3495cfed52f18a4cd42d0818b796 1076
runit-services_0.8.0.dsc
8dc2b543080625550e3859d49fe84c0333045286b8f9833cd631f83026fc8cb4 19220
runit-services_0.8.0.tar.xz
1a27219b9c2f4ba79cbbb7515f87274a9a4783f2649b0e8566becdba29e3d9cc 5170
runit-services_0.8.0_amd64.buildinfo
Files:
baf87bcf0b49e0ce2d6cefb2462b1f16 1076 admin optional runit-services_0.8.0.dsc
e724a961d730b66829e4c67e511bfcd8 19220 admin optional
runit-services_0.8.0.tar.xz
df80d20f21ee68e7befe2381486aee73 5170 admin optional
runit-services_0.8.0_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iIsEARYIADMWIQQUWTv/Sl6/b+DpcW7svtu2B7myvgUCZ1WmMxUcd2VyZGFoaWFz
QGRlYmlhbi5vcmcACgkQ7L7btge5sr6G1QD+OaxTbipqzNU6f2507IxVdAzJrS/H
bF/wctwnRk5vh3IA/33fIMVq1yrXQ94outZgfsBc/Jzf8rMsN9ApVssjiIkD
=UJHc
-----END PGP SIGNATURE-----
pgplR78Dh6tOk.pgp
Description: PGP signature
--- End Message ---