Andrei Borzenkov wrote:
В Mon, 18 Aug 2014 20:59:54 +0400 Andrei Borzenkov <arvidjaar@gmail.com> пишет:
В Mon, 18 Aug 2014 00:00:20 +0200 Per Jessen <per@computer.org> пишет:
# find /etc/systemd/system -name \*postfix\* /etc/systemd/system/postfix@.service /etc/systemd/system/postfix@postfix-in.service /etc/systemd/system/postfix@postfix-out.service /etc/systemd/system/postfix@postfix.service
Trying to enable an instance:
# systemctl enable postfix@postfix.service Failed to issue method call: No such file or directory
I must be doing something wrong, but I simply can't spot it.
No, it's systemd bug. From code inspection it exists in upstream as well.
As workaround please remove all instantiated symlinks (/etc/systemd/system/postfix@postfix-in.service etc). Then systemctl enable will work.
On further discussion upstream it appears intentional - systemd will generally ignore any symlink during "systemctl enable". As those symlinks are completely redundant in your case, no functionality is lost.
I've removed the symlinks, enabled postfix@postfix-in.service etc. and rebooted - works fine. Thanks. -- Per Jessen, Zürich (18.7°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org