[Bug 1195898] [NEW] apparmour denies access to /var/log/ntpstats/protostats

2013-06-28 Thread Nicholas Cross
Public bug reported:


Jun 28 07:55:29 2013 ubuntu daemon.err27 ntpd[2001]: can't open 
/var/log/ntpstats/protostats.20130628: Permission denied
Jun 28 07:55:29 2013 ubuntu kern.notice5 kernel: [136683.753956] type=1400 
audit(1372402529.550:120): apparmor=DENIED operation=mknod parent=1 
profile=/usr/sbin/ntpd name=/var/log/ntpstats/protostats.20130628 pid=2001 
comm=ntpd requested_mask=c denied_mask=c fsuid=129 ouid=129


FIX:

  
vi /etc/apparmor.d/usr.sbin.ntpd

#add

/var/log/ntpstats/protostats*   rwl,


# restart 

apparmor_parser -r /etc/apparmor.d/usr.sbin.ntpd


DATA:

# lsb_release -rd
Description:Ubuntu 12.04.2 LTS
Release:12.04


# apt-cache policy ntp
ntp:
  Installed: 1:4.2.6.p3+dfsg-1ubuntu3.1
  Candidate: 1:4.2.6.p3+dfsg-1ubuntu3.1
  Version table:
 *** 1:4.2.6.p3+dfsg-1ubuntu3.1 0
500 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 
Packages
100 /var/lib/dpkg/status
 1:4.2.6.p3+dfsg-1ubuntu3 0
500 http://gb.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages


# apt-cache policy apparmor
apparmor:
  Installed: 2.7.102-0ubuntu3.8
  Candidate: 2.7.102-0ubuntu3.8
  Version table:
 *** 2.7.102-0ubuntu3.8 0
500 http://gb.archive.ubuntu.com/ubuntu/ precise-proposed/main amd64 
Packages
100 /var/lib/dpkg/status
 2.7.102-0ubuntu3.7 0
500 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 
Packages
500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 
Packages
 2.7.102-0ubuntu3 0
500 http://gb.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

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


** Tags: apparmour ntp ntpstats protostats

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in Ubuntu.
https://bugs.launchpad.net/bugs/1195898

Title:
  apparmour denies access to /var/log/ntpstats/protostats

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1195898] [NEW] apparmour denies access to /var/log/ntpstats/protostats

2013-06-28 Thread Nicholas Cross
Public bug reported:


Jun 28 07:55:29 2013 ubuntu daemon.err27 ntpd[2001]: can't open 
/var/log/ntpstats/protostats.20130628: Permission denied
Jun 28 07:55:29 2013 ubuntu kern.notice5 kernel: [136683.753956] type=1400 
audit(1372402529.550:120): apparmor=DENIED operation=mknod parent=1 
profile=/usr/sbin/ntpd name=/var/log/ntpstats/protostats.20130628 pid=2001 
comm=ntpd requested_mask=c denied_mask=c fsuid=129 ouid=129


FIX:

  
vi /etc/apparmor.d/usr.sbin.ntpd

#add

/var/log/ntpstats/protostats*   rwl,


# restart 

apparmor_parser -r /etc/apparmor.d/usr.sbin.ntpd


DATA:

# lsb_release -rd
Description:Ubuntu 12.04.2 LTS
Release:12.04


# apt-cache policy ntp
ntp:
  Installed: 1:4.2.6.p3+dfsg-1ubuntu3.1
  Candidate: 1:4.2.6.p3+dfsg-1ubuntu3.1
  Version table:
 *** 1:4.2.6.p3+dfsg-1ubuntu3.1 0
500 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 
Packages
100 /var/lib/dpkg/status
 1:4.2.6.p3+dfsg-1ubuntu3 0
500 http://gb.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages


# apt-cache policy apparmor
apparmor:
  Installed: 2.7.102-0ubuntu3.8
  Candidate: 2.7.102-0ubuntu3.8
  Version table:
 *** 2.7.102-0ubuntu3.8 0
500 http://gb.archive.ubuntu.com/ubuntu/ precise-proposed/main amd64 
Packages
100 /var/lib/dpkg/status
 2.7.102-0ubuntu3.7 0
500 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 
Packages
500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 
Packages
 2.7.102-0ubuntu3 0
500 http://gb.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

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


** Tags: apparmour ntp ntpstats protostats

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

Title:
  apparmour denies access to /var/log/ntpstats/protostats

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

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


[Bug 1181514] [NEW] package snort not installed failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2013-05-18 Thread Nicholas Cross
Public bug reported:

ubuntu crash debug sent me here.

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: snort (not installed)
ProcVersionSignature: Ubuntu 3.2.0-43.68-generic 3.2.42
Uname: Linux 3.2.0-43-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.2
Architecture: amd64
Date: Sun May 12 17:02:40 2013
ErrorMessage: subprocess installed post-installation script returned error exit 
status 1
InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Release amd64 
(20120425)
MarkForUpload: True
SourcePackage: snort
Title: package snort (not installed) failed to install/upgrade: subprocess 
installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

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


** Tags: amd64 apport-package precise

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

Title:
  package snort  not installed  failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 1

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

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


[Bug 1077588] [NEW] package update-notifier-common 0.119ubuntu8.6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 137

2012-11-11 Thread Nicholas Cross
Public bug reported:

ubuntu sent me here

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: update-notifier-common 0.119ubuntu8.6
ProcVersionSignature: Ubuntu 3.2.0-32.51-generic 3.2.30
Uname: Linux 3.2.0-32-generic x86_64
ApportVersion: 2.0.1-0ubuntu14
AptOrdering:
 flashplugin-installer: Install
 flashplugin-installer: Configure
Architecture: amd64
Date: Wed Nov  7 20:50:12 2012
ErrorMessage: subprocess installed post-installation script returned error exit 
status 137
InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Release amd64 
(20120425)
PackageArchitecture: all
SourcePackage: update-notifier
Title: package update-notifier-common 0.119ubuntu8.6 failed to install/upgrade: 
subprocess installed post-installation script returned error exit status 137
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: update-notifier (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-package precise

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

Title:
  package update-notifier-common 0.119ubuntu8.6 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 137

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1077588/+subscriptions

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