upgrades broken if symlinks exist, one symlink is plain wrong

Bug #746854 reported by Dustin Kirkland 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cobbler (Ubuntu)
Fix Released
High
Dustin Kirkland 
Natty
Fix Released
High
Dustin Kirkland 

Bug Description

Binary package hint: cobbler

I'm not sure why these symlinks are being handled in cobbler-web.postint, but I do see two problems with them:

 1) one of the symlinks is wrong; it should be:
ln -sf /usr/share/cobbler/webroot/cobbler_webui_content /var/www/cobbler_webui_content

 2) we need ln -sf so that upgrade succeed; otherwise, an upgrade of this package will fail in the postinst if those symlinks are present

I'd rather see these moved entirely to a cobbler-web.links file. But in the mean time, let's fix what's just plain broken.

Related branches

Revision history for this message
Dustin Kirkland  (kirkland) wrote :
Changed in cobbler (Ubuntu):
status: New → In Progress
assignee: nobody → Dustin Kirkland (kirkland)
importance: Undecided → Medium
importance: Medium → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cobbler - 2.1.0-0ubuntu2

---------------
cobbler (2.1.0-0ubuntu2) natty; urgency=low

  * debian/rules: clean out manpage zipfiles, so that rebuilds work,
    LP: #746847
  * debian/cobbler-web.postinst: LP: #746854
    - fix broken link
    - use ln -sf so that upgrades work
 -- Dustin Kirkland <email address hidden> Thu, 31 Mar 2011 19:23:29 -0500

Changed in cobbler (Ubuntu Natty):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.