Your message dated Sun, 12 May 2024 16:31:46 +0000 with message-id <E1s6C70-0003Yc-P4@fasolo.debian.org> and subject line Bug#1056122: fixed in slurm-wlm 23.11.6-1 has caused the Debian Bug report #1056122, regarding slurmctld.log not available after logrotate 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 owner@bugs.debian.org immediately.) -- 1056122: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056122 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: "To: Debian Bug Tracking System" <submit@bugs.debian.org>
- Subject: slurmctld.log not available after logrotate
- From: Alois Schlögl <alois.schloegl@gmail.com>
- Date: Fri, 17 Nov 2023 11:03:37 +0100
- Message-id: <0b8e77e4-0007-4b9e-a788-6f14d67c0611@gmail.com>
Package: slurmctld Version: 22.05.8-4+deb12u1 Severity: normal Tags: patch X-Debbugs-Cc: alois.schloegl@gmail.com Dear Maintainer,After migrating the slurmctld from debian11/slurm20 to a host with debian12/slurm22, /var/log/slurm/slurmctld.log was rotated at midnight, to /var/log/slurm/slurmctld.log.1.gzbut no /var/log/slurm/slurmctld.log was generated. syslog of logrotate showed this log message:2023-11-17T00:00:01.825407+01:00 l74 logrotate[3441040]: start-stop-daemon: matching only on non-root pidfile /var/run/slurm/slurmctld.pid is insecure 2023-11-17T00:00:03.356036+01:00 l74 logrotate[3440981]: error: Compressing program wrote following message to stderr when compressing log /var/log/slurm/slurmctld.log.1: 2023-11-17T00:00:03.356307+01:00 l74 logrotate[3440981]: gzip: stdin: file size changed while zippingI believe the following patch fixes the issue:l74:# diff -uw /etc/logrotate.d/slurmctld.orig /etc/logrotate.d/slurmctld--- /etc/logrotate.d/slurmctld.orig 2023-11-17 10:15:45.751842740 +0100 +++ /etc/logrotate.d/slurmctld 2023-11-17 10:15:30.132636120 +0100 @@ -3,7 +3,7 @@ missingok nocopytruncate nocreate - nodelaycompress + delaycompress nomail notifempty noolddir I'd like suggesting to include this change in the slurmctld package. -- System Information: Debian Release: 12.2 APT prefers stable-security APT policy: (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.1.0-13-amd64 (SMP w/56 CPU threads; PREEMPT)Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not setShell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages slurmctld depends on: ii libc6 2.36-9+deb12u3 ii munge 0.5.15-2 ii slurm-client 22.05.8-4+deb12u1 ii slurm-wlm-basic-plugins 22.05.8-4+deb12u1 ii ucf 3.0043+nmu1 slurmctld recommends no packages. slurmctld suggests no packages. -- Configuration Files: /etc/logrotate.d/slurmctld changed: /var/log/slurm-llnl/slurmctld.log /var/log/slurm/slurmctld.log { compress missingok nocopytruncate nocreate delaycompress nomail notifempty noolddir rotate 12 sharedscripts size=5M postrotate /usr/sbin/invoke-rc.d --quiet slurmctld reconfig >/dev/null /bin/sleep 1 endscript }
--- End Message ---
--- Begin Message ---
- To: 1056122-close@bugs.debian.org
- Subject: Bug#1056122: fixed in slurm-wlm 23.11.6-1
- From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
- Date: Sun, 12 May 2024 16:31:46 +0000
- Message-id: <E1s6C70-0003Yc-P4@fasolo.debian.org>
- Reply-to: Gennaro Oliva <oliva@debian.org>
Source: slurm-wlm Source-Version: 23.11.6-1 Done: Gennaro Oliva <oliva@debian.org> We believe that the bug you reported is fixed in the latest version of slurm-wlm, 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 1056122@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Gennaro Oliva <oliva@debian.org> (supplier of updated slurm-wlm 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 ftpmaster@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Thu, 09 May 2024 23:27:28 +0200 Source: slurm-wlm Architecture: source Version: 23.11.6-1 Distribution: unstable Urgency: medium Maintainer: Debian HPC Team <debian-hpc@lists.debian.org> Changed-By: Gennaro Oliva <oliva@debian.org> Closes: 1056122 1059711 1064109 1070898 Changes: slurm-wlm (23.11.6-1) unstable; urgency=medium . [ Gennaro Oliva ] * New upstream release * Update libslurm symbols file (Closes: #1070898) * Send SIGUSR2 to daemon in postrotate * Set delaycompress for logrotates (Closes: #1056122) * Add libpmix2 dependency for basic plugin (Closes: #1059711) . [ Benjamin Drung ] * Restore /etc/slurm/plugstack.conf in slurm-wlm-basic-plugins. Make the build more robust by always generating `slurm-wlm-basic-plugins.install` from scratch. Restore `/etc/slurm/plugstack.conf` by putting it into a `.install.in` file that is copied into the `.install` file in the beginning. . [ Michael Biebl ] * Drop libpam dev packages * Install PAM modules into multiarch path in /usr (Closes: #1064109) Checksums-Sha1: 610375e72d9a379010d30ebab5b5f74ce2002fc9 5580 slurm-wlm_23.11.6-1.dsc e64c49490389bc3c97d95672eed9a3acfc058448 10110647 slurm-wlm_23.11.6.orig.tar.gz 2ef76a666dd8e015a5fbff30a9836d57dca5a1cf 136712 slurm-wlm_23.11.6-1.debian.tar.xz 567a122ddba9244fd386a9a438be68bd7c8ec25f 34331 slurm-wlm_23.11.6-1_amd64.buildinfo Checksums-Sha256: 658f44bb348ef113b4ea09fe30a59bf469e42dd1cd605b887d24af99ae25cf73 5580 slurm-wlm_23.11.6-1.dsc 7c19d9655493f72b8ce4583b91183ee04fed369b908e2d07a32d0b8c77d71a60 10110647 slurm-wlm_23.11.6.orig.tar.gz cc3ea98793b899e7ac00a52d4e05de9722b88cd031a79ecfa2f524b60f76f1c7 136712 slurm-wlm_23.11.6-1.debian.tar.xz b884b5217a506e358ba2da46119f0004f37d7abfb524af271f3ecb09715349a8 34331 slurm-wlm_23.11.6-1_amd64.buildinfo Files: 6662ca8f1bf3d8b10002245fbd0fb99b 5580 admin optional slurm-wlm_23.11.6-1.dsc eebb1047ebe95fa334d0edd0d99fc506 10110647 admin optional slurm-wlm_23.11.6.orig.tar.gz 39732215d688a977e054610d2db9880a 136712 admin optional slurm-wlm_23.11.6-1.debian.tar.xz 52c690df501da55c823167ea7bc44859 34331 admin optional slurm-wlm_23.11.6-1_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQJFBAEBCgAvFiEE6zNF9WRBuLgad5h2ffpBrZYZhdcFAmZAxCERHG9saXZhQGRl Ymlhbi5vcmcACgkQffpBrZYZhdd1XA//cjAEq8nSk/5JQA7UuOGRNORXP6aeE7wD SOCtn/yTiI3bzMmzoO6AsMnKpPEEyd/iO9N1e6ifJPepb/co6GwVsFxd0X475Wd4 i2xsyNUm1FX2wGmDvsrMmRtwaz/shZQ9ca1/+o+eS35qoBfUOA+KPAXJW+vA/IYG dfhHX+I2TeaFiyUpI5v2kKd0vhab01zLUw2H2CKYikv6G1CtJZTxDGLSjY4JOj+S 5vhNLigjo/r3QvX+mrq8w1LqOu/p+lsyvRRnoA0JxuLmawSM8b7kWyXc7DoZ/KCc ryneCqkwtR+OpL3pluJqGOTDZivF9o5IeyEAxdN0D9AAb/5waxO3cU6J2j7Kn0Su bSQdrCfPFUbeLLPTy/z12hWNZXJoN3bVL21ZBHtpg/KnmDpGsxGZGkRGrd6rzenC BCrDFLV8KRWLm/Mz8eaLFbGjWFwSJihs5wJ6yJ9O9UFDL6w4H0TwKxOoyp0KvQuW ygvQeTQyAXuRRt1HCmsib1xBQtAOwbdFZ6yUdAFyh4T5ZZXQNId8msgT7UpGN38w OMbPVau5D9aXjxCrw7WSBHYBYm4yvx7TAGbzM1uNUw7HBmS2f97vHgZBYtFOXEri of8WVU58yUH7KCY1rYTEj/Uvf3/hvOuzOFdg6Cxz+xW/IGsesnfa5X2HYaOKHCKH 9O0fIkrdTjA= =Z/X8 -----END PGP SIGNATURE-----Attachment: pgpwB8qaR7c81.pgp
Description: PGP signature
--- End Message ---