[Bug 1012818] New: "systemctl is-enabled" returns with exit status 0 if the service is not known
http://bugzilla.suse.com/show_bug.cgi?id=1012818 Bug ID: 1012818 Summary: "systemctl is-enabled" returns with exit status 0 if the service is not known Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.2 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: aduffeck@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- On Leap 42.2 the exit status of "systemctl is-enabled foo" is 0, while it was 1 on 42.1: /:/# systemctl is-enabled foo && echo "success" Failed to get unit file state for foo.service: No such file or directory success According to the documentation the command should have an exit code > 0 if "The unit file is invalid or another error occurred", so the old behavior was correct afaict. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1012818
Franck Bui
http://bugzilla.suse.com/show_bug.cgi?id=1012818
http://bugzilla.suse.com/show_bug.cgi?id=1012818#c1
Andre Duffeck
http://bugzilla.suse.com/show_bug.cgi?id=1012818
Andre Duffeck
http://bugzilla.suse.com/show_bug.cgi?id=1012818
Franck Bui
http://bugzilla.suse.com/show_bug.cgi?id=1012818
Franck Bui
http://bugzilla.suse.com/show_bug.cgi?id=1012818
Franck Bui
http://bugzilla.suse.com/show_bug.cgi?id=1012818
http://bugzilla.suse.com/show_bug.cgi?id=1012818#c2
--- Comment #2 from Franck Bui
http://bugzilla.suse.com/show_bug.cgi?id=1012818
http://bugzilla.suse.com/show_bug.cgi?id=1012818#c3
--- Comment #3 from Andre Duffeck
http://bugzilla.suse.com/show_bug.cgi?id=1012818
http://bugzilla.suse.com/show_bug.cgi?id=1012818#c4
--- Comment #4 from Franck Bui
http://bugzilla.suse.com/show_bug.cgi?id=1012818
http://bugzilla.suse.com/show_bug.cgi?id=1012818#c5
Franck Bui
http://bugzilla.suse.com/show_bug.cgi?id=1012818
Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1012818
Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1012818
http://bugzilla.suse.com/show_bug.cgi?id=1012818#c9
--- Comment #9 from Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1012818
Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1012818
Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1012818
http://bugzilla.suse.com/show_bug.cgi?id=1012818#c10
--- Comment #10 from Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com