← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2084151] Re: polkitd /usr/share/polkit-1/rules.d/49-ubuntu-admin.rules raises unknown admin group warning (should be adm?)

 

I'm now seeing this after a server upgrade from 22.04 to 24.04

**Unmatched Entries**
    polkitd: Identity `unix-group:admin' is not valid, ignoring: No UNIX group with name admin: Success: 1 Time(s)
    polkitd: Operator of unix-process:unknown FAILED to authenticate to gain authorization for action org.freedesktop.systemd1.manage-units for system-bus-name::1.64 [<unknown>] (owned by unix-user:****): 1 Time(s)

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to policykit-1 in Ubuntu.
https://bugs.launchpad.net/bugs/2084151

Title:
  polkitd /usr/share/polkit-1/rules.d/49-ubuntu-admin.rules raises
  unknown admin group warning (should be adm?)

Status in policykit-1 package in Ubuntu:
  Confirmed

Bug description:
  In Ubuntu/Noble, there is this configuration file:

    /usr/share/polkit-1/rules.d/49-ubuntu-admin.rules

  Contents:

    polkit.addAdminRule(function(action, subject) {
        return ["unix-group:sudo", "unix-group:admin"];
    });

  I'm not sure if that group should be "unix-group:adm" instead, but
  right now we're seeing this in the logs:

    polkitd[2284]: Identity `unix-group:admin' is not valid, ignoring:
  No UNIX group with name admin: No such file or directory

  Please advise.

  Walter Doekes
  OSSO B.V.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/policykit-1/+bug/2084151/+subscriptions