Bug 751778 - audit package doesn't include auditd.service for systemd
Summary: audit package doesn't include auditd.service for systemd
Status: RESOLVED DUPLICATE of bug 717162
: 784668 (view as bug list)
Alias: None
Product: openSUSE 12.1
Classification: openSUSE
Component: Other (show other bugs)
Version: Final
Hardware: All openSUSE 12.1
: P2 - High : Major (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-12 12:54 UTC by Robert Milasan
Modified: 2012-10-15 22:24 UTC (History)
2 users (show)

See Also:
Found By: L3
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Milasan 2012-03-12 12:54:45 UTC
When audit is installed on the computer, the service can't be started using 
service audit start or /etc/init.d/audit or systemctl start auditd.service' due to missing auditd.service file for systemd:

robert@viper:~> sudo /etc/init.d/auditd restart
redirecting to systemctl
Failed to issue method call: Unit auditd.service failed to load: No such file or directory. See system logs and 'systemctl status auditd.service' for details.

robert@viper:~> sudo systemctl status auditd.service
auditd.service
	  Loaded: error (Reason: No such file or directory)
	  Active: inactive (dead)
Comment 1 Frederic Crozat 2012-03-14 15:09:03 UTC
does running systemctl daemon-reload fixes the issue ? (I'm guessing systemd isn't notificed about the initscript being installed).
Comment 2 Robert Milasan 2012-03-14 15:18:09 UTC
Actually like that it worked, but the weird part is the reboot didn't fix the issue, just the command: "systemctl daemon-reload" which I find it kind of strange.

Shouldn't be there in the spec file for auditd this command, actually to be ran after auditd is install?
Comment 3 Frederic Crozat 2012-03-14 15:23:15 UTC
I guess we should update our rpm macros used related to initscripts to run this command when systemd is running.
Comment 4 Robert Milasan 2012-03-14 15:25:33 UTC
Yep, that would be a good idea :)
Comment 5 Frederic Crozat 2012-03-14 15:46:27 UTC
found similar bug already in bugzilla

*** This bug has been marked as a duplicate of bug 717162 ***
Comment 6 Tony Jones 2012-10-15 22:24:11 UTC
*** Bug 784668 has been marked as a duplicate of this bug. ***