[Bug 1450942] Re: ironic package does not ensure permissions on /var/log/ironic

James Page james.page at ubuntu.com
Thu Sep 8 15:49:04 UTC 2016


This bug was fixed in the package ironic - 1:6.1.0-0ubuntu3~cloud0
---------------

 ironic (1:6.1.0-0ubuntu3~cloud0) xenial-newton; urgency=medium
 .
   * New update for the Ubuntu Cloud Archive.
 .
 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).


** Changed in: cloud-archive
       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 Committed

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