[opensuse] The unit files have no [Install] section. They are not meant to be enabled using systemctl.
I enabled mdadm using "systemctl enable mdadmd": # systemctl enable mdadmd mdadmd.service is not a native service, redirecting to /sbin/chkconfig. Executing /sbin/chkconfig mdadmd on The unit files have no [Install] section. They are not meant to be enabled using systemctl. Possible reasons for having this kind of units are: 1) A unit may be statically enabled by being symlinked from another unit's .wants/ or .requires/ directory. 2) A unit's purpose may be to act as a helper for some other unit which has a requirement dependency on it. 3) A unit may be started when needed via activation (socket, path, timer, D-Bus, udev, scripted systemctl call, ...). Is there a problem with mdadmd ? -- Per Jessen, Zürich (0.0°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
El 22/01/14 11:48, Per Jessen escribió:
Is there a problem with mdadmd ?
Yes and no. - You see that message because you are trying to activate the mdadm service traditional init script, which for some reason it is still there. - This script is AFAIK no longer needed, you do not need to enable it. - init scripts do not have an [Install] section, therefore the message. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Cristian Rodríguez wrote:
El 22/01/14 11:48, Per Jessen escribió:
Is there a problem with mdadmd ?
Yes and no.
- You see that message because you are trying to activate the mdadm service traditional init script, which for some reason it is still there.
- This script is AFAIK no longer needed, you do not need to enable it.
I don't see an mdadm service unit. There is something called "mdmon@", but that appears to be running mdmon, which is for external arrays.
- init scripts do not have an [Install] section, therefore the message.
Really? I mean, yes I know they don't have an [Install] section, but they're not meant to either? -- Per Jessen, Zürich (5.5°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
В Wed, 22 Jan 2014 11:56:00 -0300
Cristian Rodríguez
El 22/01/14 11:48, Per Jessen escribió:
Is there a problem with mdadmd ?
No, it is problem with systemctl :)
Yes and no.
- You see that message because you are trying to activate the mdadm service traditional init script, which for some reason it is still there.
And what is wrong with it? It is supported so far by openSUSE and it redirects to chkconfig.
- This script is AFAIK no longer needed, you do not need to enable it.
Oh, really? How mdadmd is started then?
- init scripts do not have an [Install] section, therefore the message.
init script *can not* have [Install] section so this error message is bogus and misleading. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
El 22/01/14 13:13, Andrey Borzenkov escribió:
Oh, really? How mdadmd is started then?
mdadm is ran by udev rules, falling back to a systemd timer that executes mdadm again for degraded arrays.
init script *can not* have [Install] section so this error message is bogus and misleading.
Yes. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
В Wed, 22 Jan 2014 13:23:16 -0300
Cristian Rodríguez
El 22/01/14 13:13, Andrey Borzenkov escribió:
Oh, really? How mdadmd is started then?
mdadm is ran by udev rules, falling back to a systemd timer that executes mdadm again for degraded arrays.
Mmm ... would you mind looking what /etc/init.d/mdadm actually does (not what you assume it does) and showing me where udev does the same? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Cristian Rodríguez wrote:
El 22/01/14 13:13, Andrey Borzenkov escribió:
Oh, really? How mdadmd is started then?
mdadm is ran by udev rules, falling back to a systemd timer that executes mdadm again for degraded arrays.
The latter seems be a cron job, but the mdadm daemon isn't started by any udev rules, afaict.
init script *can not* have [Install] section so this error message is bogus and misleading.
Yes.
https://bugzilla.novell.com/show_bug.cgi?id=859931 -- Per Jessen, Zürich (4.8°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Andrey Borzenkov
-
Cristian Rodríguez
-
Per Jessen