keystone_fernet cron jobs installed into wrong place in CentOS source build

Bug #1745484 reported by George Zhao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Medium
Kevin Tibi
Pike
Fix Released
Medium
Mark Goddard
Queens
Fix Released
Medium
Kevin Tibi
Rocky
Fix Released
Medium
Kevin Tibi
Stein
Fix Released
Medium
Kevin Tibi

Bug Description

User cron jobs are located under /var/spool/cron/$username in CentOS.

e.g.

Running crontab -e with user root will create a file /var/spool/cron/root <---- This is not a directory.

Should add if condition in keystone-fernet.json.j2

        {
            "source": "{{ container_config_directory }}/crontab",
{% if kolla_base_distro == 'centos' %}
            "dest": "/var/spool/cron/root",
{% else %}
            "dest": "/var/spool/cron/crontabs/root/fernet-cron",
{% endif %}
            "owner": "root",
            "perm": "0600"
        },

Revision history for this message
Mark Goddard (mgoddard) wrote :
Changed in kolla-ansible:
importance: Undecided → Medium
assignee: nobody → Kevin Tibi (ktibi)
status: New → Fix Committed
Revision history for this message
Mark Goddard (mgoddard) wrote :
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.