Package: transmission
Version: 4.1.4+dfsg-1~bpo13+1
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

After updating to 4.1.4, transmission-daemon failed to start with 
AppArmor in enforce mode due to:

Nov 05 20:20:33 challenger kernel: audit: type=1400 audit(1793928033.400:210): 
apparmor="DENIED" operation="file_lock" class="file" 
profile="transmission-daemon" 
name="/var/lib/transmission-daemon/.config/transmission-daemon/lock" 
pid=1196139 comm="transmission-da" requested_mask="k" denied_mask="k" fsuid=118 
ouid=118

The k mask is missing from the AppArmor profile, with only rw being 
given to /var/lib/transmission-daemon/.config/**. This lockfile seems to 
have been introduced in 4.1.4 (though I didn't notice anything in 
upstream release notes.)

Adding the appropriate policy to 
/etc/apparmor.d/local/transmission-daemon resolves the issue:

owner /var/lib/transmission-daemon/.config/transmission-daemon/lock rwk,

-- System Information:
Debian Release: 13.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.113+deb13-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages transmission depends on:
ii  transmission-cli     4.1.4+dfsg-1~bpo13+1
ii  transmission-common  4.1.4+dfsg-1~bpo13+1

transmission recommends no packages.

transmission suggests no packages.

-- no debconf information

Reply via email to