[Touch-packages] [Bug 2062138] Re: test-logprof.py from test_utils_testsuite / test_utils_testsuite3 in ubuntu_qrt_apparmor failing on Azure Standard_A2_v2

2024-08-12 Thread Christian Boltz
** Also affects: apparmor Importance: Undecided Status: New ** Changed in: apparmor Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/b

[Touch-packages] [Bug 2077413] Re: apparmor unconfined profile blocks signal sending

2024-08-20 Thread Christian Boltz
> comm="apparmor_signal" requested_mask="receive" denied_mask="receive" signal=kill peer="/home/ubuntu/apparmor_signal_test_wrap.sh" So you get a denial for receiving a signal from peer="/home/ubuntu/apparmor_signal_test_wrap.sh" - which is not surprising because that peer has a profile: > "/home

[Touch-packages] [Bug 2078467] Re: aa-enforce /etc/apparmor.d/* - Error

2024-09-04 Thread Christian Boltz
For reference: This was fixed upstream with https://gitlab.com/apparmor/apparmor/-/merge_requests/1218 in April. Until fixed Ubuntu packages are available, you can manually apply the (simple) patch from that merge request. -- You received this bug notification because you are a member of Ubuntu T

[Touch-packages] [Bug 1964636] Re: Incorrect handling of apparmor `bpf` capability

2023-01-10 Thread Christian Boltz
> # new python script to create vim profiles with > > python create-apparmor.vim.py For the records: create-apparmor.vim.py exists since years, and ... > # generates a new file called apparmor.vim.in ... it uses apparmor.vim.in as _input_ and generates the apparmor.vim file (syntax highlighting

[Touch-packages] [Bug 2039294] Re: apparmor docker

2023-11-19 Thread Christian Boltz
Slightly related: > /usr/sbin/runc flags=(unconfined) { Shouldn't that nowadays be(come) profile runc /usr/sbin/runc flags=(unconfined) { Ideally please fix this now, so that the upstream docker profile can use peer=runc -- You received this bug notification because you are a member of Ubuntu

[Touch-packages] [Bug 2046624] Re: apparmor breaks surfshark vpn

2023-12-17 Thread Christian Boltz
> with the new apparmor Candidate: 4.0.0~alpha2-0ubuntu7 > DistroRelease: Ubuntu 24.04 This bug smells like a userns issue - programs using userns (often used for sandboxing) now _must have_ an AppArmor profile. Can you please save the following as /etc/apparmor.d/surfshark? (Adjust the path to

[Touch-packages] [Bug 1934005] Re: abstractions/X: Possible regression of X session functionality by removing 'w' from /tmp/.X11-unix/* line?

2021-06-30 Thread Christian Boltz
This was already fixed upstream, see https://gitlab.com/apparmor/apparmor/-/merge_requests/664 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1934005 Title: abstractions/

[Touch-packages] [Bug 1641236] Re: Confined processes inside container cannot fully access host pty device passed in by lxc exec

2022-05-18 Thread Christian Boltz
> apparmor_parser -R /etc/apparmor.d -R means to unload profiles, in this case all profiles in /etc/apparmor.d/. That's probably a bit ;-) too much... I'd guess you want to unload only the tcpdump profile, which would be done with apparmor_parser -R /etc/apparmor.d/usr.bin.tcpdump An alternative

[Touch-packages] [Bug 1861250] Re: Apparmor error failed to start profiles

2022-01-27 Thread Christian Boltz
Looks like the profile for cups-browsed has a syntax error. (Did you change something in the profile, or is it the original profile as shipped in the package?) Also, AFAIK this profile is shipped with the cups package, therefore I'm adding that package. ** Also affects: cups (Ubuntu) Importanc

[Touch-packages] [Bug 1961196] Re: apparmor autotest failure on jammy with linux 5.15

2022-02-17 Thread Christian Boltz
This was already fixed upstream with https://gitlab.com/apparmor/apparmor/-/merge_requests/848 (with a slightly different patch that works for all python versions). AppArmor >= 3.0.5 will include the fix. -- You received this bug notification because you are a member of Ubuntu Touch seeded packa

[Touch-packages] [Bug 1948752] Re: apparmor is logging too many messages

2021-10-26 Thread Christian Boltz
The /usr/bin/redshift profile needs some additional dbus rules. ** Also affects: redshift Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.

[Touch-packages] [Bug 1641236] Re: Confined processes inside container cannot fully access host pty device passed in by lxc exec

2022-10-26 Thread Christian Boltz
A few comments and explanations: > As part of that it locks down /dev to read-only: > /dev/ r, > > However that also means /dev/pts is read-only, hence the error above denies > write access. The rule for /dev/ only allows reading the directory listing of /dev/. It doesn't say or allow anything

[Touch-packages] [Bug 1993572] Re: samba profile: missing rule for mkdir /var/cache/samba/printing

2022-10-26 Thread Christian Boltz
Based on your DENIED message, I wonder if read (= directory listing) permissions are really needed, or if /var/cache/samba/printing/ w, # without r would be enough. Can you please test and report back? -- You received this bug notification because you are a member of Ubuntu Touch seeded p

[Touch-packages] [Bug 1991141] Re: "aa-disable" fails on autopkgtest.u.c (armhf)

2022-10-26 Thread Christian Boltz
aa-disable calls apparmor_parser, so this is most likely a problem between apparmor_parser and the kernel. I've updated the summary accordingly. ** Summary changed: - "aa-disable" fails on autopkgtest.u.c (armhf) + parser fails to unload profile via "aa-disable" on autopkgtest.u.c (armhf) - "Per

[Touch-packages] [Bug 1993572] Re: samba profile: missing rule for mkdir /var/cache/samba/printing

2022-10-26 Thread Christian Boltz
Typo? I'd expect 'Just "w" is enough' ;-) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1993572 Title: samba profile: missing rule for mkdir /var/cache/samba/printing S

[Touch-packages] [Bug 1993572] Re: samba profile: missing rule for mkdir /var/cache/samba/printing

2022-10-27 Thread Christian Boltz
Submitted as https://gitlab.com/apparmor/apparmor/-/merge_requests/937 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1993572 Title: samba profile: missing rule for mkdir

[Touch-packages] [Bug 1819741] Re: aa-genprof fails on disabled profile

2019-03-14 Thread Christian Boltz
This is already fixed upstream (in AppArmor 2.12.2 and 2.13.2), especially commit f997977e6. However, the Ubuntu package doesn't have that fix yet, therefore I add "apparmor (Ubuntu)" to the "affects" list. Backporting the mentioned commit probably isn't too easy (it's quite big and IIRC has depe

[Touch-packages] [Bug 1805178] Re: Apparmor should include letsencrypt directory for Slapd

2018-11-30 Thread Christian Boltz
The ssl_certs and ssl_keys abstractions just got the paths for letsencrypt added: https://gitlab.com/apparmor/apparmor/merge_requests/283 (also backported to the 2.10..2.13 branches) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subs

[Touch-packages] [Bug 1784499] Re: AppArmor treats regular NFS file access as network op

2018-12-19 Thread Christian Boltz
** Also affects: apparmor Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1784499 Title: AppArmor treats regular NFS file acces

[Touch-packages] [Bug 1785391] Re: aa-genprof fails in an lxd instance

2019-02-16 Thread Christian Boltz
** Changed in: apparmor Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1785391 Title: aa-genprof fails in an lxd instance St

[Touch-packages] [Bug 1571531] Re: cupsd cause apparmor denials for /etc/ld.so.preload

2019-02-18 Thread Christian Boltz
> unix (connect, send, receive) peer = (addr = "@ 2F746D702F65736574732E736F636B00 *") Did you really use exactly this line (with "@_space_2F...B00_space_*")? If so, please try again without the spaces. -- You received this bug notification because you are a member of Ubuntu Touch seeded package

[Touch-packages] [Bug 1668892] Re: CVE-2017-6507: apparmor service restarts and package upgrades unload privately managed profiles

2018-04-22 Thread Christian Boltz
** Changed in: apparmor Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1668892 Title: CVE-2017-6507: apparmor service restart

[Touch-packages] [Bug 1590561] Re: webbrowser-app crashes on startup on fresh zesty Unity8: No suitable EGL configs found

2018-04-22 Thread Christian Boltz
** Changed in: apparmor Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1590561 Title: webbrowser-app crashes on startup on fr

[Touch-packages] [Bug 1730536] Re: "Unable to open external link" in Evince when google-chrome-unstable is the default browser

2018-04-22 Thread Christian Boltz
Fixed in AppArmor 2.12 ** Changed in: apparmor Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1730536 Title: "Unable to open

[Touch-packages] [Bug 1717714] Re: @{pid} variable broken on systems with pid_max more than 6 digits

2018-04-22 Thread Christian Boltz
** Changed in: apparmor Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1717714 Title: @{pid} variable broken on systems with

[Touch-packages] [Bug 1758449] Re: skype snap does not work when home directory is not located in /home

2018-03-23 Thread Christian Boltz
Just as a quick info - to get things working with non-default home directory locations, edit /etc/apparmor.d/tunables/home (or add a file to /etc/apparmor.d/tunables/home.d/) and add your custom path ("/data/home/") to the @{HOMEDIRS} variable. I'm not sure why read access to /data/ was requested

[Touch-packages] [Bug 1759346] Re: ix scrubs environment when it shouldn't when going through aa-exec

2018-03-29 Thread Christian Boltz
Just wondering - if this bug survived so long without being noticed, isn't it a sign that in most cases scrubbing doesn't hurt or is even a good idea? Should we introduce Ix to officially have a way to inherit with scrubbing? -- You received this bug notification because you are a member of Ubun

[Touch-packages] [Bug 1756800] Re: Failed to start AppArmor initialization with status=123/n/a

2018-05-28 Thread Christian Boltz
Looks like you have a syntax error in /etc/apparmor.d/tunables/multiarch around line 13. Can you please attach this file? Also, did you modify it manually? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. ht

[Touch-packages] [Bug 1528139] Re: serialize_profile_from_old_profile() crash if file contains multiple profiles

2018-06-09 Thread Christian Boltz
For the records - I'm just working on a different implementation of "(V)iew Changes", which will also replace the workaround with a real fix :-) This will probably be in AppArmor 3.0, and will appear as merge request on gitlab this weekend. -- You received this bug notification because you are a

[Touch-packages] [Bug 1734038] Re: Potential regression found with apparmor test on Xenial/Zesty

2017-11-24 Thread Christian Boltz
> There is also a python parser (in aa.py) which only seems to understand the > 'include ' > syntax and it is this which throws errors when running the utility commands. Exactly, that's the cause of this bug. I'll change the title to make it obvious. Interestingly, it has been this way for year

[Touch-packages] [Bug 1399027] Re: logparser doesn't understand /var/log/messages format

2017-12-04 Thread Christian Boltz
> c0n7r4 (c0n7r4) wrote: > apparmor="AUDIT" AUDIT events happen if your profile has a rule like audit /tmp/tempfile/ r, and the program is then really doing something that needs this rule (like getting a directory listing for /tmp/tempfile/). "audit" means that the action is allowed (but get

[Touch-packages] [Bug 1717714] Re: @{pid} variable broken on systems with pid_max more than 6 digits

2018-01-10 Thread Christian Boltz
> Not quite sure now if apparmor upstream is found in launchpad[1] or gitlab[2]. The code moved from bzr to gitlab recently. Bug tracking and translations are still handled on launchpad. > I would go with that versionning approach instead: > > apparmor | 2.11.0-2ubuntu17.1 | artful > apparmor |

[Touch-packages] [Bug 1658943] Re: aa-notify blocks desktop with garbage notifications

2018-02-28 Thread Christian Boltz
Reopening for upstream AppArmor - unfortunately nobody worked on this yet :-( ** Changed in: apparmor Status: Invalid => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launch

[Touch-packages] [Bug 1752365] Re: Cannot Add Request Hat or Use Default Hat in aa-logprof and mod_apparmor

2018-02-28 Thread Christian Boltz
For the records: this is already fixed upstream (checked in master and the latest 2.11 branch), so Ubuntu "just" needs to pick up the fix. commit e2039f021e42793e07c1838499eae9c22e1ea8f2 Author: Christian Boltz Date: Mon Aug 15 22:02:55 2016 +0200 See https://bugs.launchpad.net/app

[Touch-packages] [Bug 1528139] Re: serialize_profile_from_old_profile() crash if file contains multiple profiles

2018-07-25 Thread Christian Boltz
Done - https://gitlab.com/apparmor/apparmor/merge_requests/131 will be part of AppArmor 3.0 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1528139 Title: serialize_profil

[Touch-packages] [Bug 1784023] Re: Update profiles for usrmerge

2018-07-28 Thread Christian Boltz
> ./abstractions/lightdm: /bin/ rmix, rmix permissions for a directory? That looks wrong to me, r permissions should be enough. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lightdm in Ubuntu. https://bugs.launchpad.net/bug

[Touch-packages] [Bug 1785391] Re: aa-genprof fails in an lxd instance

2018-08-05 Thread Christian Boltz
https://gitlab.com/apparmor/apparmor/merge_requests/157 For aa-logprof - a) what exactly is the problem and b) please answer in a separate bugreport ;-) ** Changed in: apparmor Status: New => Triaged ** Changed in: apparmor Assignee: (unassigned) => Christian Boltz (cboltz) -

[Touch-packages] [Bug 1785391] Re: aa-genprof fails in an lxd instance

2018-08-07 Thread Christian Boltz
Fix commited to 2.10 branch..master For the aa-logprof issue you mentioned, please answer my question in a new bugreport ;-) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/

[Touch-packages] [Bug 1785391] Re: aa-genprof fails in an lxd instance

2018-08-07 Thread Christian Boltz
** Changed in: apparmor Status: Triaged => Fix Committed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1785391 Title: aa-genprof fails in an lxd instance Status

[Touch-packages] [Bug 1528139] Re: serialize_profile_from_old_profile() crash if file contains multiple profiles

2018-11-11 Thread Christian Boltz
Also backported to the 2.12 and 2.13 branch, will be in 2.12.2 and 2.13.2. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1528139 Title: serialize_profile_from_old_profil

[Touch-packages] [Bug 1721278] Re: apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" w/ 4.14-rc2 and later

2017-10-24 Thread Christian Boltz
> ... apparmor="DENIED" operation="create" ... family="unix" sock_type="stream" With the pinned-down feature set, you probably "lost" support for unix rules. In theory, apparmor_parser will downgrade those rules to "network unix," - but in practise a bug in apparmor_parser prevented it.This bug w

[Touch-packages] [Bug 1717714] Re: @{pid} variable broken on systems with pid_max more than 6 digits

2017-10-26 Thread Christian Boltz
** Also affects: apparmor/2.11 Importance: Undecided Status: New ** Changed in: apparmor/2.11 Status: New => Fix Committed ** Changed in: apparmor/2.11 Milestone: None => 2.11.2 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages,

[Touch-packages] [Bug 1507469] Re: Evince's Apparmour profile prevents opening docs from other apps under Wayland

2015-10-20 Thread Christian Boltz
/run/user/1000/wayland-0 doesn't sound like an Evince-specific thing. Would it make sense to add it to the X abstraction instead? (restricting it to "owner" probably makes sense) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to

[Touch-packages] [Bug 1310598] Re: AppArmor python tools fail to parse mounts with UTF-8 non-ascii characters

2015-10-20 Thread Christian Boltz
This is fixed in the (already released) AppArmor 2.10, but I'm unable to set the target milestone to 2.10. ** Changed in: apparmor Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to a

[Touch-packages] [Bug 1300948] Re: aa-genprof crashed with PermissionError in _mkstemp_inner(): [Errno 13] Permission denied: '/etc/apparmor.d/tmphtnhuikm~'

2015-10-23 Thread Christian Boltz
*** This bug is a duplicate of bug 1489196 *** https://bugs.launchpad.net/bugs/1489196 ** This bug has been marked a duplicate of bug 1489196 aa-genprof should display a clear error message instead of a stack trace if it doesn't have write permissions to the profile directory -- You rece

[Touch-packages] [Bug 1466812] Re: aa-logprof crash

2015-10-28 Thread Christian Boltz
For the records:I accidently used --fixes lp:1466812 (= this bug) when commiting bzr trunk r3266 and 2.9 branch r2961. Those commits actually fixed bug 1509030, which is the file_inherit "twin" of this bug. -- You received this bug notification because you are a member of Ubuntu Touch seeded pack

[Touch-packages] [Bug 1507469] Re: Evince's Apparmour profile prevents opening docs from other apps under Wayland

2015-10-30 Thread Christian Boltz
While I understand the reason to have a wayland abstraction (yes, wayland != X), this probably also means we'll need to change all profiles that include abstractions/X to also include the wayland abstraction. That's also the reason why I proposed (ab)using abstractions/X - that would mean we don't

[Touch-packages] [Bug 1511830] Re: apparmor denies VM startup when image is network mounted

2015-11-02 Thread Christian Boltz
The log message says family="inet6" so you'll need "network inet6 stream," (inet != inet6 ;-) "stream" is an optional restriction - I'd recommend to add it (also to the existing "network inet," rule, assuming that only "stream" is needed) to avoid superfluous permissions. -- You received this bu

[Touch-packages] [Bug 1516037] Re: lxc-start fails with 1.1.5-0ubuntu1

2015-11-16 Thread Christian Boltz
Which apparmor version do you use? I can't reproduce the problem using the latest version from the 2.9 branch and bzr trunk. (I tested with abstractions/base instead of abstractions/lxc/start-container in the profile, but that shouldn't matter.) -- You received this bug notification because you

[Touch-packages] [Bug 1516037] Re: lxc-start fails with 1.1.5-0ubuntu1

2015-11-17 Thread Christian Boltz
AppArmor 2.7 is _very_ old - especially given the fact that the tools were rewritten in python for 2.9. I just checked the perl code (which was used in 2.8.x and older) - it _sets_ the flags (instead of adding or removing them), so it's not surprising that attach_disconnected gets lost. (This is o

[Touch-packages] [Bug 1446906] Re: lxc container with postfix, permission denied on mailq

2015-11-17 Thread Christian Boltz
*** This bug is a duplicate of bug 1390223 *** https://bugs.launchpad.net/bugs/1390223 nearly correct - the rule needs to be /public/showq r, (note the leading "/") -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lx

[Touch-packages] [Bug 1518663] Re: Disconnected path errors

2015-11-22 Thread Christian Boltz
The fix *) for this is in upstream AppArmor 2.10 and will also be in 2.9.3. *) fix means ignoring those log entries to avoid the crash. Ideally aa- logprof should propose adding the attach_disconnected flag. See also https://bugzilla.opensuse.org/show_bug.cgi?id=918787 Note: You'll need to add

[Touch-packages] [Bug 1455236] Re: AppArmor 2.9.2 fails to load multiple profiles

2015-05-14 Thread Christian Boltz
This report is about AppArmor 2.9.2 ** Also affects: apparmor Importance: Undecided Status: New ** Tags added: aa-tools -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net

[Touch-packages] [Bug 1455236] Re: AppArmor 2.9.2 fails to load multiple profiles

2015-05-14 Thread Christian Boltz
Just for the records - this is a duplicate of bug 1378095 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1455236 Title: AppArmor 2.9.2 fails to load multiple profiles St

[Touch-packages] [Bug 1317555] Re: 'signal peer=@{profile_name}, ' does not work as expected when in a profile using a regex match as a name

2015-06-13 Thread Christian Boltz
Just to make sure this doesn't get lost/overlooked: > # Oddly, comm="kill" is in both denials, despite the denials being for send and receive masks -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://b

[Touch-packages] [Bug 1466812] Re: aa-logprof crash

2015-06-20 Thread Christian Boltz
I can reproduce the crash with both bzr trunk and the 2.9 branch using the attached KernLog.txt ** Also affects: apparmor Importance: Undecided Status: New ** Tags added: aa-tools ** Changed in: apparmor Importance: Undecided => High -- You received this bug notification because y

[Touch-packages] [Bug 1466812] Re: aa-logprof crash

2015-06-20 Thread Christian Boltz
Actually, I get a slightly different crash: File "/home/cb/apparmor/HEAD-clean/utils/apparmor/logparser.py", line 258, in add_event_to_tree rmask = rmask.replace('c', 'a') AttributeError: 'NoneType' object has no attribute 'replace' ('NoneType' instead of 'set') -- You received this bug

[Touch-packages] [Bug 1466812] Re: aa-logprof crash

2015-06-20 Thread Christian Boltz
This log line is enough to reproduce the crash: Jun 19 12:00:55 piorun kernel: [4475115.459952] audit: type=1400 audit(1434708055.676:19629): apparmor="ALLOWED" operation="file_perm" profile="/usr/sbin/apache2" pid=3512 comm="apache2" laddr=:::193.0.236.159 lport=80 faddr=:::192.168.103.80

[Touch-packages] [Bug 1466812] Re: aa-logprof crash

2015-06-21 Thread Christian Boltz
Patch to avoid the crash (by ignoring file_perm events without request_mask): https://lists.ubuntu.com/archives/apparmor/2015-June/008250.html I'm also adding the aa-kernel tag because the logging seems to be broken somehow. ** Tags added: aa-kernel -- You received this bug notification because

[Touch-packages] [Bug 1443591] Re: users should not have to type and extra "." in order to run a shell script

2015-06-26 Thread Christian Boltz
Silly question - did you set the x file permissions (chmod +x) for the script? Otherwise... # ./README bash: ./README: Permission denied -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor-easyprof-ubuntu in Ubuntu. http

[Touch-packages] [Bug 1466812] Re: aa-logprof crash

2015-07-01 Thread Christian Boltz
Maybe the code in the Ubuntu package needs another patch that is in upstream bzr, but not in the package. (Strictly speaking, that's not my problem - I only do the openSUSE packaging :-P) Can you please test with a bzr checkout of the latest upstream code from lp:apparmor (trunk) and/or lp:apparmo

[Touch-packages] [Bug 1471425] [NEW] aa-logprof crash on #include

2015-07-04 Thread Christian Boltz
Public bug reported: aa-logprof crashes on profiles that contain an #include _if_ there are events for this profile. 2.9 crash: # aa-logprof -f /tmp/syslog Lese Logeinträge von /tmp/syslog. Aktualisiere AppArmor-Profile in /etc/apparmor.d. Traceback (most recent call last): File "aa-logprof",

[Touch-packages] [Bug 1466812] Re: aa-logprof crash

2015-07-04 Thread Christian Boltz
Changed in: apparmor Assignee: (unassigned) => Christian Boltz (cboltz) ** Changed in: apparmor Status: New => In Progress ** Changed in: apparmor Milestone: None => 2.9.3 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is sub

[Touch-packages] [Bug 1471425] Re: aa-logprof crash on #include

2015-07-04 Thread Christian Boltz
patches for trunk sent to ML. ** Changed in: apparmor Status: New => In Progress ** Changed in: apparmor Assignee: (unassigned) => Christian Boltz (cboltz) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscri

[Touch-packages] [Bug 1471425] Re: aa-logprof crash on #include

2015-07-04 Thread Christian Boltz
Patch for 2.9 also sent to ML. Note that the trunk patch actually honors the content of the include directory, while the 2.9 patch "just" avoids the crash. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. h

[Touch-packages] [Bug 1466812] Re: aa-logprof crash

2015-07-07 Thread Christian Boltz
Re comment #13: Good to know, so my patch actually helps. Now Ubuntu "just" needs to release an updated package ;-) Re comment #14: aa-logprof (to be exact: logparser.py) assumes "connect" events are always network events, but some discussion on #apparmor (and of course your log entry) brought

[Touch-packages] [Bug 1466812] Re: aa-logprof crash

2015-07-08 Thread Christian Boltz
Fix for the utils commited to bzr (both trunk and 2.9). For the kernel side that produces the broken log message, I just opened bug 1472776. ** Changed in: apparmor Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Touch seeded

[Touch-packages] [Bug 1471425] Re: aa-logprof crash on #include

2015-07-08 Thread Christian Boltz
Patches commited to trunk and 2.9. ** Changed in: apparmor Status: In Progress => Fix Committed ** Changed in: apparmor Milestone: None => 2.9.3 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu.

[Touch-packages] [Bug 1489196] Re: aa-genprof should display a clear error message instead of a stack trace if it doesn't have write permissions to the profile directory

2015-08-27 Thread Christian Boltz
** Tags added: aa-tools -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1489196 Title: aa-genprof should display a clear error message instead of a stack trace if it doe

[Touch-packages] [Bug 1717714] Re: @{pid} variable broken on systems with pid_max more than 6 digits

2017-09-18 Thread Christian Boltz
** Also affects: apparmor Importance: Undecided Status: New ** Tags added: aa-policy -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1717714 Title: @{pid} varia

[Touch-packages] [Bug 1719935] Re: It would be great to get a stacktrace on apparmor "events" - maybe add a tracepoint

2017-09-27 Thread Christian Boltz
** Also affects: apparmor Importance: Undecided Status: New ** Tags added: aa-feature -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1719935 Title: It would be

[Touch-packages] [Bug 1719579] Re: [Ubuntu 16.04.2] [libvirt] virsh restore fails from state file saved in /var/tmp folder using virsh save

2017-09-28 Thread Christian Boltz
You'll need to allow /etc/gss/mech.d/ r, and after that, I wouldn't be surprised if you get denials for files inside this directory ;-) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.laun

[Touch-packages] [Bug 1669254] Re: 16.04 apparmor, aa-logprof and log files

2017-10-02 Thread Christian Boltz
** Tags added: aa-tools -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1669254 Title: 16.04 apparmor, aa-logprof and log files Status in AppArmor: New Status in apparm

[Touch-packages] [Bug 1700232] Re: aa-logprof ignores dbus access

2017-06-24 Thread Christian Boltz
I added dbus support to aa-logprof in AppArmor 2.11, and I'd guess *) 16.04 has an older version. *) I use openSUSE ;-) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/17002

[Touch-packages] [Bug 1677997] Re: aa-enforce gives syntax error on snapd config

2017-03-31 Thread Christian Boltz
This was fixed in upstream bzr r3490 (2016-07-20), but only in trunk. Looks like nobody backported it to the 2.10 branch or the Ubuntu packages. See also bug 1584069 (which is referred in the r3490 commit message) - interestingly, there's a comment saying "This bug was fixed in Ubuntu 16.04 with a

[Touch-packages] [Bug 1679856] Re: ldd should be replaced in the utilities

2017-04-05 Thread Christian Boltz
** Tags added: aa-tools -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1679856 Title: ldd should be replaced in the utilities Status in AppArmor: New Status in apparmo

[Touch-packages] [Bug 1650827] Re: "Failed name lookup - disconnected path"

2017-04-06 Thread Christian Boltz
Thanks for the report! I commited the updated profile to bzr trunk r3651, 2.10 branch r3391 and 2.9 branch r3056. If you want to update your profile locally, the needed changes are: -/usr/lib/dovecot/dovecot-lda { +/usr/lib/dovecot/dovecot-lda flags=(attach_disconnected) { + /run/dovecot/auth-

[Touch-packages] [Bug 1682055] Re: dh_apparmor does not remove profiles(s) when purging package

2017-04-12 Thread Christian Boltz
I don't care too much about dh_apparmor (EWRONGDISTRO ;-) - but still: Are you sure that unloading profiles when uninstalling a package is a good idea? The binary installed by this package could still be running, and unloading the profile (= unconfining the binary) might be a security risk. (I ass

[Touch-packages] [Bug 482080] Re: Dovecot's apparmor profile breaks dovecot-antispam

2017-04-29 Thread Christian Boltz
I'd even recommend to restrict it a bit more: owner /tmp/antispam-mail*/ rw, owner /tmp/antispam-mail*/* rwkl, sendmail might be a candidate for a child profile. Such a (maybe too generous) profile already exists in the dovecot-lda profile, so cleaning it up and removing permissions that are

[Touch-packages] [Bug 1507469] Re: Evince's Apparmour profile prevents opening docs from other apps under Wayland

2017-01-08 Thread Christian Boltz
** Also affects: apparmor/2.10 Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1507469 Title: Evince's Apparmour profile preven

[Touch-packages] [Bug 1507469] Re: Evince's Apparmour profile prevents opening docs from other apps under Wayland

2017-01-08 Thread Christian Boltz
** Changed in: apparmor/2.10 Milestone: None => 2.10.2 ** Changed in: apparmor/2.10 Status: New => Fix Committed ** Changed in: apparmor Status: New => Fix Committed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscr

[Touch-packages] [Bug 1528139] Re: serialize_profile_from_old_profile() crash if file contains multiple profiles

2017-01-10 Thread Christian Boltz
** Changed in: apparmor Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1528139 Title: serialize_profile_from_old_profile() cr

[Touch-packages] [Bug 1584069] Re: change_profile rules need a modifier to allow non-secureexec transitions

2017-01-10 Thread Christian Boltz
Fixed in AppArmor 2.11. ** Changed in: apparmor Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1584069 Title: change_profile

[Touch-packages] [Bug 1480492] Re: aa-status in apparmor-2.10 depends on python3-apparmor

2017-01-10 Thread Christian Boltz
** Changed in: apparmor Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1480492 Title: aa-status in apparmor-2.10 depends on p

[Touch-packages] [Bug 1588069] Re: parser doesn't catch conflicting change_profile exec modes (safe/unsafe)

2017-01-10 Thread Christian Boltz
Fixed in AppArmor 2.11 ** Changed in: apparmor Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1588069 Title: parser doesn't

[Touch-packages] [Bug 1652131] Re: Putting Apparmor profile usr.lib.dovecot.auth into enforce mode blocks access to /var/spool/private/auth for Dovecot

2017-01-10 Thread Christian Boltz
** Changed in: apparmor Status: Fix Committed => Fix Released ** Changed in: apparmor/2.10 Status: Fix Committed => Fix Released ** Changed in: apparmor/2.9 Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch

[Touch-packages] [Bug 1634199] Re: In 16.10, LXD won't work with enforced dsnmasq profile

2017-01-10 Thread Christian Boltz
** Changed in: apparmor Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1634199 Title: In 16.10, LXD won't work with enforced

[Touch-packages] [Bug 1604872] Re: Apps can't connect to the user's session bus, even though it exists

2017-01-10 Thread Christian Boltz
Fixed in AppArmor 2.11 ** Changed in: apparmor Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1604872 Title: Apps can't conn

[Touch-packages] [Bug 1507469] Re: Evince's Apparmour profile prevents opening docs from other apps under Wayland

2017-01-10 Thread Christian Boltz
** Changed in: apparmor Status: Fix Committed => Fix Released ** Changed in: apparmor/2.10 Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.l

[Touch-packages] [Bug 1569316] Re: Log flooded with run/dbus/system_bus_socket wr denied

2017-01-10 Thread Christian Boltz
** Changed in: apparmor Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1569316 Title: Log flooded with run/dbus/system_bus_so

[Touch-packages] [Bug 1546455] Re: Many instances of 'apparmor="DENIED" operation="create" profile="/usr/sbin/ntpd" pid=15139 comm="ntpd" family="unspec" sock_type="dgram" protocol=0' in syslog

2017-01-10 Thread Christian Boltz
Fixed in AppArmor 2.11, 2.10.2 and 2.9.4 ** Changed in: apparmor Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1546455 Title:

[Touch-packages] [Bug 1577051] Re: aa-logprof fails with unknown mode "reweive"

2017-01-10 Thread Christian Boltz
** Changed in: apparmor Status: Fix Committed => Fix Released ** Changed in: apparmor/2.10 Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.l

[Touch-packages] [Bug 1566944] Re: dnsmasq profile prevents LXD container to launch

2017-01-10 Thread Christian Boltz
** Changed in: apparmor Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1566944 Title: dnsmasq profile prevents LXD container

[Touch-packages] [Bug 1540562] Re: aa-genprof crashes in logparser NoneType has no "replace"

2017-01-10 Thread Christian Boltz
** Changed in: apparmor Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1540562 Title: aa-genprof crashes in logparser NoneTyp

[Touch-packages] [Bug 1582374] Re: Log contains unknown mode senw

2017-01-10 Thread Christian Boltz
** Changed in: apparmor Status: Fix Committed => Fix Released ** Changed in: apparmor/2.10 Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.l

[Touch-packages] [Bug 1628745] Re: Change in kernel exec transition behavior causes regression tests to fail

2017-01-10 Thread Christian Boltz
** Changed in: apparmor Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1628745 Title: Change in kernel exec transition behavi

[Touch-packages] [Bug 1525119] Re: Cannot permit some operations for sssd

2017-01-10 Thread Christian Boltz
** Changed in: apparmor Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1525119 Title: Cannot permit some operations for sssd

[Touch-packages] [Bug 1534405] Re: Regression in parser compiling/loading a directory

2017-01-10 Thread Christian Boltz
** Changed in: apparmor/master Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1534405 Title: Regression in parser compiling/l

[Touch-packages] [Bug 1528230] Re: [ADT test failure] linux: ubuntu_qrt_apparmor.test-apparmor.py -- ONEXEC - check current 'unconfined' != expected

2017-01-10 Thread Christian Boltz
** Changed in: apparmor Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1528230 Title: [ADT test failure] linux: ubuntu_qrt_ap

[Touch-packages] [Bug 1484178] Re: Policy cache file mtimes are not being set correctly

2017-01-10 Thread Christian Boltz
This was already fixed in AppArmor 2.10.1 ** Changed in: apparmor Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1484178 Title

  1   2   3   >