Your message dated Tue, 11 Mar 2025 23:27:00 +0000 with message-id <E1ts900-006uUn-1s@fasolo.debian.org> and subject line Bug#1090031: fixed in slurm-wlm 24.11.3-1 has caused the Debian Bug report #1090031, regarding slurmctld: Cannot log to /var/log/slurm/slurmctld.log after logrotate due to reconfig failure by wrong pid ownership 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.) -- 1090031: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1090031 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: slurmctld: Cannot log to /var/log/slurm/slurmctld.log after logrotate due to reconfig failure by wrong pid ownership
- From: Yiyang Wu <xgreenlandforwyy@gmail.com>
- Date: Sun, 15 Dec 2024 23:37:05 +0800
- Message-id: <173427702551.2365702.1915445302924262417.reportbug@Dormwuyy>
Package: slurmctld Version: 22.05.8-4+deb12u2 Severity: normal Tags: patch X-Debbugs-Cc: Benda Xu <orv@debian.org>, xgreenlandforwyy@gmail.com To reproduce on a non-systemd machine which uses /etc/init.d/slurmctld sudo logrotate -fv /etc/logrotate.d/slurmctld Result contains the following error messages. running postrotate script start-stop-daemon: matching only on non-root pidfile /run/slurmctld.pid is insecure Then slurm stops logging into /var/log/slurm/slurmctld.log This error can also be triggered by sudo /usr/sbin/invoke-rc.d slurmctld reconfig start-stop-daemon: matching only on non-root pidfile /run/slurmctld.pid is insecure invoke-rc.d: initscript slurmctld, action "reconfig" failed. This patch fixes the issue: diff --git a/debian/slurmctld.init.d b/debian/slurmctld.init.d index fc3e0002..510f50d2 100644 --- a/debian/slurmctld.init.d +++ b/debian/slurmctld.init.d @@ -218,7 +218,7 @@ case "$1" in reconfig) for prog in $DAEMONLIST ; do PIDFILE=$(getpidfile $prog) - start-stop-daemon --stop --signal HUP --pidfile \ + start-stop-daemon --user slurm --stop --signal HUP --pidfile \ "$PIDFILE" --quiet $prog done ;; -- System Information: Debian Release: 12.6 APT prefers stable-security APT policy: (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.1.0-23-amd64 (SMP w/64 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: OpenRC (via /run/openrc), PID 1: init Versions of packages slurmctld depends on: ii libc6 2.36-9+deb12u7 ii munge 0.5.15-2 ii slurm-client 22.05.8-4+deb12u2 ii slurm-wlm-basic-plugins 22.05.8-4+deb12u2 ii ucf 3.0043+nmu1 slurmctld recommends no packages. slurmctld suggests no packages. -- Configuration Files: /etc/init.d/slurmctld changed [not included] /etc/logrotate.d/slurmctld changed [not included] -- no debconf information
--- End Message ---
--- Begin Message ---
- To: 1090031-close@bugs.debian.org
- Subject: Bug#1090031: fixed in slurm-wlm 24.11.3-1
- From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
- Date: Tue, 11 Mar 2025 23:27:00 +0000
- Message-id: <E1ts900-006uUn-1s@fasolo.debian.org>
- Reply-to: Gennaro Oliva <oliva@debian.org>
Source: slurm-wlm Source-Version: 24.11.3-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 1090031@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: Tue, 11 Mar 2025 22:24:02 +0100 Source: slurm-wlm Architecture: source Version: 24.11.3-1 Distribution: unstable Urgency: medium Maintainer: Debian HPC Team <debian-hpc@lists.debian.org> Changed-By: Gennaro Oliva <oliva@debian.org> Closes: 1090031 1094164 Changes: slurm-wlm (24.11.3-1) unstable; urgency=medium . [ Gennaro Oliva ] * New upstream release * RSMI plugin depends on librocm-smi-dev (Closes: #1094164) * Fix sacct test * Restrict mpi test on pmix supported architectures . [ Yiyang Wu ] * Fix slurmctld init.d script (Closes: #1090031) Checksums-Sha1: efe62d7b5a877d9393338031beea9d205d9aa562 5413 slurm-wlm_24.11.3-1.dsc b02672220c8485513b6e1a459cb2603bc5b9b18c 9892955 slurm-wlm_24.11.3.orig.tar.gz 2c529b83c0c9a0975b226cffac72463202850f84 137728 slurm-wlm_24.11.3-1.debian.tar.xz 69f06f274fe96d50333b5746a3a2a367a62fc6ce 33928 slurm-wlm_24.11.3-1_amd64.buildinfo Checksums-Sha256: 013427527fb6140c1e57149ea09b931b64f6e4e47696edc942dcb3e3c409572e 5413 slurm-wlm_24.11.3-1.dsc 9cb9627d4d64120b9f55475a4211d08e0c6a8f82326125ea5b0ec59332d7ea4c 9892955 slurm-wlm_24.11.3.orig.tar.gz 11d34b319c6ced2645e39bfca0a34d9e2c80ddb1e0b0e51466abbcbf43cefd26 137728 slurm-wlm_24.11.3-1.debian.tar.xz 77c0a37871c2fd0cc22e67b019d85c51981dd4624d1217dde97aecfe9849584d 33928 slurm-wlm_24.11.3-1_amd64.buildinfo Files: 04342871607ec6fe6f8518f4e33585d5 5413 admin optional slurm-wlm_24.11.3-1.dsc 469a4e15ace9e50d6e3e1057d9466033 9892955 admin optional slurm-wlm_24.11.3.orig.tar.gz 5446f58f1da60c6bb964506fe607e6e4 137728 admin optional slurm-wlm_24.11.3-1.debian.tar.xz 2871febeeab4c41c83ad119d1ea28565 33928 admin optional slurm-wlm_24.11.3-1_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQJFBAEBCgAvFiEE6zNF9WRBuLgad5h2ffpBrZYZhdcFAmfQrgARHG9saXZhQGRl Ymlhbi5vcmcACgkQffpBrZYZhdc47A/+OH0ys27wtXEJuIa3oD/mo44Fl2CkUuCA fYy8ldcWvBl++LZ6Td13kkbwCHqfzfX04iurEEeNhi848Wg8VpgZnOUVXE+dTgR3 n7+iR8/IxlAwcz53172mYQWSPwiakeLBPhB5mEqCTFgN50Bv/OOiGeY9dhZRamzp DgT/3keLPaXZnjI36eKFCnrrWVDP9WFy/u3vCl3MBof5fZiNU+5tcSV+akqQI2lg 3WrkXGpBT41ewCrPgCq9q5jAIVW+csLFEVGJFBGh4gtB+azh4amNPrdsN41Y1GJW PKTi+T4KDi5cRHKCGAHzGY7jtGydvHFyqEkO78tUznBMWwR4vtwWbC9modmFX94c md3xc6zQ/l5bpwCBInhAgoeFpUim9TXqfBrH4UHbqzP9fV7jhZ/KiyhSsmkchzGg fgawx3HnJxVS53WSJg4Is811g88vVdThUIRGL+Tw/jG8RY8RdsNHRmgWJncH/m4r /Jip+6BBboIhNgNkOOn7OikHCRjJFClypG3fvOyzmkIQHil5svNacXVLQwDYRRjb 8SiC1nGJSfpk67pS/f1ZK7GAHm85saR6JvEYplCQyW3/VvxGeRhbDeflKlEwpHJx fbAA6cW7nRTsOumH8jErlklwi75wdIbmFygfE18rMbRi1DeQ77PfgSQ1k0iqvrpW JzgHJ06zYRs= =JhVH -----END PGP SIGNATURE-----Attachment: pgp3Vga4EcaP3.pgp
Description: PGP signature
--- End Message ---