transitional package slurm-llnl provides logrotate files for slurmd and slurmctld

Bug #1477893 reported by Riccardo Murri
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
slurm-llnl (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

As of version 14.11.8-1 (wily-proposed), package "slurm-llnl" is marked as
a "transitional dummy package"; still it provides an
`/etc/logrotate.d/slurm-llnl` file with policy for rotating log files
of `slurmd` and `slurmctld`. Needless to say, this makes logrotate
complain:

    /etc/cron.daily/logrotate:
    error: slurmctld:1 duplicate log entry for /var/log/slurm-llnl/slurmctld.log
    error: slurmd:1 duplicate log entry for /var/log/slurm-llnl/slurmd.log

Here is an excerpt from the conflicting files::

    root@node-l3-01-01:~# head -n 2 /etc/logrotate.d/slurm-llnl
    /var/log/slurm-llnl/slurmd.log /var/log/slurm-llnl/slurmctld.log {
      compress

    root@node-l3-01-01:~# head -n 2 /etc/logrotate.d/slurmd
    /var/log/slurm-llnl/slurmd.log {
      compress

Here is more information about the setup::

    root@node-l3-01-01:~# dpkg -l slurmctld slurmd slurm-llnl
    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
    |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
    ||/ Name Version Architecture Description
    +++-======================-================-================-==================================================
    ii slurm-llnl 14.11.8-1 all transitional dummy package for slurm-wlm
    ii slurmctld 14.11.8-1 amd64 SLURM central management daemon
    ii slurmd 14.11.8-1 amd64 SLURM compute node daemon

    root@node-l3-01-01:~# dpkg -L slurm-llnl
    /.
    /var
    /var/lib
    /var/lib/slurm-llnl
    /var/lib/slurm-llnl/slurmctld
    /var/lib/slurm-llnl/slurmd
    /var/lib/slurm-llnl/checkpoint
    /var/log
    /var/log/slurm-llnl
    /usr
    /usr/share
    /usr/share/doc
    /usr/share/doc/slurm-llnl
    /usr/share/doc/slurm-llnl/changelog.Debian.gz
    /usr/share/doc/slurm-llnl/NEWS.Debian.gz
    /usr/share/doc/slurm-llnl/copyright
    /etc
    /etc/slurm-llnl
    /etc/default/slurm-llnl
    /etc/logrotate.d/slurm-llnl
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^

(I guess that `/etc/default/slurm-llnl` should be removed as well.)

Thanks,
Riccardo

Riccardo Murri (rmurri)
summary: - slurm-llnl package provides logrotate files for slurmd and slurmctld
+ transitional package slurm-llnl provides logrotate files for slurmd and
+ slurmctld
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in slurm-llnl (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.