Skip to content

Commit

Permalink
Fix apparmor incorrectly denying access db tmp file.
Browse files Browse the repository at this point in the history
This is /var/lib/mosquitto/mosquitto.db.new.

Closes #1978. Thanks to gnampf89.
  • Loading branch information
ralight committed Dec 27, 2020
1 parent b2da540 commit 8385769
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ChangeLog.txt
Expand Up @@ -5,6 +5,8 @@ Broker:
Closes #1977.
- Fix bridge connection not relinquishing POLLOUT after messages are sent.
Closes #1979.
- Fix apparmor incorrectly denying access to
/var/lib/mosquitto/mosquitto.db.new. Closes #1978.


2.0.4 - 2020-12-22
Expand Down
1 change: 1 addition & 0 deletions security/mosquitto.apparmor
Expand Up @@ -9,6 +9,7 @@
/etc/mosquitto/conf.d/* r,
/var/lib/mosquitto/ r,
/var/lib/mosquitto/mosquitto.db rwk,
/var/lib/mosquitto/mosquitto.db.new rwk,
/var/run/mosquitto.pid rw,

network inet stream,
Expand Down

0 comments on commit 8385769

Please sign in to comment.