Bug 725793

Summary: Permission denied stylesheets/fancyqueries.css
Product: Red Hat Satellite Reporter: Lukas Zapletal <lzap>
Component: WebUIAssignee: Lukas Zapletal <lzap>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: omaciel
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 725901 (view as bug list) Environment:
Last Closed: 2012-08-22 17:50:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 747354    

Description Lukas Zapletal 2011-07-26 15:03:27 UTC
Permission denied - /usr/lib/katello/public/stylesheets/fancyqueries.css

Steps to Reproduce:
1. Install from RPM
2. Try to restart in production mode (default)
3. Try to restart in development mode
  
Actual results:

Error occurs

Additional info:

We need to run

src/# jammit

during the compilation phase to create all CSS/SASL assets.

Comment 1 Lukas Zapletal 2011-07-27 09:06:28 UTC
I will fix both: https://bugzilla.redhat.com/show_bug.cgi?id=725901

Comment 2 Lukas Zapletal 2011-07-27 12:16:03 UTC
Our SPEC precompiles our CSS files and assets using compass and jammit tools:

%build
echo Compiling SASS files...
compass compile

echo Generating Rails assets...
jammit 

Therefore both bugs should be resolved. Please note due to bug in rack 1.1.0 the katello service is not working. The only way to start it until we fix this is:

# cd /usr/lib/katello
# su - katello -s /bin/bash -c "rails s -e production -p 3000"

commit ca97d9ad2fd90d7ab6235c83cc734b13503f171d
Author: Lukas Zapletal <lzap+git>
Date:   Wed Jul 27 13:56:04 2011 +0200

    production.rb now symlinked to /etc/katello/environment.rb

commit be8cf50ae0c0ab465de759b824404a4fda5226d2
Author: Lukas Zapletal <lzap+git>
Date:   Wed Jul 27 11:10:52 2011 +0200

    725793 - Permission denied stylesheets/fancyqueries.css

commit dd11eee1eadc6b3ce1ab8345395d566ef8436715
Author: Lukas Zapletal <lzap+git>
Date:   Wed Jul 27 11:04:07 2011 +0200

    725901 - Permission errors in RPM
    
    Do not attempt to recompile SASS files in the production mode. We are going
    to precompile it during the RPM build process. The /usr/lib/katello/public
    wont be symlinked into the /var/lib/katello anymore.

Comment 4 Og Maciel 2012-02-24 19:55:52 UTC
Not able to reproduce it anymore. Closing it as validated.


* candlepin-0.5.22-1.el6.noarch
* candlepin-tomcat6-0.5.22-1.el6.noarch
* katello-0.1.300-1.el6.noarch
* katello-all-0.1.300-1.el6.noarch
* katello-certs-tools-1.0.2-2.el6.noarch
* katello-cli-0.1.100-2.el6.noarch
* katello-cli-common-0.1.100-2.el6.noarch
* katello-common-0.1.300-1.el6.noarch
* katello-configure-0.1.100-7.el6.noarch
* katello-glue-candlepin-0.1.300-1.el6.noarch
* katello-glue-foreman-0.1.300-1.el6.noarch
* katello-glue-pulp-0.1.300-1.el6.noarch
* katello-httpd-ssl-key-pair-1.0-1.noarch
* katello-qpid-broker-key-pair-1.0-1.noarch
* katello-repos-0.1.5-1.el6.noarch
* katello-selinux-0.1.7-1.el6.noarch
* katello-trusted-ssl-cert-1.0-1.noarch
* pulp-0.0.267-2.el6.noarch
* pulp-admin-0.0.267-2.el6.noarch
* pulp-client-lib-0.0.267-2.el6.noarch
* pulp-common-0.0.267-2.el6.noarch
* pulp-selinux-server-0.0.267-2.el6.noarch