[Bug 1373070] Re: full fix for disconnected path (paths)

2025-02-26 Thread John Johansen
Currently there isn't a good way to set the flags on a profile without editing the local copy. There is an overlay mechanism coming, but it has not landed yet. There is also another mechanism for dealing with disconnected object coming. But until these extensions land there is a way to do local pro

[Bug 1373070] Re: full fix for disconnected path (paths)

2025-02-25 Thread Viktor
I have the same error: 2025-02-23T00:00:25.676547+02:00 lb2 kernel: audit: type=1400 audit(1740261625.675:8978082): apparmor="DENIED" operation="sendmsg" class="file" info="Failed name lookup - disconnected path" error=-13 profile="r syslogd" name="var/lib/haproxy/dev/log" pid=672902 comm="hapro

[Bug 1373070] Re: full fix for disconnected path (paths)

2025-02-08 Thread jdfalk
I'm seeing this in haproxy. ``` 2025-02-08T21:37:49.789984-05:00 f kernel: audit: type=1400 audit(1739068669.788:18597): apparmor="DENIED" operation="sendmsg" class="file" info="Failed name lookup - disconnected path" error=-13 profile="rsyslogd" name="var/lib/haproxy/dev/log" pid=214622 comm=

[Bug 1373070] Re: full fix for disconnected path (paths)

2025-01-15 Thread Andreas Hasenack
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 m

[Bug 1373070] Re: full fix for disconnected path (paths)

2025-01-15 Thread Walter
Fun stuff. Got bitten by this for rsyslogd now. LibreNMS has an rsyslog config to log through its syslog.php: if $syslogpriority < 7 then action(type="omprog" binary="/srv/librenms/syslog.php" template="librenms") That should be easy to allow: /usr/bin/php* ix, /usr/bin/stty ix, /etc/ph

[Bug 1373070] Re: full fix for disconnected path (paths)

2017-09-14 Thread Seth Arnold
Gábor, systemd is well-meaning in providing namespacing features so the thousands of daemons that are in the world don't have to re-implement something similar. But of course the kernel hook points used by AppArmor don't provide sufficient information to know what pathname to reconstruct when the n

[Bug 1373070] Re: full fix for disconnected path (paths)

2017-09-14 Thread LGB [Gábor Lénárt]
Same problem with powerdns, I can't run it with apparmor profile, because it complains: operation="sendmsg" info="Failed name lookup - disconnected path" error=-13 profile="/usr/sbin/pdns_server" name="run/systemd/journal/dev- log" pid=17236 comm="pdns_server" requested_mask="w" denied_mask="w" fs

[Bug 1373070] Re: full fix for disconnected path (paths)

