Hi everyone,
I just created an Apparmor profile for Qbittorrent.
Problem, when I launch it, I now have this error message:
HTML Code:
QtSingleCoreApplication: listen on local socket failed, QLocalServer::listen: Permission denied
dbus[176899]: The last reference on a connection was dropped without closing the connection. This is a bug in an application. See dbus_connection_unref() documentation for details.
Most likely, the application was supposed to call dbus_connection_close(), since this is a private connection.
D-Bus not built with -rdynamic so unable to print a backtrace
Abandon (core dumped)
Here is my configuration file :
HTML Code:
# Last Modified: Sun Apr 2 16:11:00 2023
abi <abi/3.0>,
include <tunables/global>
/usr/bin/qbittorrent {
include <abstractions/base>
include <abstractions/dbus-session>
include <abstractions/evince>
include <abstractions/gnome>
include <abstractions/nameservice>
include <abstractions/openssl>
network netlink dgram,
dbus send bus=session path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=Hello peer=(label=unconfined),
/etc/gai.conf r,
/etc/host.conf r,
/etc/hosts r,
/etc/nsswitch.conf r,
/etc/passwd r,
/home/*/Documents/Scripts/ipfilter/ipfilter.dat r,
/proc/sys/kernel/random/boot_id r,
/run/dbus/system_bus_socket rw,
/run/systemd/resolve/stub-resolv.conf r,
/usr/bin/qbittorrent mr,
/var/lib/flatpak/exports/share/icons/hicolor/icon-theme.cache r,
/var/lib/flatpak/exports/share/icons/hicolor/index.theme r,
owner /home/*/.config/ibus/bus/c30cf36e462f42069d1fcb48a126bad8-unix-0 r,
owner /home/*/.config/qBittorrent/#52822024 rw,
owner /home/*/.config/qBittorrent/#52822528 rw,
owner /home/*/.config/qBittorrent/.vmfEZz/ rw,
owner /home/*/.config/qBittorrent/.vmfEZz/s rw,
owner /home/*/.config/qBittorrent/categories.json r,
owner /home/*/.config/qBittorrent/ipc-socket w,
owner /home/*/.config/qBittorrent/lockfile rwk,
owner /home/*/.config/qBittorrent/qBittorrent-data.conf r,
owner /home/*/.config/qBittorrent/qBittorrent.conf rw,
owner /home/*/.config/qBittorrent/qBittorrent_new.conf rwl,
owner /home/*/.config/qBittorrent/qBittorrent_new.conf.lock rwk,
owner /home/*/.config/qBittorrent/rss/feeds.json r,
owner /home/*/.config/qBittorrent/rss/storage.lock w,
owner /home/*/.config/qBittorrent/watched_folders.json r,
owner /home/*/.config/user-dirs.dirs r,
owner /home/*/.config/qBittorrent/qBittorrent.conf rw,
owner /home/*/.local/share/qBittorrent/BT_backup/ r,
owner /home/*/.local/share/qBittorrent/BT_backup/#52822041 rw,
owner /home/*/.local/share/qBittorrent/BT_backup/#52822152 rw,
owner /home/*/.local/share/qBittorrent/BT_backup/6c4a7b695a578b2d96e8f00a532c8e82d40347b8.fastresume rw,
owner /home/*/.local/share/qBittorrent/BT_backup/6c4a7b695a578b2d96e8f00a532c8e82d40347b8.fastresume.AREMkQ rwl,
owner /home/*/.local/share/qBittorrent/BT_backup/6c4a7b695a578b2d96e8f00a532c8e82d40347b8.torrent r,
owner /home/*/.local/share/qBittorrent/BT_backup/9a2b0b5789697a40cfae69d7ed1eae1c9209f277.fastresume rw,
owner /home/*/.local/share/qBittorrent/BT_backup/9a2b0b5789697a40cfae69d7ed1eae1c9209f277.fastresume.NjBXyQ rwl,
owner /home/*/.local/share/qBittorrent/BT_backup/9a2b0b5789697a40cfae69d7ed1eae1c9209f277.torrent r,
owner /home/*/.local/share/qBittorrent/GeoDB/dbip-country-lite.mmdb r,
owner /home/*/.local/share/qBittorrent/logs/ r,
owner /home/*/.local/share/qBittorrent/logs/qbittorrent.log w,
owner /home/*/.local/share/qBittorrent/rss/articles/storage.lock w,
owner /proc/*/cmdline r,
owner /proc/*/comm r,
owner /run/user/1000/ICEauthority r,
owner /run/user/1000/at-spi/bus_0 rw,
owner /run/user/1000/bus rw,
owner /run/user/1000/gdm/Xauthority r,
}
What should I do?
Thanks to you!