Re: Thunderbird does not start and freezes

2018-05-28 Thread Ben Caradoc-Davies

On 29/05/18 00:20, Pétùr wrote:

Le 27/05/2018 à 15:24, Pétùr a écrit :

In sid, trying to launch thunderbird does do anything and freezes the
system (mouse works but cannot act on windows, going to tty works).

I uninstalled apparmor for now and thunderbird is launching.
(if someone has the same issue).


Please file a thunderbird bug report. Your last audit line is I think 
the relevant one. After filing many apparmor bug reports against 
thunderbird, I now boot with apparmor=0.


Kind regards,

--
Ben Caradoc-Davies 
Director
Transient Software Limited 
New Zealand



Re: Thunderbird does not start and freezes

2018-05-28 Thread The Wanderer
On 2018-05-28 at 17:09, Ben Caradoc-Davies wrote:

> On 29/05/18 00:20, Pétùr wrote:
> 
>> Le 27/05/2018 à 15:24, Pétùr a écrit :
>> 
>>> In sid, trying to launch thunderbird does do anything and freezes
>>> the system (mouse works but cannot act on windows, going to tty
>>> works).
>> 
>> I uninstalled apparmor for now and thunderbird is launching. (if
>> someone has the same issue).
> 
> Please file a thunderbird bug report. Your last audit line is I think
>  the relevant one. After filing many apparmor bug reports against 
> thunderbird, I now boot with apparmor=0.

I thought they'd gotten so many problems with Thunderbird under AppArmor
when they first enabled it for user-based testing that they'd wound up
disabling the Thunderbird AppArmor profile entirely, with the option for
the local admin to enable it if desired.

If you're seeing this behavior, that probably means they've found what
they think is a solution for enough of those problems, and enabled the
profile again - and I'm not at all sure that that's a good thing, at
this stage...

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature


Re: Thunderbird does not start and freezes

2018-05-28 Thread Ben Caradoc-Davies

On 29/05/18 10:03, The Wanderer wrote:

I thought they'd gotten so many problems with Thunderbird under AppArmor
when they first enabled it for user-based testing that they'd wound up
disabling the Thunderbird AppArmor profile entirely, with the option for
the local admin to enable it if desired.
If you're seeing this behavior, that probably means they've found what
they think is a solution for enough of those problems, and enabled the
profile again - and I'm not at all sure that that's a good thing, at
this stage...


The problem is that Thunderbird is driven by user interaction and it is 
entirely reasonable for it to access any user file. It is designed to do 
this. Maintainers cannot know in advance what users might want to do 
with their own data. This differs from system services whose expected 
file access behaviour can be defined in advance, regulated by an 
administrator, and audited by apparmor. I think that attempting to apply 
apparmor file access rules to Thunderbird is a bad idea.


Kind regards,

--
Ben Caradoc-Davies 
Director
Transient Software Limited 
New Zealand



Re: Thunderbird does not start and freezes

2018-05-28 Thread Pétùr
Le 27/05/2018 à 15:24, Pétùr a écrit :
> In sid, trying to launch thunderbird does do anything and freezes the
> system (mouse works but cannot act on windows, going to tty works).

I uninstalled apparmor for now and thunderbird is launching.

(if someone has the same issue).



Thunderbird does not start and freezes

2018-05-27 Thread Pétùr

In sid, trying to launch thunderbird does do anything and freezes the
system (mouse works but cannot act on windows, going to tty works).

dmesg says:

[   13.676445] audit: type=1400 audit(1527426637.518:35): apparmor="DENIED" operation="open" profile="thunderbird" 
name="/sys/devices/pci:00/:00:02.0/vendor" pid=1880 comm="thunderbird" requested_mask="r" 
denied_mask="r" fsuid=1000 ouid=0
[   13.676503] audit: type=1400 audit(1527426637.518:36): apparmor="DENIED" operation="open" profile="thunderbird" 
name="/sys/devices/pci:00/:00:02.0/vendor" pid=1880 comm="thunderbird" requested_mask="r" 
denied_mask="r" fsuid=1000 ouid=0
[   13.676624] audit: type=1400 audit(1527426637.518:37): apparmor="DENIED" operation="open" profile="thunderbird" 
name="/sys/devices/pci:00/:00:02.0/vendor" pid=1880 comm="thunderbird" requested_mask="r" 
denied_mask="r" fsuid=1000 ouid=0
[   13.676692] audit: type=1400 audit(1527426637.518:38): apparmor="DENIED" operation="open" profile="thunderbird" 
name="/sys/devices/pci:00/:00:02.0/vendor" pid=1880 comm="thunderbird" requested_mask="r" 
denied_mask="r" fsuid=1000 ouid=0
[   13.681934] audit: type=1400 audit(1527426637.526:39): apparmor="DENIED" operation="open" profile="thunderbird" 
name="/sys/devices/pci:00/:00:02.0/vendor" pid=1880 comm="thunderbird" requested_mask="r" 
denied_mask="r" fsuid=1000 ouid=0
[   13.682129] audit: type=1400 audit(1527426637.526:40): apparmor="DENIED" operation="open" profile="thunderbird" 
name="/sys/devices/pci:00/:00:02.0/vendor" pid=1880 comm="thunderbird" requested_mask="r" 
denied_mask="r" fsuid=1000 ouid=0
[   14.560466] audit: type=1400 audit(1527426638.402:41): apparmor="DENIED" operation="open" profile="thunderbird" 
name="/home/pierre/.icons/icon-theme.cache" pid=1867 comm="thunderbird" requested_mask="r" denied_mask="r" 
fsuid=1000 ouid=1000

Any idea?