$ systemctl enable --root=/ serial-getty@.service
Failed to enable unit, unit getty.target is a non-template unit.
↓
Failed to enable serial-getty@.service, destination unit getty.target is a non-template unit.
logged = true;
break;
case -EIDRM:
- log_error_errno(changes[i].type_or_errno, "Failed to %s unit, unit %s is a non-template unit.",
- verb, changes[i].path);
+ log_error_errno(changes[i].type_or_errno, "Failed to %s %s, destination unit %s is a non-template unit.",
+ verb, changes[i].source, changes[i].path);
logged = true;
break;
case -EUCLEAN: