*** This bug is a duplicate of bug 1443693 ***
    https://bugs.launchpad.net/bugs/1443693

** This bug has been marked a duplicate of bug 1443693
   AppArmor parser error for /etc/apparmor.d/usr.bin.mediascanner-service-2.0

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu.
https://bugs.launchpad.net/bugs/1532530

Title:
  apparmor profile tries to import non existing directories

Status in mediascanner2 package in Ubuntu:
  New

Bug description:
  Apparmor fails to start when mediascanner2.0 is installed:

  janv. 10 09:52:26 tigreraye.nulle.part systemd[1]: Starting LSB: AppArmor 
initialization...
  janv. 10 09:52:26 tigreraye.nulle.part apparmor[12761]: * Starting AppArmor 
profiles
  janv. 10 09:52:27 tigreraye.nulle.part apparmor[12761]: Erreur de l'analyseur 
AppArmor pour /etc/apparmor.d/usr.bin.mediascanner-service-2.0 in 
/etc/apparmor.d/usr.bin.mediascanner-service-2.0 ? la ligne 14 : Impossible 
d'ouvrir << /usr/share/apparmor/hardware/audio.d >>
  janv. 10 09:52:27 tigreraye.nulle.part apparmor[12761]: Erreur de l'analyseur 
AppArmor pour /etc/apparmor.d/usr.bin.mediascanner-service-2.0 in 
/etc/apparmor.d/usr.bin.mediascanner-service-2.0 ? la ligne 14 : Impossible 
d'ouvrir << /usr/share/apparmor/hardware/audio.d >>
  janv. 10 09:52:27 tigreraye.nulle.part apparmor[12761]: ...fail!
  janv. 10 09:52:27 tigreraye.nulle.part systemd[1]: apparmor.service: Control 
process exited, code=exited status=123
  janv. 10 09:52:27 tigreraye.nulle.part systemd[1]: Failed to start LSB: 
AppArmor initialization.
  janv. 10 09:52:27 tigreraye.nulle.part systemd[1]: apparmor.service: Unit 
entered failed state.
  janv. 10 09:52:27 tigreraye.nulle.part systemd[1]: apparmor.service: Failed 
with result 'exit-code'.

  (The error message says: "unable to open
  /usr/share/apparmor/hardware/audio.d".)

  The mediascanner2.0  apparmor profile contains the following 3 linesĀ :

    #include "/usr/share/apparmor/hardware/audio.d"
    #include "/usr/share/apparmor/hardware/graphics.d"
    #include "/usr/share/apparmor/hardware/video.d"

  The directory /usr/share/apparmor exists but is empty.

  Commenting out these 3 lines fixes the problem.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: mediascanner2.0 0.107+15.10.20150922.1-0ubuntu1
  ProcVersionSignature: Ubuntu 4.2.0-23.28-generic 4.2.6
  Uname: Linux 4.2.0-23-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 2.19.1-0ubuntu5
  Architecture: amd64
  CurrentDesktop: XFCE
  Date: Sun Jan 10 09:58:23 2016
  SourcePackage: mediascanner2
  UpgradeStatus: Upgraded to wily on 2015-10-23 (79 days ago)
  mtime.conffile..etc.apparmor.d.usr.bin.mediascanner.service.2.0: 
2016-01-10T09:54:25.918889

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to