[Bug 859931] New: The unit files have no [Install] section. They are not meant to be enabled using systemctl.
https://bugzilla.novell.com/show_bug.cgi?id=859931 https://bugzilla.novell.com/show_bug.cgi?id=859931#c0 Summary: The unit files have no [Install] section. They are not meant to be enabled using systemctl. Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: per@computer.org QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:11.0) Gecko/20100101 Firefox/11.0 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, ...). The LSB init files are not meant to have an [Install] section, why is systemctl complaining about it? Reproducible: Always -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=859931 https://bugzilla.novell.com/show_bug.cgi?id=859931#c1 --- Comment #1 from Per Jessen <per@computer.org> 2014-01-25 10:16:47 UTC --- Same thing for snmpd: # systemctl enable snmpd.service snmpd.service is not a native service, redirecting to /sbin/chkconfig. Executing /sbin/chkconfig snmpd 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, ...). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=859931 https://bugzilla.novell.com/show_bug.cgi?id=859931#c Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bwiedemann@suse.com AssignedTo|bnc-team-screening@forge.pr |systemd-maintainers@suse.de |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=859931 https://bugzilla.novell.com/show_bug.cgi?id=859931#c2 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |werner@suse.com Resolution| |DUPLICATE --- Comment #2 from Dr. Werner Fink <werner@suse.com> 2014-02-10 15:11:05 UTC --- Why this is a systemd bug? It is a message nothing more and nothing less. Also the message is skipped in factory linux:~ # systemctl enable mdadmd mdadmd.service is not a native service, redirecting to /sbin/chkconfig. Executing /sbin/chkconfig mdadmd on which is a side effect of bnc #818044. Btw: If a unit file does not have an Install section then this could be also not a bug but a protection. *** This bug has been marked as a duplicate of bug 818044 *** http://bugzilla.novell.com/show_bug.cgi?id=818044 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=859931 https://bugzilla.novell.com/show_bug.cgi?id=859931#c3 --- Comment #3 from Per Jessen <per@computer.org> 2014-02-10 15:47:12 UTC --- (In reply to comment #2)
Why this is a systemd bug?
Seems quite obvious to me: a) systemctl spews out unnecessary messages where there is no problem. b) systemctl belongs to systemd. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com