Tagged Questions

AppArmor is a Linux Security Module

learn more… | top users | synonyms

1
vote
0answers
16 views

Blocking specific programs from accessing the internet isn't working (iptables / apparmor) [closed]

I'm using this guide to try to block a few programs from sending or receiving data from anything other than 127.0.0.1, but it's not working. First off, the suggested way of only allowing an IP block ...
0
votes
0answers
11 views

How does AppArmor secure Ubuntu?

How does AppArmor secure the Ubuntu system? I also want to know if AppArmor is still being developed and maintaind, thanks!
1
vote
1answer
14 views

Is evince-gtk protected by apparmor?

The 14.10 software center offers evince and a version called evince-gtk with fewer GNOME dependencies. In /etc/apparmor.d there is an apparmor profile for evince: /etc/apparmor.d/usr.bin.evince. My ...
0
votes
0answers
13 views

Is it safe to disable apparmor profile?

In this anwser I've been told I can get rid of annoying error messages by disableing AppArmor profile for telepathy-mission-control-5. However, I suspect the profile is enabled by default for a ...
0
votes
1answer
11 views

How to make non-ascii-armored public key from ascii-armored secret key

I have old key pair (GnuPG keys), both only ascii-armored 1 fresh Ubuntu-Desktop 14.04 installation How can I make a non-ascii armored public key from the old secret key?
1
vote
1answer
41 views

How do I block all traffic except firefox?

Lets say for example I want to block all traffic except incoming from nginx, outgoing for firefox and allow out and incoming to some torrent client. Would that be possible? I took a look at apparmor ...
1
vote
2answers
34 views

Permissions for thumbnailer on device

I'm developing an application for U-Touch that gets a thumbnail from a video in C++ code using libthumbnailer system library. The app does the thumbnailing perfectly in my computer, but when i try to ...
0
votes
0answers
54 views

cups-pdf unable to lookup user

I am using cups-pdf for many years now without problems. But now, its seems to be broken. Ubuntu version: Ubuntu 14.04.1 LTS I try the same setup on a fresh installed server, with same problems. Set ...
0
votes
0answers
12 views

How to enable AppArmor as kernel LSM? [duplicate]

I have installed AppArmor but when I start it it says * AppArmor not available as kernel LSM. how can I resolve this?
0
votes
0answers
25 views

System hang during Apparmor update

Just ran sudo apt-get update && apt-get upgrade on my 12.04 server. Everything seemed to be going fine until this point: Setting up apparmor-profiles (2.7.102-0ubuntu3.10) ... It's been ...
1
vote
0answers
115 views

How to use Firefox AppArmor profile with IcedTea Java plugin on Ubuntu 14.04?

Whenever I set up Ubuntu on a new system, I active the default AppArmor profile for Firefox via sudo aa-enforce /etc/apparmor.d/usr.bin.firefox Doing this on Ubuntu 14.04, however, makes Java ...
0
votes
0answers
129 views

