← Back to team overview

touch-packages team mailing list archive

[Bug 1303024] Re: aa-genprof crashed with apparmor.common.AppArmorException in __main__: "Can't find sflphone-kde in the system path list. If the name of the application\nis correct, please run 'which sflphone-kde' as a user with correct PATH\nenvironment set up in order to find the fully-qualified path and\nuse the full path as parameter."

 

>From ProcEnviron.txt:
    PATH=(custom, user)

That looks very strange - you should have something like
    PATH=/home/cb/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
(that's my path as user, root additionally has /sbin and /usr/sbin)

If you still can reproduce this bug with the latest aa-genprof, please provide the output of
    echo $PATH
    which sflphone-kde

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

Title:
  aa-genprof crashed with apparmor.common.AppArmorException in __main__:
  "Can't find sflphone-kde in the system path list. If the name of the
  application\nis correct, please run 'which sflphone-kde' as a user
  with correct PATH\nenvironment set up in order to find the fully-
  qualified path and\nuse the full path as parameter."

Status in “apparmor” package in Ubuntu:
  New

Bug description:
  Apparmor crashed because it didn't find the an application profile.

  ProblemType: Crash
  DistroRelease: Ubuntu 14.04
  Package: apparmor-utils 2.8.95~2430-0ubuntu3
  ProcVersionSignature: Ubuntu 3.13.0-20.42-generic 3.13.7
  Uname: Linux 3.13.0-20-generic x86_64
  ApportVersion: 2.14-0ubuntu1
  Architecture: amd64
  CrashCounter: 1
  Date: Fri Apr  4 18:20:21 2014
  ExecutablePath: /usr/sbin/aa-genprof
  InstallationDate: Installed on 2014-03-24 (12 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64+mac (20131016.1)
  InterpreterPath: /usr/bin/python3.4
  ProcCmdline: /usr/bin/python3 /usr/sbin/aa-genprof sflphone-kde
  ProcKernelCmdline: BOOT_IMAGE=/efi/ubuntu/vmlinuz-3.13.0-20-generic root=/dev/mapper/vg-root0 ro quiet splash
  PythonArgs: ['/usr/sbin/aa-genprof', 'sflphone-kde']
  SourcePackage: apparmor
  Title: aa-genprof crashed with apparmor.common.AppArmorException in __main__: "Can't find sflphone-kde in the system path list. If the name of the application\nis correct, please run 'which sflphone-kde' as a user with correct PATH\nenvironment set up in order to find the fully-qualified path and\nuse the full path as parameter."
  Traceback:
   Traceback (most recent call last):
     File "/usr/sbin/aa-genprof", line 91, in <module>
       raise apparmor.AppArmorException(_("Can't find %s in the system path list. If the name of the application\nis correct, please run 'which %s' as a user with correct PATH\nenvironment set up in order to find the fully-qualified path and\nuse the full path as parameter.") %(profiling, profiling))
   apparmor.common.AppArmorException: "Can't find sflphone-kde in the system path list. If the name of the application\nis correct, please run 'which sflphone-kde' as a user with correct PATH\nenvironment set up in order to find the fully-qualified path and\nuse the full path as parameter."
  UpgradeStatus: Upgraded to trusty on 2014-03-29 (7 days ago)
  UserGroups:

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