Bug 489113 - AVC Denail with /var/tmp and openswan ipsec service
Summary: AVC Denail with /var/tmp and openswan ipsec service
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: openswan
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Avesh Agarwal
QA Contact: Fedora Extras Quality Assurance
URL: http://fpaste.org/paste/5371
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-07 19:14 UTC by Christopher Stone
Modified: 2010-04-19 15:46 UTC (History)
2 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2010-04-19 15:46:44 UTC


Attachments (Terms of Use)
Alert Text (2.52 KB, text/plain)
2009-03-07 19:18 UTC, Christopher Stone
no flags Details

Description Christopher Stone 2009-03-07 19:14:21 UTC
Description of problem:
I get an AVC denial when I try to start the ipsec service after performing a yum install openswan.

http://fpaste.org/paste/5371

Steps to Reproduce:
1. yum install openswan
2. servce ipsec restart


Additional info:
# find / -inum 17776668 -print
/var/tmp

Comment 1 Christopher Stone 2009-03-07 19:18:01 UTC
Created attachment 334408 [details]
Alert Text

Alert text as an attachment.

Comment 2 Daniel Walsh 2009-03-09 14:18:37 UTC
Why is openswan using /var/tmp?

If it needs to use temporary files it should be using /var/run/

/var/racoon(/.*)?                       gen_context(system_u:object_r:ipsec_var_
run_t,s0)

/var/run/pluto(/.*)?                    gen_context(system_u:object_r:ipsec_var_
run_t,s0)

Comment 3 Bug Zapper 2009-06-09 11:59:41 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Avesh Agarwal 2010-04-19 15:46:44 UTC
This is tested in the latest Openswan verison, and the issue does not appear
now. So I am closing this, and please reopen if you see this issue again.
Thanks for reporting the issue.


Note You need to log in before you can comment on or make changes to this bug.