Re: Selinux and awstats [Solved]

2008-07-18 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Claude Jones wrote: > On Thursday 10 July 2008 12:08:28 Claude Jones wrote: >> On Thursday 10 July 2008 11:31:48 Daniel J Walsh wrote: >>> Sorry about the path problems. >> no problem >> >>> If matchpathcon returns no errors, you should be fine now. >>

Re: Selinux and awstats [Solved]

2008-07-17 Thread Claude Jones
On Thursday 10 July 2008 12:08:28 Claude Jones wrote: > On Thursday 10 July 2008 11:31:48 Daniel J Walsh wrote: > > Sorry about the path problems. > > no problem > > > If matchpathcon returns no errors, you should be fine now. > > # matchpathcon /var/lib/awstats > /var/lib/awstatssystem_u:o

Re: Selinux and awstats

2008-07-10 Thread Claude Jones
On Thursday 10 July 2008 11:31:48 Daniel J Walsh wrote: > Sorry about the path problems. > no problem > If matchpathcon returns no errors, you should be fine now. # matchpathcon /var/lib/awstats /var/lib/awstatssystem_u:object_r:awstats_var_lib_t As you can see above, it appears to be g

Re: Selinux and awstats

2008-07-10 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Claude Jones wrote: > On Thu July 10 2008, Daniel J Walsh wrote: >> Execute >> >> # semodule -B >> > > I did this - there was no response, just returned a prompt > >> And check if the contents of the two .local files match. >> >> /etc/selinux/targete

Re: Selinux and awstats

2008-07-10 Thread Claude Jones
On Thu July 10 2008, Daniel J Walsh wrote: > Execute > > # semodule -B > I did this - there was no response, just returned a prompt > And check if the contents of the two .local files match. > > /etc/selinux/targeted/files/file_context > I couldn't find the above but found: /etc/selinux/targeted

Re: Selinux and awstats

2008-07-10 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Claude Jones wrote: > On Wednesday 09 July 2008 09:52:13 Daniel J Walsh wrote: >> Claude Jones wrote: >> | On Tue July 8 2008, Daniel J Walsh wrote: >> |> Is matchpathcon still giving you the error? >> |> >> |> # cat >> |> /etc/selinux/targeted/context

Re: Selinux and awstats

2008-07-09 Thread Claude Jones
On Wednesday 09 July 2008 09:52:13 Daniel J Walsh wrote: > Claude Jones wrote: > | On Tue July 8 2008, Daniel J Walsh wrote: > |> Is matchpathcon still giving you the error? > |> > |> # cat > |> /etc/selinux/targeted/contexts/files/file_contexts.local # > |> cat > |> /etc/selinux/targeted/modules/a

Re: Selinux and awstats

2008-07-09 Thread Claude Jones
On Thursday 03 July 2008 14:14:09 Daniel J Walsh wrote: > > # matchpathcon /var/lib/awstats > > /etc/selinux/targeted/contexts/files/file_contexts: Multiple > > different specifications for > > /usr/share/awstats/wwwroot/cgi-bin(/.*)? > > (system_u:object_r:httpd_sys_script_exec_t:s0 and > > system

Re: Selinux and awstats

2008-07-09 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Claude Jones wrote: | On Tue July 8 2008, Daniel J Walsh wrote: |> Is matchpathcon still giving you the error? |> |> # cat /etc/selinux/targeted/contexts/files/file_contexts.local |> # cat /etc/selinux/targeted/modules/active/file_contexts.local | | R

Re: Selinux and awstats

2008-07-08 Thread Claude Jones
On Tue July 8 2008, Daniel J Walsh wrote: > Is matchpathcon still giving you the error? > > # cat /etc/selinux/targeted/contexts/files/file_contexts.local > # cat /etc/selinux/targeted/modules/active/file_contexts.local Running it just now yielded: # matchpathcon /var/lib/awstats /etc/selinux/targ

Re: Selinux and awstats

