[Bug 1450942] Re: ironic package does not ensure permissions on /var/log/ironic
Launchpad Bug Tracker
1450942 at bugs.launchpad.net
Thu Sep 8 16:00:14 UTC 2016
This bug was fixed in the package ironic - 1:6.1.0-0ubuntu3
---------------
ironic (1:6.1.0-0ubuntu3) yakkety; urgency=medium
* d/ironic-common.postinst: Ensure dbsync gets run as ironic, avoiding
log files owned by root user (LP: #1450942).
* d/control: Fixup typo in 'libaries' (LP: #1451139).
-- James Page <james.page at ubuntu.com> Thu, 08 Sep 2016 12:33:17 +0100
** Changed in: ironic (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ironic in Ubuntu.
https://bugs.launchpad.net/bugs/1450942
Title:
ironic package does not ensure permissions on /var/log/ironic
Status in Ubuntu Cloud Archive:
Fix Released
Status in ironic package in Ubuntu:
Fix Released
Bug description:
When installing ironic-common, the post install script will run the dbsync commend as root user.
It will create /var/log/ironic/ironic-dbsync.log (root:root) so it's not consistent with other files in this directory.
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1450942/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list