[CentOS] django not picking up template change on CentOS

Thu Sep 13 15:56:56 UTC 2012
Daniel J Walsh <dwalsh at redhat.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/13/2012 08:38 AM, Larry Martell wrote:
> On Wed, Sep 12, 2012 at 2:19 PM, James B. Byrne <byrnejb at harte-lyne.ca>
> wrote:
>> 
>> On Wed, September 12, 2012 11:52, Larry Martell wrote: I've been trying
>> to set the SELinux
>>> security context on that dir, just so it's like the others, but I 
>>> haven't been able to figure out how to do that - I don't know what to 
>>> pass to chcon.
>> 
>> Well, if SELinux is disabled or set to permissive then the file contexts
>> should not make any difference.  However, to reset the contexts to their
>> defaults without resorting /.autorelabel one can do this:
>> 
>> # permanent fix restorecon -Rv /path/to/start
>> 
>> You might have to add the -F flag as well.  I am not sure when this 
>> becomes necessary but on occasion I have had to resort to it when dealing
>> with httpd selinux issues.
> 
> Thanks for the reply, but this had no effect, neither on the security 
> context of the dir, nor on my django issue. 
> _______________________________________________ CentOS mailing list 
> CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos
> 
restorecon on a disabled system will just exit.  You could put down labels
with setfiles, but since the machine is disabled why bother.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBSAkgACgkQrlYvE4MpobN5CQCguxluzEAd4+spcmnjJNaCA3NJ
EWoAn2DMTbOxQ2aA/lacGfaLOklA3EmI
=CZuz
-----END PGP SIGNATURE-----