Created attachment 501319 [details] catalina.out log of relevent time Description of problem: When changing the Tree Path on the WebUI you get an Intenal Server Error if the current Tree Path is invalid. Version-Release number of selected component (if applicable): Spacewalk 1.4 How reproducible: 100% Steps to Reproduce: 1. Create a valid Kickstart distribution 2. Move the install media to a new location on the disk (so that the current location in spacewalk is invalid). 3. Update the location on the spacewalk WebUI (in the Tree Path field). Actual results: Spacewalk gets an Internal server error Expected results: The new location should be successfully updated. Additional info:
Taking.
What operating system is the Spacewalk running? Is there any AVC denial in /var/log/audit/audit.log?
(In reply to comment #2) > What operating system is the Spacewalk running? Centos 5.5 > Is there any AVC denial in /var/log/audit/audit.log? Nope, the error that comes up in /var/log/messages is; Can't stat exported dir <name of deleted directory>: No such file or directory
(In reply to comment #3) > > Can't stat exported dir <name of deleted directory>: No such file or directory That's NFS related, isn't it? Is the kickstart distribution on an NFS-mounted volumne?
(In reply to comment #4) > That's NFS related, isn't it? Is the kickstart distribution on an NFS-mounted > volumne? Ah yes sorry, just checked the timestamps and realised it was unrelated to this issue. Just re-created the error now and there is no relevant message in audit.log or the syslog.
I was not able to reproduce the issue. On Spacewalk (nightly), when the path is no longer valid, I get red warning * The initrd could not be found at the specified location: /var/cache/ad-test-23/ks-rhel-i386-server-5-x/images/pxeboot/initrd.img at the top of the /rhn/kickstart/TreeEdit.do?kstid=1 page, and it allows me to edit the form and save it without any ISE.
Moving ON_QA.
Spacewalk 1.5 was released.