Skip to contentSkip to conversation

djbdns needs optional_policy

PATCH [email protected] 3 participants 5 messages May 30, 2007 – May 31, 2007 SELinux security module

lore
Share & tools
lore
#0 lore raw
policy/modules/services/djbdns.te +4 -1
@@ -44,4 +44,7 @@
 libs_use_ld_so(djbdns_axfrdns_t)
 libs_use_shared_libs(djbdns_axfrdns_t)
 
-ucspitcp_service_domain(djbdns_axfrdns_t, djbdns_axfrdns_exec_t)
+optional_policy(`
+	ucspitcp_service_domain(djbdns_axfrdns_t, djbdns_axfrdns_exec_t)
+')
+

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw

Hi Daniel,

policy/modules/services/djbdns.te line 50

Quoted 11 lines · On Wed, May 30, 2007 at 10:51:20AM -0400, [email protected] wrote:
policy/modules/services/djbdns.te +4 -1
@@ -44,4 +44,7 @@
 libs_use_ld_so(djbdns_axfrdns_t)
 libs_use_shared_libs(djbdns_axfrdns_t)
 
-ucspitcp_service_domain(djbdns_axfrdns_t, djbdns_axfrdns_exec_t)
+optional_policy(`
+	ucspitcp_service_domain(djbdns_axfrdns_t, djbdns_axfrdns_exec_t)
+')
+

http://marc.info/?l=selinux&m=117621284727331&w=2

what is the reason for your tweak?

bye,
peter

#2 lore raw
Quoted 19 lines · Petre Rodan

Hi Daniel,

policy/modules/services/djbdns.te line 50

Quoted 12 lines · On Wed, May 30, 2007 at 10:51:20AM -0400, [email protected] wrote:
policy/modules/services/djbdns.te +4 -1
@@ -44,4 +44,7 @@
 libs_use_ld_so(djbdns_axfrdns_t)
 libs_use_shared_libs(djbdns_axfrdns_t)
 
-ucspitcp_service_domain(djbdns_axfrdns_t, djbdns_axfrdns_exec_t)
+optional_policy(`
+	ucspitcp_service_domain(djbdns_axfrdns_t, djbdns_axfrdns_exec_t)
+')
+

http://marc.info/?l=selinux&m=117621284727331&w=2

Quoted 6 lines

what is the reason for your tweak?

bye,
peter

It's been a while, but I believe if ucspictcp and djbdns are built as modules the packages will not build correctly.

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#3 lore raw
Quoted 20 lines · Daniel J Walsh
Quoted 19 lines · Petre Rodan

Hi Daniel,

policy/modules/services/djbdns.te line 50

Quoted 12 lines · On Wed, May 30, 2007 at 10:51:20AM -0400, [email protected] wrote:
policy/modules/services/djbdns.te +4 -1
@@ -44,4 +44,7 @@
 libs_use_ld_so(djbdns_axfrdns_t)
 libs_use_shared_libs(djbdns_axfrdns_t)
 
-ucspitcp_service_domain(djbdns_axfrdns_t, djbdns_axfrdns_exec_t)
+optional_policy(`
+	ucspitcp_service_domain(djbdns_axfrdns_t, djbdns_axfrdns_exec_t)
+')
+

http://marc.info/?l=selinux&m=117621284727331&w=2

Quoted 8 lines
Quoted 6 lines

what is the reason for your tweak?

bye,
peter

It's been a while, but I believe if ucspictcp and djbdns are built as modules the packages will not build correctly.

Build or link fails? I would expect the link to fail.

Signature · 9 lines
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#4 lore raw
Quoted 31 lines · Christopher J. PeBenito
Quoted 29 lines · Daniel J Walsh
Quoted 27 lines · Petre Rodan

Hi Daniel,

policy/modules/services/djbdns.te line 50

Quoted 13 lines · On Wed, May 30, 2007 at 10:51:20AM -0400, [email protected] wrote:
policy/modules/services/djbdns.te +4 -1
@@ -44,4 +44,7 @@
 libs_use_ld_so(djbdns_axfrdns_t)
 libs_use_shared_libs(djbdns_axfrdns_t)
 
-ucspitcp_service_domain(djbdns_axfrdns_t, djbdns_axfrdns_exec_t)
+optional_policy(`
+	ucspitcp_service_domain(djbdns_axfrdns_t, djbdns_axfrdns_exec_t)
+')
+

http://marc.info/?l=selinux&m=117621284727331&w=2

what is the reason for your tweak?

bye,
peter

Quoted 6 lines
Quoted 2 lines

It's been a while, but I believe if ucspictcp and djbdns are built as modules the packages will not build correctly.

Build or link fails? I would expect the link to fail.

Probably at link. It happened a long time ago. So I guess if both modules are installed at the same time and removed at the same time this is not needed. I probably added one module to strict and had it blow up on me, so I changed it to optional. Then later I added the other policy to strict.

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.