[Bug 445818] [NEW] profile for usr.sbin.dnsmasq needs adjustment
C de-Avillez
hggdh2 at gmail.com
Wed Oct 7 21:31:49 UTC 2009
Public bug reported:
Binary package hint: apparmor
Currently (as of Karmic Beta, at least) usr.sbin.dnsmasq reads:
(...)
/etc/dnsmasq.conf r,
/usr/sbin/dnsmasq mr,
/var/run/dnsmasq.pid w,
/var/lib/misc/dnsmasq.leases rw, # Required only for DHCP server usage
}
The line '/var/run/dsnmasq.pid w' will reflect -- at least on my system
-- the wrong interface if I am using wireless. The actual file created
under /var/run has the interface name on it, like
'/var/run/dsnmasq.wlan0.pid'.
c.f., messages issued by audit:
[18682.250062] b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
[18682.400783] Registered led device: b43-phy0::tx
[18682.400843] Registered led device: b43-phy0::rx
[18682.400907] Registered led device: b43-phy0::radio
[18682.492454] wlan0: Trigger new scan to find an IBSS to join
[18683.627086] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[18683.627709] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
[18683.627716] nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
[18683.627721] sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
[18683.940921] type=1502 audit(1254949451.286:128): operation="mknod" pid=10379 parent=1841 profile="/usr/sbin/dnsmasq" requested_mask="w::" denied_mask="w::" fsuid=0 ouid=0 name="/var/run/nm-dnsmasq-wlan0.pid"
[18683.941005] type=1502 audit(1254949451.286:129): operation="open" pid=10379 parent=1841 profile="/usr/sbin/dnsmasq" requested_mask="w::" denied_mask="w::" fsuid=0 ouid=0 name="/var/run/nm-dnsmasq-wlan0.pid"
[18683.941124] type=1502 audit(1254949451.286:130): operation="file_perm" pid=10379 parent=1841 profile="/usr/sbin/dnsmasq" requested_mask="w::" denied_mask="w::" fsuid=0 ouid=0 name="/var/run/nm-dnsmasq-wlan0.pid"
[18686.012729] wlan0: Trigger new scan to find an IBSS to join
[18689.010238] wlan0: Trigger new scan to find an IBSS to join
[18689.982701] wlan0: Creating new IBSS network, BSSID 92:56:7a:40:52:69
[18692.560043] wlan0: no IPv6 routers present
ProblemType: Bug
Architecture: amd64
Date: Wed Oct 7 16:24:17 2009
Dependencies:
DistroRelease: Ubuntu 9.10
Package: apparmor-profiles 2.3.1+1403-0ubuntu25
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-12.40-generic
SourcePackage: apparmor
Uname: Linux 2.6.31-12-generic x86_64
** Affects: apparmor (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug
--
profile for usr.sbin.dnsmasq needs adjustment
https://bugs.launchpad.net/bugs/445818
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list