omprog is quite hard to confine correctly in a way that is still usable
for all cases. Whatever you do, it would be best to deal with local
overrides, and not change the main profile shipped by the rsyslog
package.

That being said, I don't know of a way to override the flag: the current
override mechanism is just an inclusion mechanism, so you can add other
rules to the profile. Just to check that it would work, you could try to
allow rsyslog to execute php under a different profile that you will
create, and there you could allow the disconnected flag. You would
transition from the rsyslog confinement to a "librenmslogging" one that
you would create.

This readme file[1] explains how apparmor was added to the rsyslog
package, and talks about a package-supplied override mechanism (but it's
also just an include mechanism). The more generic override, meant for
administrators of local systems, is via
/etc/apparmor.d/local/usr.sbin.rsyslog



1. https://git.launchpad.net/ubuntu/+source/rsyslog/tree/debian/README.apparmor

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1373070

Title:
  full fix for disconnected path (paths)

Status in cups package in Ubuntu:
  Fix Released
Status in linux package in Ubuntu:
  Triaged
Status in rsyslog package in Ubuntu:
  Confirmed

Bug description:
  With the apparmor 3 RC1 upload, there is an incomplete bug fix for
  disconnected paths. This bug is to track that work.

  This denial may be related:
  Sep 23 10:10:50 localhost kernel: [40262.517799] audit: type=1400 
audit(1411485050.722:2862): apparmor="DENIED" operation="sendmsg" info="Failed 
name lookup - disconnected path" error=-13 profile="/usr/sbin/rsyslogd" 
name="dev/log" pid=7011 comm="logger" requested_mask="r" denied_mask="r" 
fsuid=0 ouid=0

  This is related to bug 1375410

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


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

Reply via email to