Bug#882047: [pkg-apparmor] Bug#882047: Bug#882047: apparmor-utils: aa-complain thunderbird fails

2018-11-12 Thread Vincas Dargis
I am removing variable usage in Thunderbird profile name: https://gitlab.com/apparmor/apparmor-profiles/merge_requests/31

Bug#882047: [pkg-apparmor] Bug#882047: Bug#882047: apparmor-utils: aa-complain thunderbird fails

2018-10-24 Thread Christian Boltz
Hello, Am Sonntag, 21. Oktober 2018, 16:49:29 CEST schrieb Christian Boltz: > As usual if I do some tests, I found more issues: > - the attachment won't be checked if a profile has a name (so using a > variable currently doesn't matter ;-) > - aa-complain first does a "which thunderbird" and

Bug#882047: [pkg-apparmor] Bug#882047: apparmor-utils: aa-complain thunderbird fails

2018-10-22 Thread Vincas Dargis
I believe I would just revert that change which introduced variable in profile name. It was just a way to reduce small duplication, it's not critical at all. Change was made in the spirit of "RFC: using variables to make profiles more flexible" tread [0], but looks like we just need to wait a

Bug#882047: [pkg-apparmor] Bug#882047: apparmor-utils: aa-complain thunderbird fails

2018-10-21 Thread Christian Boltz
Hello, Am Sonntag, 21. Oktober 2018, 09:29:09 CEST schrieb intrigeri: > With 2.13.1: > > # aa-complain thunderbird > Setting /usr/bin/thunderbird to complain mode. > > ERROR: /etc/apparmor.d/usr.bin.thunderbird doesn't contain a valid > profile for /usr/bin/thunderbird (syntax error?) >

Bug#882047: apparmor-utils: aa-complain thunderbird fails

2018-10-21 Thread intrigeri
Control: notforwarded -1 Vincas Dargis: > On 6/13/18 6:00 PM, intrigeri wrote: >> For the record, with 2.13-1 I see a different error: >> >># aa-complain thunderbird >>Setting /usr/bin/thunderbird to complain mode. >> >>ERROR: Path doesn't start with / or variable: gpg >> >> i.e.

Bug#882047: [pkg-apparmor] Bug#882047: Bug#882047: Bug#882047: apparmor-utils: aa-complain thunderbird fails

