Hello! "systemctl reload slurmctld" does not rotate /var/log/slurm/accounting.log. Anyone have noticed? I seem to have hit a bug, or I'm doing something wrong.
We're using slurm 17.02.6 on Ubuntu 16.04.2. Our (relevant) settings are: AccountingStorageType=accounting_storage/filetxt AccountingStorageLoc=/var/log/slurm/accounting.log Our logrotate scripts has this postrotate: /bin/systemctl --quiet reload slurmctld However, after logrotate rotates the files, the accounting file is not re-opened by slurmctld. Instead it continues writing to the old rotated file until I restart. This is not the case with /var/log/slurm/slurmctld.log of course. It works wonderfully in that case. I'm force to restart slurmctld, which I would rather not do to avoid race conditions during job submissions. https://slurm.schedmd.com/accounting.html seems very clear in that SIGHUP should do the trick, which works OK for slurmctld.log. Anyone else with this problem? -- Giovanni
