[Bug 1296218] [NEW] aa-complain crashed with apparmor.common.AppArmorException in get_profile_flags(): '/etc/apparmor.d/usr.bin.chromium-browser contains no profile'

2014-03-23 Thread Rainer Dickermann
Public bug reported:

Here the profile exists
---
$ sudo aa-autodep /usr/bin/chromium-browser
Profile for /usr/bin/chromium-browser already exists - skipping.

Here it doesn't exist

$ sudo aa-genprof /usr/bin/chromium-browser
Traceback (most recent call last):
  File "/usr/sbin/aa-genprof", line 102, in 
apparmor.helpers[program] = apparmor.get_profile_flags(profile_filename, 
program)
  File "/usr/lib/python3/dist-packages/apparmor/aa.py", line 600, in 
get_profile_flags
raise AppArmorException(_('%s contains no profile') % filename)
apparmor.common.AppArmorException: '/etc/apparmor.d/usr.bin.chromium-browser 
contains no profile'
---
and finally this crashes again
---
$ sudo aa-complain /usr/bin/chromium-browser
Setting /usr/bin/chromium-browser to complain mode.
Traceback (most recent call last):
  File "/usr/sbin/aa-complain", line 30, in 
tool.cmd_complain()
  File "/usr/lib/python3/dist-packages/apparmor/tools.py", line 178, in 
cmd_complain
apparmor.set_complain(profile, program)
  File "/usr/lib/python3/dist-packages/apparmor/aa.py", line 264, in 
set_complain
change_profile_flags(filename, program, 'complain', True)
  File "/usr/lib/python3/dist-packages/apparmor/aa.py", line 603, in 
change_profile_flags
old_flags = get_profile_flags(filename, program)
  File "/usr/lib/python3/dist-packages/apparmor/aa.py", line 600, in 
get_profile_flags
raise AppArmorException(_('%s contains no profile') % filename)
apparmor.common.AppArmorException: '/etc/apparmor.d/usr.bin.chromium-browser 
contains no profile'

ProblemType: Crash
DistroRelease: Ubuntu 14.04
Package: apparmor-utils 2.8.95~2430-0ubuntu2
ProcVersionSignature: Ubuntu 3.13.0-18.38-lowlatency 3.13.6
Uname: Linux 3.13.0-18-lowlatency x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
Date: Sun Mar 23 08:47:30 2014
ExecutablePath: /usr/sbin/aa-complain
InstallationDate: Installed on 2014-03-08 (14 days ago)
InstallationMedia: Ubuntu-Studio 14.04 "Trusty Tahr" - Alpha amd64 (20140224)
InterpreterPath: /usr/bin/python3.4
ProcCmdline: /usr/bin/python3 /usr/sbin/aa-complain /usr/bin/chromium-browser
ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-3.13.0-18-lowlatency 
root=UUID=4333a8e9-30cd-431d-8682-8211c549f168 ro quiet splash vt.handoff=7
PythonArgs: ['/usr/sbin/aa-complain', '/usr/bin/chromium-browser']
SourcePackage: apparmor
Title: aa-complain crashed with apparmor.common.AppArmorException in 
get_profile_flags(): '/etc/apparmor.d/usr.bin.chromium-browser contains no 
profile'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

** Affects: apparmor (Ubuntu)
 Importance: Medium
 Status: New


** Tags: amd64 apport-crash trusty

** Information type changed from Private Security to Public

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1296218

Title:
  aa-complain crashed with apparmor.common.AppArmorException in
  get_profile_flags(): '/etc/apparmor.d/usr.bin.chromium-browser
  contains no profile'

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1293038] [NEW] package libc6-dev-i386 (not installed) failed to install/upgrade: trying to overwrite '/usr/include/sys/timerfd.h', which is also in package libc6-dev-amd64 2.19-0ubuntu2

2014-03-16 Thread Rainer Dickermann
Public bug reported:

when installing the g++-multilib meta-package this error occurred

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: libc6-dev-i386 (not installed)
ProcVersionSignature: Ubuntu 3.13.0-17.37-lowlatency 3.13.6
Uname: Linux 3.13.0-17-lowlatency x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
Date: Sun Mar 16 08:12:57 2014
DpkgTerminalLog:
 Preparing to unpack .../libc6-dev-i386_2.19-0ubuntu2_amd64.deb ...
 Unpacking libc6-dev-i386 (2.19-0ubuntu2) ...
 dpkg: error processing archive 
/var/cache/apt/archives/libc6-dev-i386_2.19-0ubuntu2_amd64.deb (--unpack):
  trying to overwrite '/usr/include/sys/timerfd.h', which is also in package 
libc6-dev-amd64 2.19-0ubuntu2
DuplicateSignature: package:libc6-dev-i386:(not installed):trying to overwrite 
'/usr/include/sys/timerfd.h', which is also in package libc6-dev-amd64 
2.19-0ubuntu2
ErrorMessage: trying to overwrite '/usr/include/sys/timerfd.h', which is also 
in package libc6-dev-amd64 2.19-0ubuntu2
InstallationDate: Installed on 2014-03-08 (7 days ago)
InstallationMedia: Ubuntu-Studio 14.04 "Trusty Tahr" - Alpha amd64 (20140224)
SourcePackage: eglibc
Title: package libc6-dev-i386 (not installed) failed to install/upgrade: trying 
to overwrite '/usr/include/sys/timerfd.h', which is also in package 
libc6-dev-amd64 2.19-0ubuntu2
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: eglibc (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-package need-duplicate-check trusty

** Information type changed from Private Security to Public

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1293038

Title:
  package libc6-dev-i386 (not installed) failed to install/upgrade:
  trying to overwrite '/usr/include/sys/timerfd.h', which is also in
  package libc6-dev-amd64 2.19-0ubuntu2

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs