Apparmor sets CUPS to aa-complain

12 respostas [Última entrada]
Euphorbe
Desconectado
Joined: 10/29/2015

I tried to install my printer [http://support.brother.com/g/b/downloadlist.aspx?c=us&lang=en&prod=hll2360dw_us&os=128] on my fresh install of Trisquel and this output was given during the install:
The security level of AppArmor has been lowered. (aa-complain cups)
aa-complain cupsd
Setting /usr/sbin/cupsd to complain mode.

I'd rather not have cups in complain mode. I read a bit of the manpage and I'd rather it would be on enforce mode.
I don't know much about apparmor at this point and I'm trying to catch up.

Attached are the uninstall script the Brother install tool created and my install log. I uninstalled the drivers and set cups back to normal just in case until I know what's going on.

>Maybe someone more experienced can give some pointers on apparmor profiles for cups and wireless printers?

PS:
Hello :)
I'm new here, slowly making the transition to a more libre lifestyle and workflow.

AnexoTamaño
brother_install_log.txt6.89 KB
uninstaller.txt1.19 KB
SuperTramp83

I am a translator!

Desconectado
Joined: 10/31/2014

can't you just install the (libre, hopefully) drivers for your printer and then just set cups back to enforce mode?

Euphorbe
Desconectado
Joined: 10/29/2015

That's the thing. How do I find the drivers?

Euphorbe
Desconectado
Joined: 10/29/2015

That's the thing. How do I find the drivers?

CodyH
Desconectado
Joined: 12/08/2015

You would likely need to contact Brother. On the other hand, the link you provided indicates you are likely in the US (Home -> United States -> HL-L2360DW -> Downloads). Another option is ThinkPenguin offers printers that have been tested with Linux distros (e.g. Trisquel) and will have out of the box support. https://www.thinkpenguin.com/catalog/printer-all-one-gnulinux

IMPORTANT: If you do pick out one of their printers, make sure it supports the distro you want (it will list it on the page) and don't forgot to click their banner to the right so that Trisquel receives 25% of the purchase.

Magic Banana

I am a member!

I am a translator!

Desconectado
Joined: 07/24/2010

For a model not sold by ThinkPenguin, here is how to choose a printer (by Chris, ThinkPenguin's CEO): https://trisquel.info/forum/hp-laserjet-printer-p1005-printer-not-working-trisquel-60#comment-77026

Euphorbe
Desconectado
Joined: 10/29/2015

I tried to install my printer
[http://support.brother.com/g/b/downloadlist.aspx?c=us&lang=en&prod=hll2360dw_us&os=128]
on my fresh install of Trisquel and this output was given during the install:
The security level of AppArmor has been lowered. (aa-complain cups)
aa-complain cupsd
Setting /usr/sbin/cupsd to complain mode.

I'd rather not have cups in complain mode. I read a bit of the manpage and
I'd rather it would be on enforce mode.
I don't know much about apparmor at this point and I'm trying to catch up.

Attached are the uninstall script the Brother install tool created and my
install log. I uninstalled the drivers and set cups back to normal just in
case until I know what's going on.

>Maybe someone more experienced can give some pointers on apparmor profiles
for cups and wireless printers?

PS:
Hello :)
I'm new here, slowly making the transition to a more libre lifestyle and
workflow.

Magic Banana

I am a member!

I am a translator!

Desconectado
Joined: 07/24/2010

For a model not sold by ThinkPenguin, here is how to choose a printer (by
Chris, ThinkPenguin's CEO):
https://trisquel.info/forum/hp-laserjet-printer-p1005-printer-not-working-trisquel-60#comment-77026

Euphorbe
Desconectado
Joined: 10/29/2015

This is exactly what I needed, thanks. I don't have the time nor patience to deal with Brother. So new printer on the way.

Magic Banana

I am a member!

I am a translator!

Desconectado
Joined: 07/24/2010

Are you sure "hll2360dlpr" is free software? The license looks OK but the package contains binaries (opt/brother/Printers/HLL2360D/inf/braddprinter, opt/brother/Printers/HLL2360D/lpd/brprintconflsr3 and opt/brother/Printers/HLL2360D/lpd/rawtobr3) and I cannot find their source code on http://support.brother.com .

SuperTramp83

I am a translator!

Desconectado
Joined: 10/31/2014

can't you just install the (libre, hopefully) drivers for your printer and
then just set cups back to enforce mode?

CodyH
Desconectado
Joined: 12/08/2015

You would likely need to contact Brother. On the other hand, the link you
provided indicates you are likely in the US (Home -> United States ->
HL-L2360DW -> Downloads). Another option is ThinkPenguin offers printers that
have been tested with Linux distros (e.g. Trisquel) and will have out of the
box support. https://www.thinkpenguin.com/catalog/printer-all-one-gnulinux

IMPORTANT: If you do pick out one of their printers, make sure it supports
the distro you want (it will list it on the page) and don't forgot to click
their banner to the right so that Trisquel receives 25% of the purchase.

Magic Banana

I am a member!

I am a translator!

Desconectado
Joined: 07/24/2010

Are you sure "hll2360dlpr" is free software? The license looks OK but the
package contains binaries (opt/brother/Printers/HLL2360D/inf/braddprinter,
opt/brother/Printers/HLL2360D/lpd/brprintconflsr3 and
opt/brother/Printers/HLL2360D/lpd/rawtobr3) and I cannot find their source
code on http://support.brother.com .