Editing Kickstarts/Snippets errors with "tainted file location"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cobbler (Ubuntu) |
Fix Released
|
High
|
Dustin Kirkland |
Bug Description
Binary package hint: cobbler
Description: The latest packages for cobbler, cobbler-common and cobbler-web in Natty, (cobbler-
Release: Ubuntu Natty (development Branch) 11.04
Steps To Recreate
1) Install cobbler, cobbler-web and cobbler-common
2) Login to the web-interface
3) Navigate to "Snippets" and/or "Kickstart Templates"
4) Click "Edit" next to any file and get the error bellow:
What should happen:
- You should be able to edit files using the in-browser editor
What does happen:
- You get an error like the one bellow
-------
Fault at /ksfile/
<Fault 1: "<class 'cobbler.
Request Method: GET
Request URL: http://<servername-
Django Version: 1.2.5
Exception Type: Fault
Exception Value:
<Fault 1: "<class 'cobbler.
Exception Location: /usr/lib/
Python Executable: /usr/bin/python
Python Version: 2.7.1
Python Path: ['/usr/
Server time: Mon, 4 Apr 2011 15:32:43 +0000
-------
This appears to be a regression in the latest code for cobbler in upstream (see initial reporting here: http://<email address hidden>
A patch has been released (http://<email address hidden>
-------
commit 41a92b11969ab9c
Author: James Cammarata <email address hidden>
Date: Wed Mar 30 16:42:18 2011 -0500
Fix for snippet/kickstart editing via the web interface, where a
'tainted file path' error was thrown
-------
URL: https:/
Not sure if the decision will be to apply the patch to the Ubuntu package, or wait for it to get put into upstream (seems serious enough that it will be included though).
Cheers,
David.
Related branches
Changed in cobbler (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
Confirmed that the following patch and changes works to fix the problem:
https:/ /github. com/jimi1283/ cobbler/ commit/ 41a92b11969ab9c 30b749ab99be705 66cd943093