Bug#919536: surf: Warnings and AppError audit messages about GPU

2019-01-18 Thread Leo Pound Singer
On Thu, 17 Jan 2019 22:06:58 +0100 Reiner Herrmann wrote:
> Hi Leo,
> 
> On Thu, Jan 17, 2019 at 12:13:56AM +, Leo Singer wrote:
> > My apologies for spamming you with a bunch of different AppArmor issues.
> > I am trying to understand and differentiate the issues myself; please
> > let me know if it would be better for me just to send you a list of all
> > of the errors.
> 
> your reports are very appreciated! Thank you for doing that.
> 
> > There are several error messages related to GL and Mesa, which I'm
> > trying to understand better because of broader GPU stability issues
> > on my Raspberry Pi 3B+. When I start surf, I see the following warnings:
> > 
> > libGL error: MESA-LOADER: failed to retrieve device information
> > MESA-LOADER: failed to retrieve device information
> > MESA-LOADER: failed to retrieve device information
> 
> Do you notice any issues (e.g. degraded performance) because of this?

No.

> > [ 6898.198526] audit: type=1400 audit(1547682794.480:160): 
> > apparmor="DENIED" operation="open" profile="/usr/bin/surf" 
> > name="/sys/class/video4linux/" pid=6003 comm="gst-plugin-scan" 
> > requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
> 
> There is an "abstractions/video" that I can include to allow access to
> this directory.
> > [ 6906.716855] audit: type=1400 audit(1547682802.996:161): 
> > apparmor="DENIED" operation="open" profile="/usr/bin/surf" 
> > name="/sys/devices/platform/soc/soc:gpu/uevent" pid=5984 
> > comm="ositorWorkQueue" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
> > [ 6906.720022] audit: type=1400 audit(1547682802.996:162): 
> > apparmor="DENIED" operation="open" profile="/usr/bin/surf" 
> > name="/sys/devices/platform/soc/soc:gpu/uevent" pid=5984 
> > comm="ositorWorkQueue" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
> > [ 6906.720086] audit: type=1400 audit(1547682802.996:163): 
> > apparmor="DENIED" operation="open" profile="/usr/bin/surf" 
> > name="/sys/devices/platform/soc/soc:gpu/uevent" pid=5984 
> > comm="ositorWorkQueue" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
> > [ 6906.720111] audit: type=1400 audit(1547682802.996:164): 
> > apparmor="DENIED" operation="open" profile="/usr/bin/surf" 
> > name="/sys/devices/platform/soc/soc:gpu/uevent" pid=5984 
> > comm="ositorWorkQueue" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
> > [ 6908.851155] audit: type=1400 audit(1547682805.132:165): 
> > apparmor="DENIED" operation="open" profile="/usr/bin/surf" 
> > name="/sys/devices/platform/soc/soc:gpu/uevent" pid=5984 
> > comm="ositorWorkQueue" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
> > [ 6908.852661] audit: type=1400 audit(1547682805.132:166): 
> > apparmor="DENIED" operation="open" profile="/usr/bin/surf" 
> > name="/sys/devices/platform/soc/soc:gpu/uevent" pid=5984 
> > comm="ositorWorkQueue" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
> > [ 6908.852715] audit: type=1400 audit(1547682805.132:167): 
> > apparmor="DENIED" operation="open" profile="/usr/bin/surf" 
> > name="/sys/devices/platform/soc/soc:gpu/uevent" pid=5984 
> > comm="ositorWorkQueue" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
> > [ 6908.852745] audit: type=1400 audit(1547682805.132:168): 
> > apparmor="DENIED" operation="open" profile="/usr/bin/surf" 
> > name="/sys/devices/platform/soc/soc:gpu/uevent" pid=5984 
> > comm="ositorWorkQueue" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
> 
> Does it help if /sys/devices/platform/soc/soc:gpu/* is allowed for reading?
> Or will there be additional errors?

That silences the errors.

> 
> Regards,
> Reiner


Bug#918925: i3: Status and title bar text do not appear with default config file

2019-01-16 Thread Leo Pound Singer
Sorry for the spam. I sent that last message to the wrong issue.

Best,
Leo

> On Jan 16, 2019, at 00:45, Leo Pound Singer  wrote:
> 
> When I type ^g, I see this go by in dmesg:
> 
> [  778.791035] audit: type=1400 audit(1547617464.261:24):
> apparmor="DENIED" operation="exec" profile="/usr/bin/surf"
> name="/usr/bin/dash" pid=919 comm="surf" requested_mask="x"
> denied_mask="x" fsuid=1000 ouid=0
> 
>> On 1/15/19, Leo Pound Singer  wrote:
>> I just reinstalled buster to switch from armhf to aarch64, so my system is
>> now pretty bare and unmodified other than installing build-essential, i3,
>> and some python3 packages.  Nevertheless I was able to reproduce the issue.
>> 
>> I installed and ran font-manager from within i3 and nothing looks out of the
>> ordinary.
>> 
>>> On Jan 11, 2019, at 11:59, Michael Stapelberg 
>>> wrote:
>>> 
>>> Then use whichever tool has a font selection dialog :)
>>> 
>>>> On Fri, Jan 11, 2019 at 5:18 PM Leo Pound Singer 
>>>> wrote:
>>>> gnome-specimen is not in buster. It has been removed from Debian.
>>>> 
>>>> 
>>>> 
>>>> Sent from my iPhone
>>>>> On Jan 10, 2019, at 16:46, Michael Stapelberg 
>>>>> wrote:
>>>>> 
>>>>> That’s weird. Something must be different in your system, though, as
>>>>> this is the first time anyone has ever reported this issue.
>>>>> 
>>>>> Can you check gnome-specimen and see if fonts show up correctly there?
>>>>> Can you try using them with i3 and see if that works in general?
>>>>> 
>>>>>> On Thu, Jan 10, 2019 at 7:41 PM Leo Pound Singer 
>>>>>> wrote:
>>>>>> No, all of the packages recommended by i3-wm are installed.
>>>>>> 
>>>>>>> On Jan 10, 2019, at 12:25, Michael Stapelberg 
>>>>>>> wrote:
>>>>>>> 
>>>>>>> Did you disable apt recommendations? The i3-wm package recommends
>>>>>>> fonts-dejavu-core, which should be picked up as a suitable font. Do
>>>>>>> you have that package installed?
>>>>>>> 
>>>>>>>> On Thu, Jan 10, 2019 at 5:48 PM Leo Singer 
>>>>>>>> wrote:
>>>>>>>> Package: i3
>>>>>>>> Version: 4.16-1
>>>>>>>> Severity: normal
>>>>>>>> 
>>>>>>>> Dear Maintainer,
>>>>>>>> 
>>>>>>>> I installed i3 under Debian Buster (armhf) on a Raspberry Pi 3B+.
>>>>>>>> With the
>>>>>>>> automatically generated configuration file, the i3 title and status
>>>>>>>> bars are
>>>>>>>> blank.
>>>>>>>> 
>>>>>>>> I found that I could get the title and status bar text to show up by
>>>>>>>> employing
>>>>>>>> the workaround of uncommenting the following font option in
>>>>>>>> ~/.config/i3/config:
>>>>>>>> 
>>>>>>>>font
>>>>>>>> -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
>>>>>>>> 
>>>>>>>> I do not know if this issue also occurs on more commonplace amd64
>>>>>>>> systems.
>>>>>>>> 
>>>>>>>> Would you please modify the package so that the title and status bar
>>>>>>>> text are
>>>>>>>> visible with the default, automatically generated i3 config file?
>>>>>>>> 
>>>>>>>> Regards,
>>>>>>>> Leo
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> -- System Information:
>>>>>>>> Debian Release: buster/sid
>>>>>>>>  APT prefers testing
>>>>>>>>  APT policy: (500, 'testing')
>>>>>>>> Architecture: armhf (armv7l)
>>>>>>>> 
>>>>>>>> Kernel: Linux 4.19.0-1-armmp (SMP w/4 CPU cores)
>>>>>>>> Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C
>>>>>>>> (charmap=UTF-8)
>>>>>>>> Shell: /bin/sh linked to /usr/bin/dash
>>>>>>>> Init: systemd (via /run/systemd/system)
>>>>>>>> LSM: AppArmor: enabled
>>>>>>>> 
>>>>>>>> Versions of packages i3 depends on:
>>>>>>>> ii  i3-wm  4.16-1
>>>>>>>> 
>>>>>>>> Versions of packages i3 recommends:
>>>>>>>> ii  dunst   1.3.2-1
>>>>>>>> ii  i3lock  2.11.1-1
>>>>>>>> ii  i3status2.12-1
>>>>>>>> ii  suckless-tools  44-1
>>>>>>>> 
>>>>>>>> i3 suggests no packages.
>>>>>>>> 
>>>>>>>> -- no debconf information
>>>>>>> 
>>>>>>> 
>>>>>>> --
>>>>>>> Best regards,
>>>>>>> Michael
>>>>> 
>>>>> 
>>>>> --
>>>>> Best regards,
>>>>> Michael
>>> 
>>> 
>>> --
>>> Best regards,
>>> Michael
>> 



Bug#918925: i3: Status and title bar text do not appear with default config file

2019-01-15 Thread Leo Pound Singer
When I type ^g, I see this go by in dmesg:

[  778.791035] audit: type=1400 audit(1547617464.261:24):
apparmor="DENIED" operation="exec" profile="/usr/bin/surf"
name="/usr/bin/dash" pid=919 comm="surf" requested_mask="x"
denied_mask="x" fsuid=1000 ouid=0

On 1/15/19, Leo Pound Singer  wrote:
> I just reinstalled buster to switch from armhf to aarch64, so my system is
> now pretty bare and unmodified other than installing build-essential, i3,
> and some python3 packages.  Nevertheless I was able to reproduce the issue.
>
> I installed and ran font-manager from within i3 and nothing looks out of the
> ordinary.
>
>> On Jan 11, 2019, at 11:59, Michael Stapelberg 
>> wrote:
>>
>> Then use whichever tool has a font selection dialog :)
>>
>>> On Fri, Jan 11, 2019 at 5:18 PM Leo Pound Singer 
>>> wrote:
>>> gnome-specimen is not in buster. It has been removed from Debian.
>>>
>>>
>>>
>>> Sent from my iPhone
>>>> On Jan 10, 2019, at 16:46, Michael Stapelberg 
>>>> wrote:
>>>>
>>>> That’s weird. Something must be different in your system, though, as
>>>> this is the first time anyone has ever reported this issue.
>>>>
>>>> Can you check gnome-specimen and see if fonts show up correctly there?
>>>> Can you try using them with i3 and see if that works in general?
>>>>
>>>>> On Thu, Jan 10, 2019 at 7:41 PM Leo Pound Singer 
>>>>> wrote:
>>>>> No, all of the packages recommended by i3-wm are installed.
>>>>>
>>>>>> On Jan 10, 2019, at 12:25, Michael Stapelberg 
>>>>>> wrote:
>>>>>>
>>>>>> Did you disable apt recommendations? The i3-wm package recommends
>>>>>> fonts-dejavu-core, which should be picked up as a suitable font. Do
>>>>>> you have that package installed?
>>>>>>
>>>>>>> On Thu, Jan 10, 2019 at 5:48 PM Leo Singer 
>>>>>>> wrote:
>>>>>>> Package: i3
>>>>>>> Version: 4.16-1
>>>>>>> Severity: normal
>>>>>>>
>>>>>>> Dear Maintainer,
>>>>>>>
>>>>>>> I installed i3 under Debian Buster (armhf) on a Raspberry Pi 3B+.
>>>>>>> With the
>>>>>>> automatically generated configuration file, the i3 title and status
>>>>>>> bars are
>>>>>>> blank.
>>>>>>>
>>>>>>> I found that I could get the title and status bar text to show up by
>>>>>>> employing
>>>>>>> the workaround of uncommenting the following font option in
>>>>>>> ~/.config/i3/config:
>>>>>>>
>>>>>>> font
>>>>>>> -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
>>>>>>>
>>>>>>> I do not know if this issue also occurs on more commonplace amd64
>>>>>>> systems.
>>>>>>>
>>>>>>> Would you please modify the package so that the title and status bar
>>>>>>> text are
>>>>>>> visible with the default, automatically generated i3 config file?
>>>>>>>
>>>>>>> Regards,
>>>>>>> Leo
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> -- System Information:
>>>>>>> Debian Release: buster/sid
>>>>>>>   APT prefers testing
>>>>>>>   APT policy: (500, 'testing')
>>>>>>> Architecture: armhf (armv7l)
>>>>>>>
>>>>>>> Kernel: Linux 4.19.0-1-armmp (SMP w/4 CPU cores)
>>>>>>> Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C
>>>>>>> (charmap=UTF-8)
>>>>>>> Shell: /bin/sh linked to /usr/bin/dash
>>>>>>> Init: systemd (via /run/systemd/system)
>>>>>>> LSM: AppArmor: enabled
>>>>>>>
>>>>>>> Versions of packages i3 depends on:
>>>>>>> ii  i3-wm  4.16-1
>>>>>>>
>>>>>>> Versions of packages i3 recommends:
>>>>>>> ii  dunst   1.3.2-1
>>>>>>> ii  i3lock  2.11.1-1
>>>>>>> ii  i3status2.12-1
>>>>>>> ii  suckless-tools  44-1
>>>>>>>
>>>>>>> i3 suggests no packages.
>>>>>>>
>>>>>>> -- no debconf information
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Best regards,
>>>>>> Michael
>>>>
>>>>
>>>> --
>>>> Best regards,
>>>> Michael
>>
>>
>> --
>> Best regards,
>> Michael
>



Bug#918925: i3: Status and title bar text do not appear with default config file

2019-01-15 Thread Leo Pound Singer
I just reinstalled buster to switch from armhf to aarch64, so my system is now 
pretty bare and unmodified other than installing build-essential, i3, and some 
python3 packages.  Nevertheless I was able to reproduce the issue.

I installed and ran font-manager from within i3 and nothing looks out of the 
ordinary.

> On Jan 11, 2019, at 11:59, Michael Stapelberg  wrote:
> 
> Then use whichever tool has a font selection dialog :)
> 
>> On Fri, Jan 11, 2019 at 5:18 PM Leo Pound Singer  wrote:
>> gnome-specimen is not in buster. It has been removed from Debian.
>> 
>> 
>> 
>> Sent from my iPhone
>>> On Jan 10, 2019, at 16:46, Michael Stapelberg  wrote:
>>> 
>>> That’s weird. Something must be different in your system, though, as this 
>>> is the first time anyone has ever reported this issue.
>>> 
>>> Can you check gnome-specimen and see if fonts show up correctly there? Can 
>>> you try using them with i3 and see if that works in general?
>>> 
>>>> On Thu, Jan 10, 2019 at 7:41 PM Leo Pound Singer  wrote:
>>>> No, all of the packages recommended by i3-wm are installed.
>>>> 
>>>>> On Jan 10, 2019, at 12:25, Michael Stapelberg  
>>>>> wrote:
>>>>> 
>>>>> Did you disable apt recommendations? The i3-wm package recommends 
>>>>> fonts-dejavu-core, which should be picked up as a suitable font. Do you 
>>>>> have that package installed?
>>>>> 
>>>>>> On Thu, Jan 10, 2019 at 5:48 PM Leo Singer  wrote:
>>>>>> Package: i3
>>>>>> Version: 4.16-1
>>>>>> Severity: normal
>>>>>> 
>>>>>> Dear Maintainer,
>>>>>> 
>>>>>> I installed i3 under Debian Buster (armhf) on a Raspberry Pi 3B+. With 
>>>>>> the
>>>>>> automatically generated configuration file, the i3 title and status bars 
>>>>>> are
>>>>>> blank.
>>>>>> 
>>>>>> I found that I could get the title and status bar text to show up by 
>>>>>> employing
>>>>>> the workaround of uncommenting the following font option in
>>>>>> ~/.config/i3/config:
>>>>>> 
>>>>>> font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
>>>>>> 
>>>>>> I do not know if this issue also occurs on more commonplace amd64 
>>>>>> systems.
>>>>>> 
>>>>>> Would you please modify the package so that the title and status bar 
>>>>>> text are
>>>>>> visible with the default, automatically generated i3 config file?
>>>>>> 
>>>>>> Regards,
>>>>>> Leo
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> -- System Information:
>>>>>> Debian Release: buster/sid
>>>>>>   APT prefers testing
>>>>>>   APT policy: (500, 'testing')
>>>>>> Architecture: armhf (armv7l)
>>>>>> 
>>>>>> Kernel: Linux 4.19.0-1-armmp (SMP w/4 CPU cores)
>>>>>> Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C 
>>>>>> (charmap=UTF-8)
>>>>>> Shell: /bin/sh linked to /usr/bin/dash
>>>>>> Init: systemd (via /run/systemd/system)
>>>>>> LSM: AppArmor: enabled
>>>>>> 
>>>>>> Versions of packages i3 depends on:
>>>>>> ii  i3-wm  4.16-1
>>>>>> 
>>>>>> Versions of packages i3 recommends:
>>>>>> ii  dunst   1.3.2-1
>>>>>> ii  i3lock  2.11.1-1
>>>>>> ii  i3status2.12-1
>>>>>> ii  suckless-tools  44-1
>>>>>> 
>>>>>> i3 suggests no packages.
>>>>>> 
>>>>>> -- no debconf information
>>>>> 
>>>>> 
>>>>> -- 
>>>>> Best regards,
>>>>> Michael
>>> 
>>> 
>>> -- 
>>> Best regards,
>>> Michael
> 
> 
> -- 
> Best regards,
> Michael


Bug#918926: Surf still cannot start dmenu due to permission denied error

2019-01-15 Thread Leo Pound Singer
I just did a fresh installation of buster on my Rapsberry Pi to switch from 
armhf to aarch64, and I am still finding that surf cannot start dmenu due to 
the same permission denied error. I have surf-2.0+git20181009-2.


Bug#918925: i3: Status and title bar text do not appear with default config file

2019-01-11 Thread Leo Pound Singer
gnome-specimen is not in buster. It has been removed from Debian.



Sent from my iPhone
> On Jan 10, 2019, at 16:46, Michael Stapelberg  wrote:
> 
> That’s weird. Something must be different in your system, though, as this is 
> the first time anyone has ever reported this issue.
> 
> Can you check gnome-specimen and see if fonts show up correctly there? Can 
> you try using them with i3 and see if that works in general?
> 
>> On Thu, Jan 10, 2019 at 7:41 PM Leo Pound Singer  wrote:
>> No, all of the packages recommended by i3-wm are installed.
>> 
>>> On Jan 10, 2019, at 12:25, Michael Stapelberg  wrote:
>>> 
>>> Did you disable apt recommendations? The i3-wm package recommends 
>>> fonts-dejavu-core, which should be picked up as a suitable font. Do you 
>>> have that package installed?
>>> 
>>>> On Thu, Jan 10, 2019 at 5:48 PM Leo Singer  wrote:
>>>> Package: i3
>>>> Version: 4.16-1
>>>> Severity: normal
>>>> 
>>>> Dear Maintainer,
>>>> 
>>>> I installed i3 under Debian Buster (armhf) on a Raspberry Pi 3B+. With the
>>>> automatically generated configuration file, the i3 title and status bars 
>>>> are
>>>> blank.
>>>> 
>>>> I found that I could get the title and status bar text to show up by 
>>>> employing
>>>> the workaround of uncommenting the following font option in
>>>> ~/.config/i3/config:
>>>> 
>>>> font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
>>>> 
>>>> I do not know if this issue also occurs on more commonplace amd64 systems.
>>>> 
>>>> Would you please modify the package so that the title and status bar text 
>>>> are
>>>> visible with the default, automatically generated i3 config file?
>>>> 
>>>> Regards,
>>>> Leo
>>>> 
>>>> 
>>>> 
>>>> -- System Information:
>>>> Debian Release: buster/sid
>>>>   APT prefers testing
>>>>   APT policy: (500, 'testing')
>>>> Architecture: armhf (armv7l)
>>>> 
>>>> Kernel: Linux 4.19.0-1-armmp (SMP w/4 CPU cores)
>>>> Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C 
>>>> (charmap=UTF-8)
>>>> Shell: /bin/sh linked to /usr/bin/dash
>>>> Init: systemd (via /run/systemd/system)
>>>> LSM: AppArmor: enabled
>>>> 
>>>> Versions of packages i3 depends on:
>>>> ii  i3-wm  4.16-1
>>>> 
>>>> Versions of packages i3 recommends:
>>>> ii  dunst   1.3.2-1
>>>> ii  i3lock  2.11.1-1
>>>> ii  i3status2.12-1
>>>> ii  suckless-tools  44-1
>>>> 
>>>> i3 suggests no packages.
>>>> 
>>>> -- no debconf information
>>> 
>>> 
>>> -- 
>>> Best regards,
>>> Michael
> 
> 
> -- 
> Best regards,
> Michael


Bug#918925: i3: Status and title bar text do not appear with default config file

2019-01-10 Thread Leo Pound Singer
No, all of the packages recommended by i3-wm are installed.

> On Jan 10, 2019, at 12:25, Michael Stapelberg  wrote:
> 
> Did you disable apt recommendations? The i3-wm package recommends 
> fonts-dejavu-core, which should be picked up as a suitable font. Do you have 
> that package installed?
> 
>> On Thu, Jan 10, 2019 at 5:48 PM Leo Singer  wrote:
>> Package: i3
>> Version: 4.16-1
>> Severity: normal
>> 
>> Dear Maintainer,
>> 
>> I installed i3 under Debian Buster (armhf) on a Raspberry Pi 3B+. With the
>> automatically generated configuration file, the i3 title and status bars are
>> blank.
>> 
>> I found that I could get the title and status bar text to show up by 
>> employing
>> the workaround of uncommenting the following font option in
>> ~/.config/i3/config:
>> 
>> font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
>> 
>> I do not know if this issue also occurs on more commonplace amd64 systems.
>> 
>> Would you please modify the package so that the title and status bar text are
>> visible with the default, automatically generated i3 config file?
>> 
>> Regards,
>> Leo
>> 
>> 
>> 
>> -- System Information:
>> Debian Release: buster/sid
>>   APT prefers testing
>>   APT policy: (500, 'testing')
>> Architecture: armhf (armv7l)
>> 
>> Kernel: Linux 4.19.0-1-armmp (SMP w/4 CPU cores)
>> Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
>> Shell: /bin/sh linked to /usr/bin/dash
>> Init: systemd (via /run/systemd/system)
>> LSM: AppArmor: enabled
>> 
>> Versions of packages i3 depends on:
>> ii  i3-wm  4.16-1
>> 
>> Versions of packages i3 recommends:
>> ii  dunst   1.3.2-1
>> ii  i3lock  2.11.1-1
>> ii  i3status2.12-1
>> ii  suckless-tools  44-1
>> 
>> i3 suggests no packages.
>> 
>> -- no debconf information
> 
> 
> -- 
> Best regards,
> Michael