Bug 1218147 - polkit service broken after TW update
Summary: polkit service broken after TW update
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Upgrade Problems (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Marcus Meissner
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-18 09:15 UTC by Wolfgang Rosenauer
Modified: 2023-12-27 07:39 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfgang Rosenauer 2023-12-18 09:15:23 UTC
Yesterday I updated TW to the latest release.
I did not update for a few weeks so unfortunately I cannot tell which snapshot would have triggered the issue first.

The problem was that uid, gid and directory permissions did not match any longer and I can tell that I never touched them manually.

In older versions of my passwd polkit was using 
uid 472
gid 472
which at some point switched to
479:479

/etc/group still had polkitd=472 and the rules.d directories were only readable for root and group polkitd.

Since user polkit now was assigned 479 it could not access the rules anymore which made the service start fail which on the other hand created a horrible mess when starting up the desktop.

I think I fixed it now by changing "everything" to 479 but I'm still very curious why updates created that mess.

As a sidenote it seems chrony was gid 479 before but now is 463 in passwd but still was 479 in group. So also had to change the chrony assignments and file permissions manually. There is a chance that some things are still messed up though.