apparmor exit code 123

Bug #1743079 reported by Dorian Rosse
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
apparmor (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Dear IT worker,

Since I have kernel 4.14.12 I have two errors, for apparmor:

apparmor failed because It failed to start LSB the status exit code is 123 and there is a error by program /etc/apparmor.d/usr.lib.snapd-confine.real in line 11 unable to open /var/lib/snapd/apparmor/snap-confine.d (skipping profile in /etc/apparmor.d/disable : usr.sbin.rsyslogd

Also thank you in advance to all the team to help me and repair this two problem,

Regards.

Dorian ROSSE.

System: ubuntu 16.04.3
Apparmor: 2.10.95-0ubuntu2.7

Revision history for this message
Michael Vogt (mvo) wrote :

Could you please try to "sudo mkdir /var/lib/snapd/apparmor/snap-confine.d" and see if this error goes away once this directory is created?

Changed in snapd (Ubuntu):
status: New → Incomplete
Revision history for this message
Dorian Rosse (dodozzz16493610) wrote :

Dear IT worker,

Apparmor is repaired now,

Good work,

Regards.

Dorian ROSSE.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for snapd (Ubuntu) because there has been no activity for 60 days.]

Changed in snapd (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Adam Kosseck (tyderian) wrote :

I also have this bug on Ubuntu 18.04.1.

This appears on a number of machines built from the minimal server ISO.

The fix was to run
mkdir -p /var/lib/snapd/apparmor/snap-config

Changed in snapd (Ubuntu):
status: Expired → Confirmed
Revision history for this message
Adam Kosseck (tyderian) wrote :

Snapd is not installed so I believe the bug is in Apparmor.
We are currently running Apparmor "2.12-4ubuntu5 amd64"

affects: snapd (Ubuntu) → apparmor (Ubuntu)
Revision history for this message
Adam Kosseck (tyderian) wrote :

Typo in the line above. Fix was:

The fix was to run
mkdir -p /var/lib/snapd/apparmor/snap-confine

Revision history for this message
Adam Kosseck (tyderian) wrote :

Snapd is not installed in our environment, it is explicitly removed if present.

Revision history for this message
Dorian Rosse (dodozzz16493610) wrote : RE: [Bug 1743079] Re: apparmor exit code 123

Hello,

Your answer is too much older for check I will run « systemctl status snapd.service » because I run now kernel 4.18 :/

If It cannot in running also I will run your command line repair 😊,

Tank you,

have a nice day,

Regards.

Dorian ROSSE.

________________________________
De : <email address hidden> <email address hidden> de la part de Adam Kosseck <email address hidden>
Envoyé : Tuesday, August 21, 2018 2:59:13 AM
À : <email address hidden>
Objet : [Bug 1743079] Re: apparmor exit code 123

Snapd is not installed in our environment, it is explicitly removed if
present.

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1743079

Title:
  apparmor exit code 123

Status in apparmor package in Ubuntu:
  Confirmed

Bug description:
  Dear IT worker,

  Since I have kernel 4.14.12 I have two errors, for apparmor:

  apparmor failed because It failed to start LSB the status exit code is
  123 and there is a error by program /etc/apparmor.d/usr.lib.snapd-
  confine.real in line 11 unable to open /var/lib/snapd/apparmor/snap-
  confine.d (skipping profile in /etc/apparmor.d/disable :
  usr.sbin.rsyslogd

  Also thank you in advance to all the team to help me and repair this
  two problem,

  Regards.

  Dorian ROSSE.

  System: ubuntu 16.04.3
  Apparmor: 2.10.95-0ubuntu2.7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1743079/+subscriptions

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.