Bug 470793

Summary: Add --with-libpam (and --with-ldap?) to racoon configure options in spec file
Product: [Fedora] Fedora Reporter: Pekka Pietikäinen <pp>
Component: ipsec-toolsAssignee: Tomas Mraz <tmraz>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: medium    
Version: 10CC: tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ipsec-tools-0.7.3-2.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-08-19 16:52:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Pekka Pietikäinen 2008-11-10 10:34:43 UTC
Description of problem:

Currently it is only possible to create ipsec tunnels that are authenticated against passwd/shadow files, if PAM was included too then the users could be on a LDAP server too. There's a --with-ldap and --with-radius) too, but PAM should cover those, right?

Comment 1 Tomas Mraz 2008-11-10 10:45:57 UTC
Could you try to rebuild the src.rpm with these options enabled and test whether it works (preferably with SELinux enforcing)?

Comment 2 Pekka Pietikäinen 2008-11-13 22:48:33 UTC
Works with permissive but not enforcing:

type=1400 audit(1226603307.249:71): avc:  denied  { read } for
               pid=6964 comm="unix_chkpwd" name="resolv.conf" dev=sda3
               ino=762137 scontext=system_u:system_r:racoon_t:s0
               tcontext=system_u:object_r:net_conf_t:s0 tclass=file

type=1400 audit(1226588980.506:52): avc:  denied  { read } for  
               pid=6574 comm="unix_chkpwd" name="shadow" dev=sda3 ino=761329 
               scontext=system_u:system_r:racoon_t:s0 tcontext=system_u:object_r:shadow_t:s0 tclass=file

Will look at it more next week...

Comment 3 Bug Zapper 2008-11-26 05:06:52 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.

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

Comment 4 Tomas Mraz 2009-08-19 16:52:23 UTC
Enabled in rawhide. It will probably need some selinux policy adjustments though.