Ask Your Question

lennart's profile - activity

2015-11-03 11:10:32 -0500 received badge  Nice Answer (source)
2013-12-19 05:02:26 -0500 received badge  Great Answer
2013-12-19 05:02:26 -0500 received badge  Guru
2013-11-28 08:51:13 -0500 received badge  Nice Answer (source)
2013-11-28 08:51:13 -0500 received badge  Necromancer (source)
2013-11-01 06:18:10 -0500 received badge  Nice Answer
2013-11-01 06:18:10 -0500 received badge  Necromancer
2013-11-01 06:18:10 -0500 received badge  Good Answer
2013-09-15 08:01:13 -0500 received badge  Good Answer (source)
2013-09-12 23:45:33 -0500 received badge  Good Answer (source)
2013-09-12 23:45:33 -0500 received badge  Enlightened (source)
2013-09-12 19:51:27 -0500 received badge  Nice Answer (source)
2013-09-12 19:51:27 -0500 received badge  Necromancer (source)
2013-09-06 05:36:33 -0500 received badge  Nice Answer (source)
2013-09-06 05:36:33 -0500 received badge  Necromancer (source)
2013-09-06 05:35:57 -0500 received badge  Nice Answer (source)
2013-09-06 05:35:57 -0500 received badge  Necromancer (source)
2013-09-06 05:35:39 -0500 received badge  Nice Answer (source)
2013-06-10 03:11:06 -0500 answered a question How to clear systemctl error message after yum erase?

You can use "systemctl reset-failed" to allow systemd to gc failed unreferenced units.

2013-05-14 05:05:30 -0500 answered a question Where is /usr/lib/systemd/system/nagios.service

Native systemd unit files you find in /usr/lib/systemd/system/, legacy SysV init scripts you find in /etc/rc.d/init.d/. systemd will pick up both: the native units and the init scripts. The latter get automatically suffixed with ".service".

You nagios unit is one of those which are loaded from a SysV init script, and no native unit file exists for it. That's why you have /etc/rc.d/init.d/nagios but no /usr/lib/systemd/system/nagios.service.

"systemctl status nagios.service" will show you where the unit was loaded from and should show you the last log lines of it, which hopefully can tell you what is going on with nagios, and why it is failing.

2013-02-22 02:07:13 -0500 received badge  Teacher (source)
2013-02-14 10:50:55 -0500 answered a question How do I get classical std out from systemd / systemctl ?

In newer systemd versions its sufficient to type "systemctl status foobar.service" to get the last 10 lines of log output of foobar.service.

2013-02-14 10:49:53 -0500 answered a question How to start a systemd unit only after LVM is up?

Note that normal services are started only after all storage is set up anyway, hence you don't have to do anything special at all. All normal services will be implicitly ordered after LVM setup.

(Or to turn this around: only if you use DefaultDependencies=no you ever have to think about these things)

2013-02-14 10:47:39 -0500 answered a question where is detail information about systemd

All documentation is linked from the systemd homepage:

In particular, look for "Manuals and Documentation for Users and Administrators", "Videos for Users and Administrators", "The systemd for Administrators Blog Series".

2013-02-14 10:45:54 -0500 answered a question Which service is doing what?

This will give you a quick description of what a service does:

systemctl status foo.service

For many services (including all services systemd itself ships), you can also use this:

systemctl help foo.service

Which will get you longer help texts about the specific service.

2013-02-14 10:44:24 -0500 answered a question console-kit-daemon: what is this service for?

ConsoleKit is obsoleted by systemd's own logind service. Both services manage active logins and suchlike. For a longer explanation what logind does type "systemctl help systemd-logind.service". CK did similar but less stuff than logind.

GNOME has been updated to not require CK anymore, and you can safely remove CK then. If you use some other DE you might have to keep it around however.

2013-02-14 10:42:15 -0500 answered a question How to disable a specific virtual terminal with systemd-loginctl autovt?

Genreally, VTs are handed out first-come-first-serve. X will allocate the first available VT, as you start a new X instance. If you switch to one of the NAutoVT= VTs and nothing is running on them yet, then logind will spawn a getty for you on it. Also, as a special exception tty6 is always allocated for a getty (which can be configured as ReserveVT=).

This way we always run as few gettys as necessary, under all conditions, but still always have one getty around for emergencies.

2013-02-14 10:39:14 -0500 answered a question Why systemd is listening on port 631?

systemd is listening on CUPS' behalf on that socket. It will never read anything from that socket though, that's only done by CUPS.

if you want systemd and CUPS to stop listening on this port use "systemctl stop cups.socket" and "systemctl disable cups.socket".

2013-02-14 10:36:49 -0500 answered a question How to start a systemd service, after DHCP has initialized the IP-Adress?

Short answer:

systemctl enable NetworkManager-wait-online.service

Long answer:

2013-02-14 10:34:27 -0500 answered a question How to migrate to journald after upgrade to 18

To exclusively use the journal and drop syslog usage simple:

a) uninstall rsyslog with "sudo yum remove rsyslog"

b) enable journald storage persistency with "sudo mkdir -p /var/log/journal"

c) reboot


2013-02-14 10:32:27 -0500 answered a question what kernel parameters are recognized by systemd?

Here's the precise list of kernel command line parameters systemd understands:

2013-02-14 10:18:03 -0500 answered a question Why systemd is not loading environment file

You want ${FOOBAR} instead of $FOOBAR if shall be resolved as part of a word.

See the discussion about this in systemd.service(5), the part about ExectStart=.