2016-10-21 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: rsyslog (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1373070 Title: fu

[Bug 1373070] Re: full fix for disconnected path (paths)

2016-07-25 Thread John Johansen
possibly. There isn't actually enough information in that bug to be sure if it is an actual namespacing issue or it is a separate bug to do with unix domain sockets. Unfortunately the workaround of attach_disconnect is still required to deal with these issues. -- You received this bug notificati

[Bug 1373070] Re: full fix for disconnected path (paths)

2016-07-25 Thread ChristianEhrhardt
Hi, I think bug 1594202 is another data point for this: Jun 20 01:49:24 omicron kernel: [ 962.491873] audit: type=1400 audit(1466380164.941:90): apparmor="ALLOWED" operation="sendmsg" info="Failed name lookup - disconnected path" error=-13 profile="/usr/lib/dovecot/log" name="run/systemd/journal/d

[Bug 1373070] Re: full fix for disconnected path (paths)

2016-07-25 Thread ChristianEhrhardt
Actually the dovecot profiles are in apparmor and not dovecot source packages - so it would be an apparmor task then. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1373070 Title: full fix for discon

[Bug 1373070] Re: full fix for disconnected path (paths)

2016-03-30 Thread John Johansen
Correct. There are actually several ways to get disconnected paths and this specific one is being caused by the new file ns. The proper fix for this is delegating access to the object that would not normally be accessible, however delegation is not available in the current releases of apparmor and

[Bug 1373070] Re: full fix for disconnected path (paths)

2016-03-29 Thread Rafael David Tinoco
Okay, so, I had more time to dig a bit into this and, after some analysis, I got: Errors being reproduced: [1668392.078137] audit: type=1400 audit(1459311786.129:1375455): apparmor="DENIED" operation="sendmsg" info="Failed name lookup - disconnected path" error=-13 profile="/usr/sbin/dnsmasq" nam

[Bug 1373070] Re: full fix for disconnected path (paths)

2016-02-29 Thread Rafael David Tinoco
Yep, you're right. It was getting /dev/log from abstractions/base for write only. My bad. Though, https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1373070/comments/6 Shows same issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubun

[Bug 1373070] Re: full fix for disconnected path (paths)

2016-02-29 Thread Rafael David Tinoco
Though, For comments: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1373070/comments/7 If you remove /dev/log rwx from /etc/apparmor.d/usr.sbin.rsyslog : Using kernel Ubuntu-3.13.x DOES NOT show any DENIALS (Ubuntu-3.16, Ubuntu-3.19 and Ubuntu-4.2 HWE kernels shows). Using upstream kern

[Bug 1373070] Re: full fix for disconnected path (paths)

2016-02-26 Thread Christian Boltz
As expected, that's a totally different issue. Please add /dev/log r, to your rsyslogd profile. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1373070 Title: full fix for disconnected path (path

[Bug 1373070] Re: full fix for disconnected path (paths)

2016-02-26 Thread Rafael David Tinoco
I am able to reproduce this just by having apparmor.d profile usr.sbin.rsyslogd removed from disable/ directory. [ 674.165128] audit: type=1400 audit(1456491880.616:134): apparmor="DENIED" operation="sendmsg" profile="/usr/sbin/rsyslogd" name="/dev/log" pid=3639 comm="dhclient" requested_mask="

[Bug 1373070] Re: full fix for disconnected path (paths)

2016-02-16 Thread Rafael David Tinoco
Pavel, Déziel, Im reproducing the same issue with dnsmasq + openstack + neutron: Feb 16 18:35:01 juju-inaddy-machine-12 kernel: [ 4357.680900] audit: type=1400 audit(1455647701.796:121): apparmor="DENIED" operation="sendmsg" info="Failed name lookup - disconnected path" error=-13 profile="/usr/sb

[Bug 1373070] Re: full fix for disconnected path (paths)

2015-12-27 Thread Pavel Malyshev
I'm affected by this bug too at Trusty + Vivid HWE # lsb_release -rd Description:Ubuntu 14.04.3 LTS Release:14.04 # uname -a Linux amanda 3.19.0-42-generic #48~14.04.1-Ubuntu SMP Fri Dec 18 10:25:23 UTC 2015 i686 i686 i686 GNU/Linux # dpkg -l | grep linux-image-generic ii linux-ima

[Bug 1373070] Re: full fix for disconnected path (paths)

2015-12-27 Thread Pavel Malyshev
** Also affects: rsyslog (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1373070 Title: full fix for disconnected path (paths) To manage notificat

[Bug 1373070] Re: full fix for disconnected path (paths)

2015-05-21 Thread Simon Déziel
To add one more data point, my Trusty server using the Utopic HWE kernel also exhibits the problem: May 21 12:27:28 xeon kernel: [95104.918686] audit: type=1400 audit(1432225648.230:57): apparmor="DENIED" operation="sendmsg" info="Failed name lookup - disconnected path" error=-13 profile="/usr/sbi

[Bug 1373070] Re: full fix for disconnected path (paths)

2014-10-03 Thread Launchpad Bug Tracker
This bug was fixed in the package cups - 1.7.5-3ubuntu1 --- cups (1.7.5-3ubuntu1) utopic; urgency=medium * debian/local/apparmor-profile: - fix peer on signal rule to use /usr/sbin/cupsd//third_party (LP: #1376611) - temporarily use attach_disconnected to work around L

[Bug 1373070] Re: full fix for disconnected path (paths)

2014-10-02 Thread Jamie Strandboge
** Changed in: cups (Ubuntu) Status: New => In Progress ** Changed in: cups (Ubuntu) Importance: Undecided => High ** Changed in: cups (Ubuntu) Assignee: (unassigned) => Jamie Strandboge (jdstrand) -- You received this bug notification because you are a member of Ubuntu Bugs, whi

[Bug 1373070] Re: full fix for disconnected path (paths)

2014-10-02 Thread Jamie Strandboge
I'm going to need to add attach_disconnected to the cups profile as a temporary workaround. When this bug is fixed, we need to undo that. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1373070 Title:

[Bug 1373070] Re: full fix for disconnected path (paths)

2014-10-02 Thread Jamie Strandboge
Here is another: Sep 10 09:06:00 callisto kernel: audit: type=1400 audit(1410332760.203:112): apparmor="DENIED" operation="connect" info="Failed name lookup - disconnected path" error=-13 profile="/usr/sbin/cupsd" name="run/dbus/system_bus_socket" pid=3608 comm="cupsd" requested_mask="rw" denied