Hello folks.

I had a working Spacewalk install running on RHEL 5.3.

I then applied the instructions here:

https://fedorahosted.org/spacewalk/wiki/DevelopmentWorkstationSetup

...to turn my Spacewalk install into a development workstation.  Hurray!

So most of this process appears to set up all the appropriate stuff in my own personal Spacewalk directory, with the intention of pointing Spacewalk to my own stuff instead of the RPM-installed stuff.

Looking at the results of "sudo ant install-devel" seems to confirm (and yes, I'm installing Spacewalk as the user "tito"):

=====

Buildfile: build.xml

install-web:
  [symlink] ln -s /home/tito/spacewalk/web/html /var/www/html
    [mkdir] Created dir: /var/www/lib
[symlink] ln -s /home/tito/spacewalk/web/modules/cypress/Cypress /var/www/lib/Cypress [symlink] ln -s /home/tito/spacewalk/web/modules/dobby/Dobby /var/www/lib/Dobby [symlink] ln -s /home/tito/spacewalk/web/modules/grail/Grail /var/www/lib/Grail [symlink] ln -s /home/tito/spacewalk/web/modules/moon/Moon /var/www/lib/Moon [symlink] ln -s /home/tito/spacewalk/web/modules/pxt/PXT /var/www/lib/PXT [symlink] ln -s /home/tito/spacewalk/web/modules/rhn/RHN /var/www/lib/RHN [symlink] ln -s /home/tito/spacewalk/web/modules/sniglets/Sniglets /var/www/lib/Sniglets
  [symlink] ln -s /home/tito/spacewalk/branding/css /var/www/html/css
  [symlink] ln -s /home/tito/spacewalk/branding/img /var/www/html/img
[symlink] ln -s /home/tito/spacewalk/branding/templates /var/www/html/templates [symlink] ln -s /home/tito/spacewalk/branding/styles /var/www/html/nav/styles

install-java:
    [mkdir] Created dir: /var/lib/tomcat5/webapps.save
[symlink] ln -s /home/tito/spacewalk/java/rhnwebapp /var/lib/tomcat5/webapps/rhn

install-devel:

BUILD SUCCESSFUL

=====

Now all of the permissions are broken. Before I go figuring out exactly which permissions are required by what, I thought I'd ask the question: why is it that this build file, which must be run as root anyway, doesn't simply apply the right default permissions? Why must I guess which symlinks should be changed to apache, and which to tomcat, and so on?

--g

--
Computer Science professors should be teaching open source.
Help make it happen.   Visit http://teachingopensource.org.

_______________________________________________
Spacewalk-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to