Summary: | presets not working | ||
---|---|---|---|
Product: | systemd | Reporter: | Igor Savluk <agentsmith.hengsha.city> |
Component: | general | Assignee: | systemd-bugs |
Status: | RESOLVED NOTABUG | QA Contact: | systemd-bugs |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Igor Savluk
2013-05-04 15:56:24 UTC
In gentoo when i try systemctl preset test in out: Operation failed: Invalid argument. I think htere's a misunderstanding here what preset does. If you add "eanble foobar.service" to a preset file, then "systemctl preset foobar.service" will cause this unit file do be enabled. Hence, "systemctl preset" expects at least parameter, of the unit name to reset to the preset default. If you specify just "test" as parameter, then this would cause "test.service" to be reset to the preset default, but since "test.service" doesn't exist on your machine this fails. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.