[HOME] [DOWNLOAD] [DOCS] [BLOG] [SUPPORT] [TIPS] [ISSUES] [Priority Support]

bug in /etc/apparmor.d/abstractions/sdwdate


#1

Hi!
This occurs in 13.0.0.1.4 stable

# aa-genprof test
Traceback (most recent call last):
File “/usr/sbin/aa-genprof”, line 101, in
apparmor.loadincludes()
File “/usr/lib/python3/dist-packages/apparmor/aa.py”, line 4628, in loadincludes
load_include(fi)
File “/usr/lib/python3/dist-packages/apparmor/aa.py”, line 4505, in load_include
incdata = parse_profile_data(data, incfile, True)
File “/usr/lib/python3/dist-packages/apparmor/aa.py”, line 3195, in parse_profile_data
raise AppArmorException(_(‘Syntax Error: Unknown line found in file: %(file)s line: %(line)s’) % { ‘file’: file, ‘line’: lineno + 1 })
apparmor.common.AppArmorException: ‘Syntax Error: Unknown line found in file: abstractions/sdwdate line: 154’

The cause is a missing prefix “/” in line 154 of file /etc/apparmor.d/abstractions/sdwdate

usr/lib/python2.7/dist-packages/sdwdate/* rix,

#2

Thanks!

Was already fixed.

Will be released with Whonix 14.

Full file can be found here btw:

https://github.com/Whonix/sdwdate/blob/master/etc/apparmor.d/abstractions/sdwdate


#3

Thank you!