ReleaseUpgrader should do admin group transition (for people upgraded all the way from warty)

Bug #93279 reported by Stuart Bishop
4
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Fix Released
Undecided
Michael Vogt
Feisty
Invalid
Undecided
Unassigned

Bug Description

There is no longer any entry for the synaptic package manager in the main menu, under neither Applications nor System.

Revision history for this message
Dean Sas (dsas) wrote : Re: Synaptic missing from main menu

do you have a /usr/share/applications/synaptic.desktop file? could you attach it to the bug report?

Revision history for this message
Dean Sas (dsas) wrote :

bug should be tracked on source package only, The release field is for developers to decide which release they will target

Changed in synaptic:
status: Unconfirmed → Rejected
status: Unconfirmed → Needs Info
Revision history for this message
Stuart Bishop (stub) wrote :
Changed in synaptic:
status: Needs Info → Unconfirmed
Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

Unconfirming, the Synaptic menu entry is present on my up to date Feisty system under System > Administration.

Check if you have a file ~/.local/share/applications/synaptic.desktop, removing it should solve your problem.

Changed in synaptic:
assignee: nobody → pascal-devuyst
status: Unconfirmed → Needs Info
Revision history for this message
Stuart Bishop (stub) wrote :

No ~/.local/share/applications/synaptic.desktop.

I've found System->Preferences->Main Menu. It looks like synaptic and a number of other tools are disabled. If I click on them to reenable them, the checkbox goes on briefly before being switched off again, with no other feedback to me.

It looks like every entry in this state is one that is launched using gksu - all the entries that are launchpad without gksu can be enabled and disabled normally. The command like on synaptic for example is:
    gksu /usr/sbin/synaptic

I suspect that this is an upgrade issue, perhaps related to the edgy updates where many of these control panels where not being launched as root?

Revision history for this message
Stuart Bishop (stub) wrote :

The cause of this was that my account did not have the 'Administer the system' privilege granted in users-admin. This account was originally created pre-warty, which I don't think had this option. Until a recent update, this account was running fine.

I think this is an upgrade issue. The problem also cannot be resolved manually without resorting to the command line, as users-admin is the supported way of tuning this flag on and users-admin was one of the missing sysadmin tools. So to fix, you need to go to a command line and run 'gksu users-admin', and toggle the privilege on your account.

Changed in synaptic:
status: Needs Info → Unconfirmed
Michael Vogt (mvo)
Changed in synaptic:
assignee: pascal-devuyst → mvo
status: Unconfirmed → Confirmed
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks Stuart for this information.

I wrote some code in the release upgrader that should fix the issue. But to be certain I would appreciate if you could send me your /etc/sudoers and /etc/group file so that I can be sure I thought of everything.

Cheers,
 Michael

Revision history for this message
Michael Vogt (mvo) wrote :

What puzzles me here is that the admin applications should be hidden since dapper. I wonder why you see this problem how and haven't seen it before :)

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

This problem is fixed in my local tree and the fix will be part of the next upload.

Cheers,
 Michael

Changed in update-manager:
status: Confirmed → Fix Committed
Michael Vogt (mvo)
Changed in update-manager:
status: Fix Committed → 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.