ceph / ceph-iscsi-config

NOTICE: moved to https://github.com/ceph/ceph-iscsi
GNU General Public License v3.0
22 stars 28 forks source link

Move logs to dir #90

Closed mikechristie closed 5 years ago

mikechristie commented 5 years ago

The ceph selinux policy expects the logs to be in a dir under /var/log, so this just moves our logs to /var/log/rbd-target-gw, so we do not have to special case the ceph iscsi stuff in ceph-selinux.

mikechristie commented 5 years ago

This PR will be used by this patch:

[Will do a pull for this patch when I know the dir patches are ok] https://github.com/mikechristie/ceph/commit/7c3ec8105887e35f4d137868cddafbdf80066554

mikechristie commented 5 years ago

Don't merge yet.

For the non-rpm install case, I need to add a fix so the /var/log/rbd-target-gw dir is made for the user.

mikechristie commented 5 years ago

Updated patch uploaded. It will create the log dir when you do

python setup install

dillaman commented 5 years ago

@mikechristie ping -- does this still require the spec change prior to merge?

mikechristie commented 5 years ago

Pushed updated PR with spec file change.