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' |
|