Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apparmor questions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
TTAfLA
n00b
n00b


Joined: 09 Sep 2020
Posts: 14

PostPosted: Fri Oct 09, 2020 2:56 pm    Post subject: Apparmor questions Reply with quote

Hello,
I am attempting to learn apparmor.

At booting step I see the following error:
Code:
mkstemp: Read-only file system
Warning from /etc/apparmor.d/bin.ping (/etc/apparmor.d/bin.ping line 29): Cache write disabled: Cannot create setup tmp file '/var/cache/apparmor/bcf407c7.0/bin.ping' : Read-only file system


question 1:
bin.ping file has only 28 lines so why error refers to the line 29
question 2:
I have two kernels installed:
5.4.70 - I don't see these errors
5.8.14 - I see the above error

most important
guestion 3:
what I am doing wrong?

Thank you
Back to top
View user's profile Send private message
TTAfLA
n00b
n00b


Joined: 09 Sep 2020
Posts: 14

PostPosted: Sat Oct 10, 2020 2:42 pm    Post subject: Reply with quote

disabling
Code:
write-cache

in
/etc/apparmor/parser.conf

fixed the error, not a big deal as I don't have a lot of rules to load so slowdown without caching is not affecting boot time.
However I still don't know why I can't use write-cache with 5.8.x kernels but it works with 5.4.x kernels?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum