Created attachment 449432 [details]
output of systemctl commands during testing
Description of problem:
I do a 'systemctl enable smartd.service', and it says it can't find it.
'systemctl -a | grep smart' finds it.
I do 'systemctl show smartd.service', and it produces output (which make me wonder why it couldn't find it for 'enable') - but sets $? == 3 which indicates failure (but presumably a different failure than the $? == 1 that the 'enable' threw).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Forgot to include - 'systemctl start smartd.service' will in fact launch smartd
"systemctl enable" can only be used for native services for now.
systemctl will now redirect "systemctl enable" calls for SysV services to chkconfig. Also, systemctl show will not return any surprising return values anymore (the reason it did was that systemctl show was handled by the same logic as systemctl status which closely followed the LSB semantics for status, which mandate that 3 is returned when a service is not running).
This is in systemd git and soon in rawhide.