Re: Living with Systemd



On 8/3/11, Arthur Dent <misc.lists@xxxxxxxxxxxxxxxx> wrote:
On Wed, 2011-08-03 at 10:32 -0700, T.C. Hollingsworth wrote:


I get the same error, but it appears to be harmless; console output
WORKSFORME. Perhaps you're expecting output in xterm? Console ==
/dev/console (which usually == tty1), not the tty you happen to be
running systemctl on.

Ahh OK - I didn't understand that.
Unfortunately however I cannot test this at the moment. You see I run
that (F15) box headless and administer it by SSH'ing into it. I could
get physical access to the machine later, but then I'd also have to get
a monitor, mouse and keyboard for it (not impossible - but a hassle
nevertheless).

Googling around it would appear that it's possible to redirect
/dev/console to a pty, so you might try that.

systemd provides the "tty" option to DefaultStandardError but doesn't
seem to offer the configuration to actually set which tty it goes to.
I'll ping systemd-devel to see if that is a documentation or design
oversight, because that would help tremendously.


You can redirect output to an arbitrary tty but
only on a per-unit basis. (In fact, this discussion has put a crazy
notion in my head to use that functionality in a script that makes
debugging services easier.)

That sounds interesting. Please keep me posted.

At least I am one step closer with syslog working, but it could
certainly be easier...

Thanks very much for your help so far. Much appreciated.

Best regards

Mark
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



Relevant Pages

  • Re: RESEND: Fedora 14=>16 Logrotate, Systemctl, Httpd, SSL problem
    ... the main one at the moment involves Logrotate, Systemctl, Httpd and SSL. ... "systemctl" and a problem with now NOT auto-restarting httpd at the end ... key to a separate file and there's plenty of instructions to do that on ... To unsubscribe or change subscription options: ...
    (Fedora)
  • Re: rc.local not loaded on boot
    ... Quite a bit more to it than just putting a script there: ... systemctl status rc-local.service shows? ... To unsubscribe or change subscription options: ... Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have ...
    (Fedora)
  • Fedora disimprovements: am I alone?
    ... actually make life harder for the user? ... I'd take grub2 and systemctl as two examples. ... And the output of the new commands seems much more verbose than the old: ... To unsubscribe or change subscription options: ...
    (Fedora)
  • Fedora =?UTF-8?Q?=31=34=3D=3E=31=36=20Logrotate=2C=20Systemctl=2C?= =?UTF-8?Q?=20Httpd=2C=20
    ... things are going again happily but there are a few remaining problems - the main one at the moment involves Logrotate, Systemctl, Httpd and SSL. ... To unsubscribe or change subscription options: ...
    (Fedora)