Comment 15 for bug 967978

Revision history for this message
David R. Hedges (p14nd4) wrote :

This is still broken for me on a fresh install today, with gnome-control-center 1:3.4.0-0ubuntu5.

I believe the problem may lie here:
        struct group *admin;
        struct group *sudo;

        admin = getgrnam ("admin");
        if (admin == NULL)
                return FALSE;

        sudo = getgrnam ("sudo");
        if (sudo == NULL)
                return FALSE;

---------
Since the 'admin' group doesn't exist on my system, the function returns false immediately, short-circuiting the possibility of checking for the sudo group.

The attached patch to cc-network-panel.c seems to have done the trick on my system, but presumably you'll have to merge that into the debian patch directory.