1 |
On Mon, 2008-02-25 at 14:11 +0100, xake@×××××××××.net wrote: |
2 |
> > Ah I see. So should I chcon the two /data subdirectories to another |
3 |
> > context from default_t to public_content_t? |
4 |
> > |
5 |
> |
6 |
> This could help. I would suggest you to try it. |
7 |
|
8 |
I changed the context to public_content_t (chcon -R -t |
9 |
public_content_t /data/library) and restarted ths services. Still |
10 |
getting denied. |
11 |
|
12 |
Is there another context I could try? |
13 |
|
14 |
I noticed there are two denies: |
15 |
|
16 |
audit(1203946085.696:201): avc: denied { getattr } for pid=10453 |
17 |
comm="rpc.mountd" path="/dev/sda2" dev=tmpfs ino=3372 |
18 |
scontext=user_u:system_r:nfsd_t |
19 |
tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file |
20 |
|
21 |
audit(1203946085.696:202): avc: denied { read } for pid=10453 |
22 |
comm="rpc.mountd" name="sdb1" dev=tmpfs ino=2553 |
23 |
scontext=user_u:system_r:nfsd_t |
24 |
tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file |
25 |
|
26 |
sda2 is my swap partiton and as I mentioned before /dev/sdb1 is the |
27 |
the /data partition on the server. Odd problem. |
28 |
|
29 |
-- |
30 |
Loren Bandiera <lorenb@××××××××××××××.com> |
31 |
LB Technology Services, Inc. |
32 |
|
33 |
|
34 |
-- |
35 |
gentoo-hardened@l.g.o mailing list |