|
Bugzilla – Full Text Bug Listing |
| Summary: | zypper list-updates no longer works rootless | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Georg Pfuetzenreuter <georg.pfuetzenreuter> |
| Component: | libzypp | Assignee: | E-mail List <zypp-maintainers> |
| Status: | RESOLVED DUPLICATE | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | bzeller, mrmazda, suse-beta |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | openSUSE Tumbleweed | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Georg Pfuetzenreuter
2024-06-04 19:09:46 UTC
Same result calling `lu` with or without `--no-refresh`. Might be related to a bug we had which created the cache directories with wrong permissions. Try checking /var/cache/zypp if the directories there are user readable, if not clear the cache, refresh and it should be fixed. I can't reproduce with zypper 1.14.73, make sure you have the up to date version installed. We had some bugs related to repo management due to some refactorings. Hi Benjamin, thanks for the input. Indeed, `/var/cache/zypp/raw` is not world readable - I did not notice that: ``` # ls -al /var/cache/zypp total 20 drwxr-xr-x 5 root root 4096 May 14 12:21 . drwxr-xr-x 13 root root 4096 Dec 8 10:29 .. drwxr-xr-x 2 root root 4096 Jun 5 07:55 packages drwxr-x--- 7 root root 4096 Jun 5 07:55 raw drwxr-xr-x 8 root root 4096 Jun 5 07:55 solv ``` `zypper cc -a` and `zypper ref -f` does not help, but manually deleting the directory and `zypper ref` does - it then gets recreated with world permissions: ``` # ls -al /var/cache/zypp total 20 drwxr-xr-x 5 root root 4096 Jun 5 07:56 . drwxr-xr-x 13 root root 4096 Dec 8 10:29 .. drwxr-xr-x 2 root root 4096 Jun 5 07:55 packages drwxr-xr-x 7 root root 4096 Jun 5 07:56 raw drwxr-xr-x 8 root root 4096 Jun 5 07:55 solv ``` And after that, `lu` works without root again as expected. I'll replicate that on all our Tumbleweeds. Thank you! Closed as duplicate of bug 1222398 *** This bug has been marked as a duplicate of bug 1222398 *** |