Activity log for bug #241723

Date Who What changed Old value New value Message
2008-06-20 17:20:46 Michael Vogt bug added bug
2008-06-20 18:08:42 Michael Vogt description Binary package hint: update-manager Update-manager adds the "admin" group if it is not on the system. If that fails, update-manager will crash: 2008-06-20 17:53:12,564 WARNING System has no admin group ('getgrnam(): name not found: admin') 2008-06-20 17:53:12,725 ERROR not handled expection: Traceback (most recent call last): File "./dist-upgrade.py", line 60, in ? app.run() File "/tmp/tmpuqMuL-/DistUpgradeController.py", line 1580, in run self.fullUpgrade() File "/tmp/tmpuqMuL-/DistUpgradeController.py", line 1568, in fullUpgrade self.doPostUpgrade() File "/tmp/tmpuqMuL-/DistUpgradeController.py", line 998, in doPostUpgrade func() File "/tmp/tmpuqMuL-/DistUpgradeController.py", line 1153, in from_dapperQuirks self._checkAdminGroup() File "/tmp/tmpuqMuL-/DistUpgradeController.py", line 1136, in _checkAdminGroup admin_group = grp.getgrnam("admin").gr_mem KeyError: 'getgrnam(): name not found: admin' Binary package hint: update-manager Update-manager adds the "admin" group if it is not on the system. If that fails, update-manager will crash: TEST CASE: 1. use dapper (server so that the upgrade is quicker) 2. run "sudo do-release-upgrade -d" 3. wait for it to finish running and wait for cleanup, do *not* continue with the cleanup just yet 4.do "chattr +i /etc/group" to simulate unwritable group file 5. procceed with the cleanup and watch it fails 6. repeat steps 1-4 but run "sudo do-release-upgrade -d --proposed" this time 7. watch it work 2008-06-20 17:53:12,564 WARNING System has no admin group ('getgrnam(): name not found: admin') 2008-06-20 17:53:12,725 ERROR not handled expection: Traceback (most recent call last): File "./dist-upgrade.py", line 60, in ? app.run() File "/tmp/tmpuqMuL-/DistUpgradeController.py", line 1580, in run self.fullUpgrade() File "/tmp/tmpuqMuL-/DistUpgradeController.py", line 1568, in fullUpgrade self.doPostUpgrade() File "/tmp/tmpuqMuL-/DistUpgradeController.py", line 998, in doPostUpgrade func() File "/tmp/tmpuqMuL-/DistUpgradeController.py", line 1153, in from_dapperQuirks self._checkAdminGroup() File "/tmp/tmpuqMuL-/DistUpgradeController.py", line 1136, in _checkAdminGroup admin_group = grp.getgrnam("admin").gr_mem KeyError: 'getgrnam(): name not found: admin'
2008-06-20 18:15:16 Launchpad Janitor update-manager: status New Fix Released
2008-07-09 15:25:15 Martin Pitt update-manager: status New Fix Committed
2008-07-09 15:25:39 Martin Pitt bug added subscriber SRU Verification
2008-08-11 13:40:54 Martin Pitt update-manager: status Fix Committed Fix Released
2008-08-11 13:40:54 Martin Pitt update-manager: statusexplanation Copied to hardy-updates. It has been verified that the new update-manager can successfully upgrade 7.10 to 8.04 without noticeable regressions. Unfortunately it could not be verified from a third party that this bug is really fixed, but we strongly believe it is. If you still have problems, please report back here. Thank you!
2010-02-22 00:31:39 Launchpad Janitor branch linked lp:ubuntu/update-manager