Help with squid / squidGuard
Arthur Dent
selinux.list at troodos.demon.co.uk
Thu Feb 5 22:33:36 UTC 2009
On Thu, Feb 05, 2009 at 11:13:39PM +0100, Dominick Grift wrote:
> Op donderdag 05-02-2009 om 23:02 uur [tijdzone +0100], schreef Dominick
> Grift:
>
> > Whoops the above should be:
> >
> > echo "/var/squidGuard(/.*)? gen_context(system_u:object_r:squid_var_t,
> > s0)" > mysquid.fc;
> >
> > file contexts go into the .fc file instead of the .te file
>
> Also you would need to restore the context of that location:
>
> sudo restorecon -R -v /var/squidGuard
>
> my solution may not work and this is because of the strange location. I
> would have expected /var/lib/squidGuard instead and so my
> var_lib_filetrans() may not work.
Thanks for your help Dominick - It's much appreciated...
I am trying your solution now, and so far no denials (it's only been 3
minutes though!).
Am I right in thinking that all this would be unnecessary if the files
were in /var/lib/squidGuard ?
I cannot remember now why they ended up in /var/squidGuard (I think I
was copying a sample download script - It's been several years since I
first set it up). With a bit of effort I could move them all to
/var/lib/squidGuard. Would that be the *right* thing to do?
Once again, thanks for your help...
Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-selinux-list/attachments/20090205/bf531336/attachment.sig>
More information about the fedora-selinux-list
mailing list