apparmor warning about /usr/share/apparmor/cache
![](https://seccdn.libravatar.org/avatar/3bc64bb793cf22fd052ba5a860075f2e.jpg?s=120&d=mm&r=g)
Hi *, starting with Tumbleweed snapshot 20230105 I get apparmor.systemd[978]: Warning from stdin (line 1): Cache: failed to add read only location '/usr/share/apparmor/cache', does not contain valid cache directory for the specified feature set on apparmor start, and indeed /usr/share/apparmor/cache does not exist, but also didn't exist before. Any hint? TIA. Bye. Michael.
![](https://seccdn.libravatar.org/avatar/9435667f7160374bc34a8600b686aecd.jpg?s=120&d=mm&r=g)
On 07.01.2023 23:30, mh@mike.franken.de wrote:
Hi *,
starting with Tumbleweed snapshot 20230105 I get
It is on 20221216 already
apparmor.systemd[978]: Warning from stdin (line 1): Cache: failed to add read only location '/usr/share/apparmor/cache', does not contain valid cache directory for the specified feature set
on apparmor start, and indeed /usr/share/apparmor/cache does not exist, but also didn't exist before.
It did exist before
* Tue Nov 22 2022 Christian Boltz
Any hint?
Open but report, in the meantime you can edit /etc/apparmor/parser.conf and remove this directory.
![](https://seccdn.libravatar.org/avatar/3bc64bb793cf22fd052ba5a860075f2e.jpg?s=120&d=mm&r=g)
On Sonntag, 8. Januar 2023 07:37:09 CET Andrei Borzenkov wrote:
On 07.01.2023 23:30, mh@mike.franken.de wrote:
Hi *,
starting with Tumbleweed snapshot 20230105 I get
It is on 20221216 already
apparmor.systemd[978]: Warning from stdin (line 1): Cache: failed to add read only location '/usr/share/apparmor/cache', does not contain valid cache directory for the specified feature set
on apparmor start, and indeed /usr/share/apparmor/cache does not exist, but also didn't exist before.
It did exist before
Maybe, but it does not exist in the backup taken the night before.
* Tue Nov 22 2022 Christian Boltz
... - no longer ship precompiled profile cache for Tumbleweed (boo#1205659)
Any hint?
Open but report, in the meantime you can edit /etc/apparmor/parser.conf and remove this directory.
Thx.
![](https://seccdn.libravatar.org/avatar/abdee805d4df05af9a496107100c582c.jpg?s=120&d=mm&r=g)
* mh@mike.franken.de
On Sonntag, 8. Januar 2023 07:37:09 CET Andrei Borzenkov wrote:
On 07.01.2023 23:30, mh@mike.franken.de wrote:
Hi *,
starting with Tumbleweed snapshot 20230105 I get
It is on 20221216 already
apparmor.systemd[978]: Warning from stdin (line 1): Cache: failed to add read only location '/usr/share/apparmor/cache', does not contain valid cache directory for the specified feature set
on apparmor start, and indeed /usr/share/apparmor/cache does not exist, but also didn't exist before.
It did exist before
Maybe, but it does not exist in the backup taken the night before.
fwiw: I had no /usr/share/apparmor/cache and after update to 20230105 (and 20230108) still do not have /usr/share/apparmor/cache -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet oftc
participants (3)
-
Andrei Borzenkov
-
mh@mike.franken.de
-
Patrick Shanahan