2018-08-04 Thread Vincas Dargis
On 8/4/18 6:39 PM, intrigeri wrote: Vincas Dargis: Also, some temporary files like "usr.lib.libreoffice.program.soffice.binc3d3lu5x~" are left when aa-enforce fails: Could you please report a bug upstream (https://bugs.launchpad.net/apparmor/+filebug) or worst case a dedicated one in

Bug#882047: [pkg-apparmor] Bug#882047: Bug#882047: Bug#882047: apparmor-utils: aa-complain thunderbird fails

2018-08-04 Thread intrigeri
Vincas Dargis: > Also, some temporary files like > "usr.lib.libreoffice.program.soffice.binc3d3lu5x~" > are left when aa-enforce fails: Could you please report a bug upstream (https://bugs.launchpad.net/apparmor/+filebug) or worst case a dedicated one in Debian about this? Thanks in advance!

Bug#882047: [pkg-apparmor] Bug#882047: apparmor-utils: aa-complain thunderbird fails

2018-08-04 Thread Vincas Dargis
Also, some junk files (like `usr.lib.libreoffice.program.soffice.binzrz7ukcd~`) are left over: ``` $ ls usr.lib.libreoffice.program.soffice.bin* usr.lib.libreoffice.program.soffice.bin $ sudo aa-enforce usr.lib.libreoffice.program.soffice.bin Setting

Bug#882047: [pkg-apparmor] Bug#882047: Bug#882047: Bug#882047: apparmor-utils: aa-complain thunderbird fails

2018-08-04 Thread Vincas Dargis
Also, some temporary files like "usr.lib.libreoffice.program.soffice.binc3d3lu5x~" are left when aa-enforce fails: ``` $ sudo aa-enforce /etc/apparmor.d/usr.lib.libreoffice.program.soffice.bin Setting /etc/apparmor.d/usr.lib.libreoffice.program.soffice.bin to enforce mode. ERROR: Path doesn't

Bug#882047: [pkg-apparmor] Bug#882047: apparmor-utils: aa-complain thunderbird fails

2018-06-15 Thread Christian Boltz
Hello, Am Mittwoch, 13. Juni 2018, 17:00:35 CEST schrieb intrigeri: > intrigeri: > > Ben Caradoc-Davies: > >> On 20/11/17 09:38, Christian Boltz wrote: > >>> Thanks, but unfortunately I still can't reproduce the problem :-( > >>> Can you add a bit of debugging code in aa.py, please? […] > >> >

Bug#882047: [pkg-apparmor] Bug#882047: Bug#882047: Bug#882047: apparmor-utils: aa-complain thunderbird fails

2018-06-13 Thread Vincas Dargis
On 6/13/18 6:00 PM, intrigeri wrote: For the record, with 2.13-1 I see a different error: # aa-complain thunderbird Setting /usr/bin/thunderbird to complain mode. ERROR: Path doesn't start with / or variable: gpg i.e. aa-complain chokes on the "gpg" named child profile. Cheers,

Bug#882047: [pkg-apparmor] Bug#882047: Bug#882047: apparmor-utils: aa-complain thunderbird fails

2018-06-13 Thread intrigeri
intrigeri: > Ben Caradoc-Davies: >> On 20/11/17 09:38, Christian Boltz wrote: >>> Thanks, but unfortunately I still can't reproduce the problem :-( >>> Can you add a bit of debugging code in aa.py, please? […] >> Sure. As requested: >> # aa-complain thunderbird >> Setting /usr/bin/thunderbird to

Bug#882047: [pkg-apparmor] Bug#882047: Bug#882047: apparmor-utils: aa-complain thunderbird fails

2018-01-07 Thread intrigeri
Hi Christian! (and happy new year :) Ben Caradoc-Davies: > On 20/11/17 09:38, Christian Boltz wrote: >> Thanks, but unfortunately I still can't reproduce the problem :-( >> Can you add a bit of debugging code in aa.py, please? […] > Sure. As requested: > # aa-complain thunderbird > Setting

Bug#882047: apparmor-utils: aa-complain thunderbird fails

2017-12-07 Thread intrigeri
Ben Caradoc-Davies: > # aa-complain thunderbird > Setting /usr/bin/thunderbird to complain mode. > looking for /etc/apparmor.d/usr.bin.thunderbird /usr/bin/thunderbird > reading file /etc/apparmor.d/usr.bin.thunderbird > found RE_PROFILE_START in profile thunderbird >

Bug#882047: [pkg-apparmor] Bug#882047: Bug#882047: apparmor-utils: aa-complain thunderbird fails

2017-11-19 Thread Ben Caradoc-Davies
On 20/11/17 09:38, Christian Boltz wrote: Thanks, but unfortunately I still can't reproduce the problem :-( Can you add a bit of debugging code in aa.py, please? Search for def get_profile_flags(filename, program): and add the lines marked with "# added" (or just replace the function with

Bug#882047: [pkg-apparmor] Bug#882047: Bug#882047: apparmor-utils: aa-complain thunderbird fails

2017-11-19 Thread Christian Boltz
Hello, Am Samstag, 18. November 2017, 22:25:40 CET schrieb Ben Caradoc-Davies: > On 19/11/17 07:47, Christian Boltz wrote: > > Can you please send (to me or the bugreport) your > > /etc/apparmor.d/usr.bin.thunderbird profile so that I have the > > correct profile to test? > > Attached. Thanks,

Bug#882047: [pkg-apparmor] Bug#882047: apparmor-utils: aa-complain thunderbird fails

2017-11-18 Thread Ben Caradoc-Davies
On 19/11/17 07:47, Christian Boltz wrote: Can you please send (to me or the bugreport) your /etc/apparmor.d/usr.bin.thunderbird profile so that I have the correct profile to test? Attached. Kind regards, -- Ben Caradoc-Davies Director Transient Software Limited

Bug#882047: [pkg-apparmor] Bug#882047: apparmor-utils: aa-complain thunderbird fails

2017-11-18 Thread Christian Boltz
Hello, Am Samstag, 18. November 2017, 02:48:30 CET schrieb Ben Caradoc-Davies: > # aa-complain thunderbird > Setting /usr/bin/thunderbird to complain mode. > > ERROR: /etc/apparmor.d/usr.bin.thunderbird contains no profile That means it fails in the get_profile_flags() function in aa.py (the

Bug#882047: apparmor-utils: aa-complain thunderbird fails

2017-11-17 Thread Ben Caradoc-Davies
Package: apparmor-utils Version: 2.11.1-3 Severity: normal Dear Maintainer, # aa-complain thunderbird Setting /usr/bin/thunderbird to complain mode. ERROR: /etc/apparmor.d/usr.bin.thunderbird contains no profile Guessing that it might be the same as this upstream, but we do not have a