Bug 716970
| Summary: | Provide native systemd unit file | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jóhann B. Guðmundsson <johannbg> | ||||
| Component: | apmd | Assignee: | Jiri Skala <jskala> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | aglotov, jskala | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-07-18 11:11:42 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 713562 | ||||||
| Attachments: |
|
||||||
|
Description
Jóhann B. Guðmundsson
2011-06-27 15:37:12 UTC
Created attachment 512249 [details] Native systemd service file apmd What's the current status on this? I've submitted totally untested service file based on the init script and note that faik modules should be loaded via autoloading based on bus information, or via /etc/modules-load.d/*.conf. and unloading a module from the kernel should not be done except for debugging purposes. Thus you should propably rop a conf file into /etc/modules-load.d for the module If you dont have the time to package this make note of that on this bug and I can see if I can find a proven packager you can package this for you... https://fedoraproject.org/wiki/Packaging:Guidelines:Systemd https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd https://fedoraproject.org/wiki/Packaging:Tmpfiles.d Ping you component is part of the Base group hence we need to get some move on this.. Hi, APM is quite historical. So I was checking for a support of this service firstly. Well, I'm searching for hw to test otherwise I'd use your attached unit file. But as you mentioned loading kernel module should be separated into /etc/module-load.d/. This would be only change against attached file. Any comments? Nope not really you would just create a file called apm.conf containing something like.. # Load apm.ko at boot apm And remove the line ExecStartPre=-/sbin/modprobe -qab apm |