Commit 5359a9e
committed
Add a polkit rule to allow background metadata/appstream updates
for inactive users.
- Log in any two users.
- Terminate mintupdate but remain in that session.
- Delete ~/.cache/mintinstall/pkginfo.json
- Run 'sleep 10 && mintupdate'
- Switch to the other session within 10 seconds (ctrl-alt-f7/f8?)
- Switch back after 20 or so seconds, observe authentication
prompt waiting to download appstream info during flatpak updates
check.
Ref:
linuxmint/cinnamon#12847
linuxmint/cinnamon#12728
In my testing, I was unable to reproduce some of the side-effects
reported (having to hard-reset, etc...) - I was able to cancel or
complete the authentication dialog if I switched back to the test
session soon enough, but this should hopefully avoid those prompts
appearing altogether.1 parent 6128f73 commit 5359a9e
2 files changed
Lines changed: 9 additions & 0 deletions
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
0 commit comments