ironic package does not ensure permissions on /var/log/ironic
Bug #1450942 reported by
Emilien Macchi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Cloud Archive |
Fix Released
|
Medium
|
Unassigned | ||
ironic (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When installing ironic-common, the post install script will run the dbsync commend as root user.
It will create /var/log/
Some tools like Puppet use to manage the dbsync with the user of the project (ironic here).
Patch proposed:
- chown ironic:ironic -R /var/lib/ironic /etc/ironic
+ chown ironic:ironic -R /var/lib/ironic /etc/ironic /var/log/ironic
Changed in ironic (Ubuntu): | |
status: | Triaged → Fix Committed |
Changed in cloud-archive: | |
status: | Triaged → Fix Committed |
To post a comment you must log in.
Most other packages run the dbsync as the correct user - in this case ironic.
So we should probably do the same here as well.