[Bug 911607] New: apparmor interferes with apcupsd
http://bugzilla.opensuse.org/show_bug.cgi?id=911607 Bug ID: 911607 Summary: apparmor interferes with apcupsd Classification: openSUSE Product: openSUSE 13.1 Version: Final Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: AppArmor Assignee: suse-beta@cboltz.de Reporter: suse_user@conures.us QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- openSUSE 13.1 apcupsd was working correctly until sometime in the last few weeks. Lately, it would not start because the configuration file could not be read. I found that removing the profile for apcupsd in apparmor would eliminate the problem. I replaced the apcupsd profile and ran aa-complain. Looking at this profile using a text editor, I see the complain flag has indeed been set. Apcupsd will run correctly. I cannot find the log file mentioned in the documentation though (I'm looking for /var/log/audit/audit.log). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=911607 Bart Hollis <suse_user@conures.us> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |suse_user@conures.us Hardware|Other |x86-64 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=911607 Per Jessen <per@computer.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |per@computer.org -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=911607 Christian Boltz <suse-beta@cboltz.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |NORESPONSE --- Comment #2 from Christian Boltz <suse-beta@cboltz.de> --- No response in nearly 3 months :-( - and I'm unable to help without the details I asked for. Please reopen this bugreport when you can provide the requested information. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=911607 Per Jessen <per@computer.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(suse_user@conures | |.us) | --- Comment #3 from Per Jessen <per@computer.org> --- (In reply to Christian Boltz from comment #1)
/var/log/audit/audit.log is only written if you install the "audit" package and start auditd: zypper in audit; systemctl enable auditd; systemctl start auditd
Without auditd, AppArmor log messages will be written to the syslog (/var/log/messages) or journal - "grep apparmor /var/log/messages" should get you started.
Please attach the relevant log messages. You can also update the profile yourself with aa-logprof.
That said - the apcupsd profile is not part of the apparmor-profiles package, and I can't find it in ARCHIVES.gz. Is the profile shipped with a package (check with rpm -qf) or did you create it yourself?
/etc/apcupsd/apcupsd.conf comes with the package. # rpm -qf /etc/apcupsd/apcupsd.conf apcupsd-3.14.10-3.4.5.i586 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com