Skip to contentSkip to conversation

lltng enabled by default and qemu apparmor|selinux problems

DISCUSSION Alexandre DERUMIER 3 participants 4 messages Oct 11, 2015 – Oct 13, 2015

lore
Share & tools
lore
#0 lore raw

Hi,

it seem that since this commit

https://github.com/ceph/ceph/pull/4261/files

lltng is enabled by default.

But this give error with qemu when apparmor|selinux is enabled.

That's why ubuntu && redhat now disable it for their own packages.

https://bugzilla.redhat.com/show_bug.cgi?id=1223319
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1432644

In the ubuntu launchpad, Sage has made a reply

"
Sage Weil (sage-newdream) wrote on 2015-04-02: #21
FWIW, we are disabling the lttng support in the final hammer release to avoid this issue (until we come up with a better solution)."

It seem that it's still enabled by default in ceph git and ceph.com packages.

Is it still planned to disable by default ?

#1 lore raw

IF I can add my $0.02 - we were unable to use the libradosstriper library in RHEL6 because it uses the same initialisation tags as librados and lttng does not like that. We had no problems with RHEL7 version of ceph because lttng is not enabled. Please do not re-enable lttng in RHEL7 and later branches….

Regards
Paul

Quoted 32 lines · On 11/10/2015 18:06, "[email protected] on behalf of Alexandre…

Hi,

it seem that since this commit

https://github.com/ceph/ceph/pull/4261/files

lltng is enabled by default.

But this give error with qemu when apparmor|selinux is enabled.

That's why ubuntu && redhat now disable it for their own packages.

https://bugzilla.redhat.com/show_bug.cgi?id=1223319
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1432644

In the ubuntu launchpad, Sage has made a reply

"
Sage Weil (sage-newdream) wrote on 2015-04-02: #21
FWIW, we are disabling the lttng support in the final hammer release to avoid this issue (until we come up with a better solution)."

It seem that it's still enabled by default in ceph git and ceph.com packages.

Is it still planned to disable by default ?

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw

I have an open PR [1] to dynamically enable LTTng-UST via new config options. This change will hopefully trickle down to older release and will avoid the SElinux / AppArmor issues in the default case (which led to downstream Ubuntu and Fedora disabling LTTng-UST support). Anyone that wants to use LTTng-UST (i.e. for generating RBD replay traces) can enable the support and adjust their SElinux / AppArmor rules to accommodate.

[1] https://github.com/ceph/ceph/pull/6135

Signature · 4 lines
Jason Dillaman 


----- Original Message -----
Quoted 52 lines

From: "Paul HEWLETT (Paul)" <[email protected]>
To: "Alexandre DERUMIER" <[email protected]>, "ceph-devel" <[email protected]>
Cc: "Sage Weil" <[email protected]>
Sent: Monday, October 12, 2015 4:28:06 AM
Subject: Re: lltng enabled by default and qemu apparmor|selinux problems

IF I can add my $0.02 - we were unable to use the libradosstriper library in RHEL6 because it uses the same initialisation tags as librados and lttng does not like that. We had no problems with RHEL7 version of ceph because lttng is not enabled. Please do not re-enable lttng in RHEL7 and later branches….

Regards
Paul

Quoted 30 lines · On 11/10/2015 18:06, "[email protected] on behalf of Alexandre…

Hi,

it seem that since this commit

https://github.com/ceph/ceph/pull/4261/files

lltng is enabled by default.

But this give error with qemu when apparmor|selinux is enabled.

That's why ubuntu && redhat now disable it for their own packages.

https://bugzilla.redhat.com/show_bug.cgi?id=1223319
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1432644

In the ubuntu launchpad, Sage has made a reply

"
Sage Weil (sage-newdream) wrote on 2015-04-02: #21
FWIW, we are disabling the lttng support in the final hammer release to avoid this issue (until we come up with a better solution)."

It seem that it's still enabled by default in ceph git and ceph.com packages.

Is it still planned to disable by default ?

Quoted 5 lines
Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

N�����r��y���b�X��ǧv�^�)޺{.n�+���z�]z���{ay�ʇڙ�,j��f���h���z��w������j:+v���w�j�m��������zZ+��ݢj"��

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
Quoted 1 line
Quoted 1 line

I have an open PR [1] to dynamically enable LTTng-UST via new config options

Great ,Thanks Jason !

----- Mail original -----
De: "Jason Dillaman" <[email protected]>
À: "Paul HEWLETT (Paul)" <[email protected]>
Cc: "aderumier" <[email protected]>, "ceph-devel" <[email protected]>, "Sage Weil" <[email protected]> Envoyé: Lundi 12 Octobre 2015 20:32:43
Objet: Re: lltng enabled by default and qemu apparmor|selinux problems

I have an open PR [1] to dynamically enable LTTng-UST via new config options. This change will hopefully trickle down to older release and will avoid the SElinux / AppArmor issues in the default case (which led to downstream Ubuntu and Fedora disabling LTTng-UST support). Anyone that wants to use LTTng-UST (i.e. for generating RBD replay traces) can enable the support and adjust their SElinux / AppArmor rules to accommodate.

[1] https://github.com/ceph/ceph/pull/6135

Signature · 4 lines
Jason Dillaman 


----- Original Message ----- 
Quoted 52 lines

From: "Paul HEWLETT (Paul)" <[email protected]>
To: "Alexandre DERUMIER" <[email protected]>, "ceph-devel" <[email protected]>
Cc: "Sage Weil" <[email protected]>
Sent: Monday, October 12, 2015 4:28:06 AM
Subject: Re: lltng enabled by default and qemu apparmor|selinux problems

IF I can add my $0.02 - we were unable to use the libradosstriper library in RHEL6 because it uses the same initialisation tags as librados and lttng does not like that. We had no problems with RHEL7 version of ceph because lttng is not enabled. Please do not re-enable lttng in RHEL7 and later branches….

Regards
Paul

Quoted 30 lines · On 11/10/2015 18:06, "[email protected] on behalf of Alexandre…

Hi,

it seem that since this commit

https://github.com/ceph/ceph/pull/4261/files

lltng is enabled by default.

But this give error with qemu when apparmor|selinux is enabled.

That's why ubuntu && redhat now disable it for their own packages.

https://bugzilla.redhat.com/show_bug.cgi?id=1223319
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1432644

In the ubuntu launchpad, Sage has made a reply

"
Sage Weil (sage-newdream) wrote on 2015-04-02: #21
FWIW, we are disabling the lttng support in the final hammer release to avoid this issue (until we come up with a better solution)."

It seem that it's still enabled by default in ceph git and ceph.com packages.

Is it still planned to disable by default ?

Quoted 5 lines
Quoted 4 lines
Signature · 3 lines
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in 
the body of a message to [email protected] 
More majordomo info at http://vger.kernel.org/majordomo-info.html 

N�����r��y���b�X��ǧv�^�)޺{.n�+���z�]z���{ay�ʇڙ�,j��f���h���z��w������j:+v���w�j�m��������zZ+��ݢj"��

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html