Suspend broken: pm-suspend fails due to /sys/power/* being a Read-only file system

My System 76 laptop running 14.04 won't suspend. Running sudo pm-suspend fails with the following in /var/log/pm-suspend.log: Running hook /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: ...
0
votes
0answers
100 views

Local folder for specific MySQL databases with symlinks

Moving specific MySQL databases under home folder using symlink used to work in the past for me (maybe before upgrading from 13.10 to 14.04) but now, following the same procedure, it just does not ...
0
votes
1answer
42 views

Would AppArmor protect against a bug like Heartbleed?

Is it capable of "containing"/preventing the exploitation of things such as this?
0
votes
1answer
57 views

SLAPd - TLS not working / apparmor Errors

I've been trying to get LDAP working and set up for a few days now. The real head scratcher is that everything went fine until I got to the point of setting up TLS. I was using this guide from the ...
1
vote
0answers
16 views

Can AppArmor have default policies for all applications without profiles?

Goal: Deny all applications network access and all network access for one or more explicitly specified applications.
0
votes
1answer
115 views

Skype doesn't see my webcam

I've got Logitech C270 (/dev/video0) that is seen by Cheese in Xubuntu 14.04, but Skype doesn't recognize it. What can I do? Should I blame my apparmor profile?
2
votes
2answers
249 views

Tor not working after update

Yesterday I updated my Ubuntu 14.04 LTS and after that Tor stopped working : When I try to run Tor using command sudo service tor start it gives an error aa-exec: ERROR: profile 'system_tor' does ...
2
votes
1answer
245 views

How to fix apparmor=“DENIED” for telepathy-mission-control-5 under Ubuntu 14.04?

Just installed Ubuntu 14.04 LTS a week ago and a few programs for my work & fun: nginx server, rabbitmq server, mysql server php-fpm, hhvm sublime-text, mysql workbench hplib (for ...
0
votes
0answers
807 views

Mysql failed to start

i tried to restore a db backup to a newly created database, suddenly its starts showing error. Can't connect to local MySQL server through socket /var/run/mysqld/mysqld.sock so i checked ...
3
votes
1answer
466 views

Anyway to use Skype in AppArmor?

Ubuntu 14.04 and Skype 4.2 installed. I've set up AppArmor using the Skype AppArmor profile from this wiki. When I use AppArmor with Skype, it has no audio. Is anyone using AppArmor successfully with ...
-1
votes
2answers
254 views

Evince: error while loading shared libraries: Permission denied

While opening a PDF, I get a permission denied error, while ROOT. root@brix:~# evince *.pdf evince: error while loading shared libraries: libz.so.1: failed to map segment from shared object: ...
1
vote
1answer
793 views

Contain Docker Engine with AppArmor

In face of the reminders that the Docker Engine should be run contained with AppArmor or SELinux, how to run Docker under AppArmor on Ubuntu 14.04? The Docker Security documentation and the LXC ...
0
votes
0answers
457 views

apparmor=“DENIED”

I get loads of error messages like this in dmesg [613107.890167] type=1400 audit(1402488663.041:108): apparmor="DENIED" operation="exec" profile="/usr/bin/evince-thumbnailer//sanitized_helper" ...
1
vote
0answers
38 views

How to change apparmor logging file?

Apparmor logging to syslog by default. How to change apparmor config to logging to /var/log/apparmor.log for example?
0
votes
0answers
33 views

Allow folder in all AppArmor profiles?

I want to put all my modified ubuntu server configurations files (/etc/...) in one folder via symbolic links. However, it's annoying having to write the same line in all apparmor profiles. Is there ...
0
votes
1answer
2k views

Mysql on Ubuntu 14.04 problem with AppArmor permissions for data directory

I've been using MySQL with a different location for the database date since Ubuntu 12.04 and had no problems. My configuration was like this: Data in /home/db/mysql Link in the default location sudo ...
1
vote
1answer
136 views

How can I put tomcat under apparmor?

For security reasons, I want to put Tomcat under apparmor. The Ubuntu server(12.04 LTS) guide has a good explanation about apparmor, but I am not sure what is the correct way of creating a profile for ...
1
vote
0answers
58 views

Apparmor and Ecrypfs trouble with encrypted ~/Private directory

In my system I made an encrypted ~/Private directory by ecryptfs-utils package. It works good, but I have a problem with apparmor. Into the Private folder I moved some home directories, like .local, ...
1
vote
1answer
1k views

What is reason for apparmor=“DENIED” operation=“open”

Jan 26 13:25:27 nanak-P570WM kernel: [ 3184.247986] type=1400 audit(1390703127.047:85): apparmor="DENIED" operation="open" parent=2911 profile="/usr/lib/telepathy/mission-control-5" ...
0
votes
0answers
35 views

Lost internet connection after (fail) apparmor installation

Please, I would truly thank any advice on how to solve this issue: I have ubuntu gnome 13.10 64bits and I tried to install apparmor using the normal procedure: sudo add-apt-repository ...
0
votes
1answer
3k views

Ubuntu 12.04 not loading after installing updates - initctl: Event failed

After updating my Ubuntu installation I get a blank screen when try to load it. I have dual boot with Windows which works fine. Going into recovery mode -> resume normal boot gives me the following ...
0
votes
0answers
316 views

Apparmor doesn't start with Ubuntu 13.10 64Bit

installed with apt-get install apparmor apt-get install apparmor-utils apparmor-profiles apparmor-notify but even after a reboot aa-status tells me apparmor module is not loaded. ...
2
votes
1answer
74 views

U1DB problems with apparmor

I'm having problem with u1db and apparmor. The application works fine, but when it is packaged apparmor does not allow the app to save data into $HOME/.local/share/.. so I can't actually save my ...
1
vote
0answers
89 views

apparmor don't start with 12.04 LTS 64Bit

I installed with apt-get install apparmor-utils apparmor-profiles apparmor-notify but even after a reboot aa-status tells me apparmor module is not loaded. cant find entry in syslog and ...
5
votes
1answer
202 views

Can apparmor restrict interpreted languages?

For interpreted/vm languages(e.g. python, java, shell scripts) can apparmor be set to only confine a particular script or program? If so, how?
0
votes
1answer
115 views

What are orcexec files?

Apparmor shows various programs need read access to files with names like "orcexec.3JIkjU84". it's always orcexec.* which allows for them to be read. What is the purpose of these files?
0
votes
1answer
229 views

is apparmor shutting down rsyslogd / syslog?

Protocol of syslog is ending ( shut-down ? ) with output : pluto cracklib: no dictionary update necessary. Aug 19 11:17:23 pluto kernel: [ 8090.193574] audit_printk_skb: 57 callbacks suppressed Aug ...
1
vote
1answer
60 views

Is it possible to have two g++ executables with shared lib?

It might sound weird but I do want to have two g++ executables. One in normal /usr/bin/g++ which is currently working well. The other under /sandbox/g++ that is protected by apparmor. However when I ...
1
vote
0answers
310 views

Java can't find libjli.so despite ld.so.conf entry

I'm trying to get Java to run under AppArmor on 12.04 by copying the executable to /sandbox/java. (Symlinking is not an option because AppArmor fails on symlinks.) Currently, it won't run because it ...
1
vote
1answer
845 views

apt-get hang at Rsyslog

When I try to install something, there is a hang, I don't know if it's a bug or something else... root@computer:~# apt-get install Reading package list... Done Building dependancy tree Reading state ...
1
vote
2answers
673 views

Removing AppArmor

I have MySQL installed in my development machine, where I just don't need any additional security measure. I want to move MySQL Data files to another partition, which implies a lot of change in ...
1
vote
2answers
350 views

How to display AppArmor denied messages as desktop notifications

How can I get live notifications on my desktop whenever an AppArmor denied message is triggered?
4
votes
1answer
202 views

Preventing a specific application from accessing a folder

I just installed an application that has the bad habit of automatically scanning all my folders for files to edit. The app has no available options to disable this behavior. I cannot just remove ...
1
vote
1answer
2k views

Bind9 - openssl problem

when I try to start bind9; simply fail because of chroot & openssl /etc/init.d/bind9 start log messages; Feb 17 08:26:27 ISTVS2024 named[2440]: initializing DST: openssl failure Feb 17 ...
2
votes
0answers
163 views

Hide Skype from panel with apparmor and keep links in chat openable

To hide Skype from unity panel we can add file /etc/apparmor.d/usr.bin.skype with such content: # Last Modified: Tue Jun 12 03:49:49 2012 by izx # REPOSITORY: ...
1
vote
0answers
130 views

How to grant access to raw partition for lxc container

I'm using the Linux Containers as set by default in the package lxc. I'd like to give one of the container an exclusive access to one partition. Does anybody know, how to configure it? I'd like to ...
2
votes
1answer
715 views

How to fix AppArmor `could not open` error when installing php+mysql?

I want to install php5-imap php5-ldap php5-curl sudo apt-get install php5-imap php5-ldap php5-curl I get this error: AppArmor parser error for /etc/apparmor.d/usr.sbin.mysqld in ...
4
votes
1answer
183 views

Apparmor has hats like null-12b08

I am running a Ubuntu 12.04.2 server with Apache using mod_apparmor. When I run aa-status, I see thousands and thousands (seriously, over 100,000) of profiles with names like ...
1
vote
2answers
78 views

Is apparmor active after installation? [duplicate]

Possible Duplicate: How can I tell that apparmor is working? I want to know is apparmor active after installing ubuntu12.04 ? Thank you