On 07/19/2010 08:47 AM, Aaron Hagopian wrote:
Ok this time I think I have hit a legit issue with SELinux
and 1.2.6 RC3. On my workstation to sync up my ldap server with
production I take a ldif dump from production and load it into my
system with the ldif2db.pl
script. For versions 1.2.5 and previous that ldif file could be
located anywhere that was readable to the "nobody" user. Since
upgrading, I try to use the same command and get denied because of
SELinux.
My real question here is what is an acceptable directory? I
thought for sure the /var/lib/dirsrv/slapd-<instance>/ldif/
directory would be acceptable but I get a "SELinux is preventing
/usr/sbin/ns-slapd "read" access on ..." message no matter where I
place the LDIF file.
How did you create the ldif file in
"/var/lib/dirsrv/slapd-<instance>/ldif/"? Did you move the ldif
file there from elsewhere on your system? That could explain why your
ldif file has an incorrect context of "var_t".
Try creating a new file in
"/var/lib/dirsrv/slapd-<instance>/ldif/" using 'touch', then run
'ls -lZ' to see what the SELinux context is on that new file. It
should be "dirsrv_var_lib_t".
-NGK
Attached is the full SELinux error.
Thanks,
Aaron
On Fri, Jul 16, 2010 at 8:49 AM, Aaron
Hagopian <airhead1@xxxxxxxxx>
wrote:
As
I was looking up the version number of admin I noticed that I had only
updated 389-ds* and not 389* so the 389-admin* packages were
mismatched. Once I upgraded everything to what was in updates-testing
no more selinux messages, sorry about the confusion.
Aaron
2010/7/15 Nathan Kinder <nkinder@xxxxxxxxxx>
On 07/15/2010 09:12 AM, Aaron Hagopian wrote:
I upgraded my fedora 13 x86_64 machine to
the RC3 using
the rpms in updates-testing and now I cannot start the admin server
with selinux enabled. I am attaching the selinux message. It does
start when I disable selinux.
What version of 389-admin are you running?
I'd also like to see the output of 'semodule -l | grep 389' from your
system.
-NGK
--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users
--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users
|
--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users