GNU bug report logs -
#36264
shepherd doesn't capture service stdout/stderr
Previous Next
Reported by: Robert Vollmert <rob <at> vllmrt.net>
Date: Mon, 17 Jun 2019 16:43:02 UTC
Severity: important
Merged with 30939
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#36264: shepherd: detailed output should be placed into well-known location and not tty
which was filed against the guix package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 30939 <at> debbugs.gnu.org.
--
36264: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=36264
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Robert Vollmert <rob <at> vllmrt.net> skribis:
> On a pretty fresh Guix System install, I see some regular
> sshd error messages on tty1 (which I guess means they’re
> written to /dev/console). Also, setting up a regular
> shepherd service via make-forkexec-constructor for a
> program that logs to stderr (postgrest which I’m in the
> process of packaging), all output goes to tty1.
>
> Compare the discussion at
>
> https://lists.gnu.org/archive/html/guix-devel/2019-06/msg00186.html
Fortunately that was fixed in Shepherd 0.9.0 (April 2022).
Ludo’.
[Message part 3 (message/rfc822, inline)]
Problem, not just when a service is misbehaving after successful system reconfigure:
$ sudo herd start smtpd
Password:
Service smtpd could not be started.
herd: failed to start service smtpd
This is on virtual terminal in X11, as well as in /var/log/messages,
/var/log/shepherd.log, etc.
This is not enough. If I wanted more info, I'd expect that
sudo herd status smtpd would give it (which it does not), so the only
reliable source of information so far is tty 1. Can we fix that in
one of the next shepherd releases? Or is this something we have to
fix in Guix?
This bug report was last modified 252 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.