2008-07-08 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Claude Jones wrote: > On Thu July 3 2008, Daniel J Walsh wrote: >> Claude Jones wrote: Does it report an error now? >>> Seems it does: >>> >>> # matchpathcon /var/lib/awstats >>> /etc/selinux/targeted/contexts/files/file_contexts: Multiple diffe

Re: Selinux and awstats

2008-07-03 Thread Claude Jones
On Thu July 3 2008, Daniel J Walsh wrote: > Claude Jones wrote: > >> Does it report an error now? > > > > Seems it does: > > > > # matchpathcon /var/lib/awstats > > /etc/selinux/targeted/contexts/files/file_contexts: Multiple different > > specifications for /usr/share/awstats/wwwroot/cgi-bin(/.*

Re: Selinux and awstats

2008-07-03 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Claude Jones wrote: > On Mon June 30 2008, Daniel J Walsh wrote: >> Well you can remove the emacs back up file. >> >> /etc/selinux/targeted/contexts/files/file_contexts.local~ >> > > I did that > >> Everything looks fine. >> >> If you execute >> >> m

Re: Selinux and awstats

2008-07-03 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Claude Jones wrote: > On Mon June 30 2008, Daniel J Walsh wrote: >> Well you can remove the emacs back up file. >> >> /etc/selinux/targeted/contexts/files/file_contexts.local~ >> > > I did that > >> Everything looks fine. >> >> If you execute >> >> m

Re: Selinux and awstats

2008-06-30 Thread Claude Jones
On Mon June 30 2008, Daniel J Walsh wrote: > > Well you can remove the emacs back up file. > > /etc/selinux/targeted/contexts/files/file_contexts.local~ > I did that > Everything looks fine. > > If you execute > > matchpathcon /var/lib/awstats > > Does it report an error now? Seems it does: # m

Re: Selinux and awstats

2008-06-30 Thread Daniel J Walsh
Claude Jones wrote: > On Sun June 29 2008, Daniel J Walsh wrote: >> # grep awstats /etc/selinux/targeted/contexts/files/* >> Are the references in file_context or file_context.local? >> >> >> # semodule -l >> >> Any additional reference to awstats? > > grep awstats /etc/selinux/targeted/contexts/f

Re: Selinux and awstats

2008-06-29 Thread Claude Jones
On Sun June 29 2008, Daniel J Walsh wrote: > # grep awstats /etc/selinux/targeted/contexts/files/* > Are the references in file_context or file_context.local? > > > # semodule -l > > Any additional reference to awstats? grep awstats /etc/selinux/targeted/contexts/files/*

Re: Selinux and awstats

2008-06-29 Thread Daniel J Walsh
Claude Jones wrote: When booting up, I can get a whole screenful of these things. Every time I run smartpm, I get them. I've tried editing references to awstats out of the indicated files, which seems to work briefly, but then the messages return. >> Looks like you might have cr

Re: Selinux and awstats

2008-06-27 Thread Claude Jones
> >> When booting up, I can get a whole screenful of these > >> things. Every time I run smartpm, I get them. I've tried > >> editing references to awstats out of the indicated files, > >> which seems to work briefly, but then the messages return. > > Looks like you might have created a local file

Re: Selinux and awstats

2008-06-25 Thread Daniel J Walsh
max wrote: > Claude Jones wrote: >> I once had awstats on this machine, but it's been long ago removed. >> I've had a persistent flood of error messages ever since that I can't >> seem to find the cause of. They look like this: >> >> >> /etc/selinux/targeted/contexts/files/file_contexts: Multiple d

Re: Selinux and awstats

2008-06-24 Thread max
Claude Jones wrote: I once had awstats on this machine, but it's been long ago removed. I've had a persistent flood of error messages ever since that I can't seem to find the cause of. They look like this: /etc/selinux/targeted/contexts/files/file_contexts: Multiple different specifications

Selinux and awstats

2008-06-24 Thread Claude Jones
I once had awstats on this machine, but it's been long ago removed. I've had a persistent flood of error messages ever since that I can't seem to find the cause of. They look like this: /etc/selinux/targeted/contexts/files/file_contexts: Multiple different specifications for /var/lib/awstats(/