[Bug 725481] New: systemd should tell me I'm stoping an unknown service

https://bugzilla.novell.com/show_bug.cgi?id=725481 https://bugzilla.novell.com/show_bug.cgi?id=725481#c0 Summary: systemd should tell me I'm stoping an unknown service Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: fcrozat@suse.com ReportedBy: jslaby@suse.com QAContact: qa@suse.de Found By: --- Blocker: --- Like start or status: # systemctl start franta.service Failed to issue method call: Unit franta.service failed to load: No such file or directory. See system logs and 'systemctl status franta.service' for details. # systemctl status franta.service franta.service Loaded: error (Reason: No such file or directory) Active: inactive (dead) With stop, there is no output: # systemctl stop franta.service # This is confusing when one does a typo... -- 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=725481 https://bugzilla.novell.com/show_bug.cgi?id=725481#c Jiri Slaby <jslaby@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|systemd should tell me I'm |systemd should tell me I'm |stoping an unknown service |stopping an unknown service -- 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=725481 https://bugzilla.novell.com/show_bug.cgi?id=725481#c1 --- Comment #1 from Frederic Crozat <fcrozat@suse.com> 2011-10-21 09:37:53 UTC --- not sure if it is wanted or not.. Better to ask upstream for this.. -- 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=725481 https://bugzilla.novell.com/show_bug.cgi?id=725481#c2 --- Comment #2 from Jiri Slaby <jslaby@suse.com> 2012-02-06 13:30:33 UTC --- (In reply to comment #1)
not sure if it is wanted or not.. Better to ask upstream for this..
Any replies on that site? Thanks. -- 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=725481 https://bugzilla.novell.com/show_bug.cgi?id=725481#c3 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #3 from Frederic Crozat <fcrozat@suse.com> 2012-02-07 13:21:57 UTC --- got upstream response : <fcrozat> mezcalero: quick question (for bnc#725481) : is it normal/wanted systemctl stop foobar.service (where foobar.service doesn't exist) doesn't output any error message (nor error code) ? <mezcalero> fcrozat: yupp systemd now needs to continue to keep track of the services' processes but it's a service with no unit file and the user should still be able to shut it down so in that case we need to make sure that units which failed to load still work fine with "stop" <fcrozat> it just makes live harder if you do a typo :) (which was the point of the bug in the first place ;) <mezcalero> well, i am pretty sure people would be more pissed off if systemd would fail stopping services that have no unit file closing as invalid, per upstream response -- 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