| Summary: | systemctl status can trigger actual administrative changes to the system, this conflicts with user expectations | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Jonas Thiem <jonasthiem> |
| Component: | RPM Packages | Assignee: | Colin Guthrie <mageia> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | 3 | ||
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | systemd-195-22.1.mga3.src.rpm | CVE: | |
| Status comment: | |||
|
Description
Jonas Thiem
2014-01-15 20:42:53 CET
Thierry Vignaud
2014-01-16 06:32:14 CET
Assignee:
bugsquad =>
mageia The lines shown in systemctl are the last 10 lines of *log* output. systemctl is not *doing* those things, it's *reporting* that they happened.
These commands were run by the service itself, not systemctl.
From the man systemctl page:
status [NAME...|PID...]
Show terse runtime status information about one or more units,
followed by most recent log data from the journal. If no units are
specified, show all units (subject to limitations specified with
-t). If a PID is passed, show information about the unit the
process belongs to.
...
-n, --lines=
When used with status, controls the number of journal lines to
show, counting from the most recent ones. Takes a positive integer
argument. Defaults to 10.
So if you don't like this, you can just use "systemctl status -n 0 shorewall"Status:
NEW =>
RESOLVED Ok. I assumed it was related because I lost internet connection right with the status command. It may have been caused by another command just before that though. Thanks for explaining! |