update manager has hard-wired /home path

Bug #471774 reported by Jim Thorsley
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: update-manager

When trying to update Feisty the update manager emits an error from python. It seems that /home it hard-wired into the code.
I don't have a /home (I have a /lhome) since the network manager want to be able to nfs-mount my network home. The error
I get from my .xsession-errors file is:

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/UpdateManager/UpdateManager.py", line 572, in on_button_install_clicked
    self.cache.checkFreeSpace()
  File "/usr/lib/python2.6/dist-packages/DistUpgrade/DistUpgradeCache.py", line 946, in checkFreeSpace
    st = os.statvfs(d)
OSError: [Errno 2] No such file or directory: '/home'

When I went in and changed the "/home" to "/lhome" in line 946 all worked fine. Of course, this is not a good solution.

Just thought you'd like to know.

-Jim

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: update-manager 1:0.111.9
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: update-manager
Uname: Linux 2.6.28-16-generic i686

Revision history for this message
Jim Thorsley (thor-csd) wrote :
Michael Vogt (mvo)
Changed in update-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
Robert Roth (evfool) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug #410409, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

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.