update manager fails 8.04 -> 10.04 when /tmp is mounted noexec

Bug #572723 reported by bodhi.zazen
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Software Updater
Invalid
Undecided
Unassigned
update-manager (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Ubuntu 8.04 is fully up to date :

sudo apt-get dist-upgrade

Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Running update manager as a user fails silently:

update-manager --devel-release
extracting 'lucid.tar.gz'
authenticate 'lucid.tar.gz' against 'lucid.tar.gz.gpg'

Running as root yields:

sudo update-manager --devel-release
extracting 'lucid.tar.gz'
authenticate 'lucid.tar.gz' against 'lucid.tar.gz.gpg'
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/UpdateManager/UpdateManager.py", line 959, in on_button_dist_upgrade_clicked
    fetcher.run()
  File "/usr/lib/python2.5/site-packages/UpdateManager/Core/DistUpgradeFetcherCore.py", line 220, in run
    self.runDistUpgrader()
  File "/usr/lib/python2.5/site-packages/UpdateManager/DistUpgradeFetcher.py", line 53, in runDistUpgrader
    os.execv(self.script,[self.script]+self.run_options)
OSError: [Errno 13] Permission denied
/usr/lib/python2.5/site-packages/UpdateManager/DistUpgradeFetcher.py:75: GtkWarning: gtk_scrolled_window_add: assertion `bin->child == NULL' failed
  self.parent.scrolled_notes.add(textview_release_notes)
extracting 'lucid.tar.gz'
authenticate 'lucid.tar.gz' against 'lucid.tar.gz.gpg'
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/UpdateManager/UpdateManager.py", line 959, in on_button_dist_upgrade_clicked
    fetcher.run()
  File "/usr/lib/python2.5/site-packages/UpdateManager/Core/DistUpgradeFetcherCore.py", line 220, in run
    self.runDistUpgrader()
  File "/usr/lib/python2.5/site-packages/UpdateManager/DistUpgradeFetcher.py", line 53, in runDistUpgrader
    os.execv(self.script,[self.script]+self.run_options)
OSError: [Errno 13] Permission denied

Tags: hardy2lucid
Revision history for this message
Connor Imes (ckimes) wrote :

Bodhi, can you please attach the log files /var/log/dist-upgrade/ to the report. Thanks in advance.

tags: added: hardy2lucid
Changed in update-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
Iain Buclaw (iainb) wrote :

I have tried upgrading a clean, fully upgraded install of 8.04.3 to 10.04, and have had no issues whatsoever during the process.

Bodhi, as a hunch, can you please post your fstab listing.

Knowing you, you may have some weird security mount settings in place that is preventing upgrade from taking place, ie: /tmp is mounted as noexec.

Regards
Iain

Revision history for this message
bodhi.zazen (bodhi.zazen) wrote :

Oh , so that's why I was getting permission denied.

/tmp was mounted noexec

Never had a problem with that before w/ update manager

At any rate the upgrade is proceeding now, it reports it will take 5 hours or so, I will update you all tomorrow.

Thanks Iain =)

Revision history for this message
Iain Buclaw (iainb) wrote :

No problem Bodhi, as they say, it takes one to know one. And I doubt I would have suggested it if you were a complete stranger to me.

Regards

Changed in update-manager:
status: New → Invalid
Revision history for this message
bodhi.zazen (bodhi.zazen) wrote :

The update went through, I had two errors flash by during the upgrade, one on flashplugin-nonfree and the other on apparmor.

I *did* have a few custom apparmor scripts and will have to look at both of these problems in more depth as time allows.

Thank you once again Iain

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for this report.

I'm setting the status to 'triaged' since /tmp mounted as noexec is blocking the upgrade. If that's not a bug in update-manager it requires at least some documentation.

Changed in update-manager (Ubuntu):
status: Incomplete → Invalid
importance: Undecided → Low
status: Invalid → Triaged
summary: - update manager fails 8.04 -> 10.04
+ update manager fails 8.04 -> 10.04 when /tmp is mounted noexec
Revision history for this message
Iain Buclaw (iainb) wrote :

If that is the direction forward we want from this, it is probably in best interest to hint that mounting as 'user' automatically implies noexec too.

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.