Hi I'm clearing out old bugs that were forgotten somewhere/somehow - I
beg your pardon for the lack of activity ...

On this one I wonder why this isn't more impactful if that is a common
problem.


As of today the rule still is:
  /etc/ceph/ceph.conf r,
in file
  src/security/apparmor/libvirt-qemu

For my lack of ceph knowledge I have pinged a few friends who know more.
If your statement is true that the filename changes we should indeed fix that 
(firsut upstream then, but that is a detail).

Just naively looking into the code I see ceph.conf all around but no 
variable/replacement.
For example the services are static
debian/lib-systemd/system/ceph-osd@.service:11:Environment=CONFIG=/etc/ceph/ceph.conf
debian/lib-systemd/system/ceph-create-keys.service:7:Environment=CONFIG=/etc/ceph/ceph.conf

But then I found
https://docs.ceph.com/en/mimic/rados/configuration/common/#running-multiple-clusters

Which clearly confirms:
"When you run multiple clusters, you must name your cluster and save the Ceph 
configuration file with the name of the cluster. For example, a cluster named 
openstack will have a Ceph configuration file with the file name openstack.conf 
in the /etc/ceph default directory."

** Tags added: server-todo

** Changed in: libvirt (Ubuntu)
     Assignee: (unassigned) => Christian Ehrhardt  (paelzer)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1588576

Title:
  libvirt apparmor profile blocks access to ceph config file if cluster
  name is not "ceph"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1588576/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to