unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Brant Gardner" <mail@lnklnx.com>
To: "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de>
Cc: 34580@debbugs.gnu.org
Subject: bug#34580: Service ssh-daemon could not be started
Date: Sun, 29 Sep 2019 08:02:41 -0500	[thread overview]
Message-ID: <dbe0ce85-792c-4471-b1bc-e16e3753010e@www.fastmail.com> (raw)
In-Reply-To: <20190928135456.xm3ioetdynui7wtt@pelzflorian.localdomain>

I went looking for the pid to answer Ludo's question and didn't find strace, and the ssh command line was wrong so I got suspicious.

After searching a bit, I found the problem: I'm an idiot.  'make' apparently did not succeed after all and I simply failed to catch it.  I went back and re-executed everything, slower this time and paying better attention and found this after 'make check':

make[2]: Entering directory '/home/bgardner/Development/guix/po/guix'
test ! -f ./guix.pot || \
  test -z "cs.gmo da.gmo de.gmo en@boldquot.gmo en@quot.gmo eo.gmo es.gmo fr.gmo hu.gmo pl.gmo pt_BR.gmo sr.gmo sv.gmo vi.gmo zh_CN.gmo" || make cs.gmo da.gmo de.gmo en@boldquot.gmo en@quot.gmo eo.gmo es.gmo fr.gmo hu.gmo pl.gmo pt_BR.gmo sr.gmo sv.gmo vi.gmo zh_CN.gmo
make[3]: Entering directory '/home/bgardner/Development/guix/po/guix'
make[3]: 'cs.gmo' is up to date.
make[3]: 'da.gmo' is up to date.
make[3]: 'de.gmo' is up to date.
rm -f en@boldquot.gmo && /gnu/store/byxp8n6qsyg2pm1p5x409sag9mbj1b3r-profile/bin/msgfmt -c --statistics --verbose -o en@boldquot.gmo en@boldquot.po
en@boldquot.po:2857: format specifications in 'msgstr[0]' are not a subset of those in 'msgid_plural'
en@boldquot.po:2864: format specifications in 'msgstr[0]' are not a subset of those in 'msgid_plural'
/gnu/store/byxp8n6qsyg2pm1p5x409sag9mbj1b3r-profile/bin/msgfmt: found 2 fatal errors
en@boldquot.po: 916 translated messages.
make[3]: *** [Makefile:201: en@boldquot.gmo] Error 1
make[3]: Leaving directory '/home/bgardner/Development/guix/po/guix'
make[2]: *** [Makefile:238: stamp-po] Error 2
make[2]: Leaving directory '/home/bgardner/Development/guix/po/guix'
make[1]: *** [Makefile:4862: check-recursive] Error 1
make[1]: Leaving directory '/home/bgardner/Development/guix'
make: *** [Makefile:5330: check] Error 2

I've no idea what this 'msgfmt' issue is, however.  Any suggestions?

--
Brant Gardner

On Sat, Sep 28, 2019, at 08:54, pelzflorian (Florian Pelz) wrote:
> On Sat, Sep 28, 2019 at 07:38:49AM -0500, Brant Gardner wrote:
> > Hi Ludo;
> > 
> > Okay, I did those steps exactly:
> > 
> >   - clone
> >   - patch -p1 < your-patch
> >   - ./bootstrap
> >   - ./configure --localstatedir=/var
> >   - make check
> >   - sudo -E ./pre-inst-env guix system reconfigure /path/to/myconfig.scm
> >   - reboot
> > 
> > I had no issues or errors at any step and on reboot ssh-daemon tried & failed to start so all went according to plan, but /tmp does *not* have a ssh log file in it.
> > 
> > Not sure where this went sideways, any advice?
> > 
> > Thank you,
> > 
> 
> Perhaps /tmp is the wrong directory to store such an early log?  I
> have a Guix virtual machine where ssh-daemon, httpd, php-fpm and
> term-auto cannot be started on boot.  /var/log/debug contains:
> 
> Sep 28 15:47:00 localhost vmunix: [    0.898260] Write protecting the 
> kernel read-only data: 18432k
> Sep 28 15:47:00 localhost vmunix: [    0.900802] Freeing unused kernel 
> image memory: 2036K
> Sep 28 15:47:00 localhost vmunix: [    0.902187] Freeing unused kernel 
> image memory: 72K
> Sep 28 15:47:00 localhost vmunix: [    0.903142] Run /init as init 
> process
> Sep 28 15:47:00 localhost vmunix: [    1.168976] usbcore: registered 
> new interface driver usb-storage
> Sep 28 15:47:00 localhost vmunix: [    1.184777] usbcore: registered 
> new interface driver uas
> Sep 28 15:47:00 localhost vmunix: [    1.202265] hidraw: raw HID events 
> driver (C) Jiri Kosina
> Sep 28 15:47:01 localhost shepherd[1]: Service ssh-daemon could not be 
> started. 
> Sep 28 15:47:01 localhost vmunix: [    1.204318] usbcore: registered 
> new interface driver usbhid
> Sep 28 15:47:01 localhost vmunix: [    1.204320] usbhid: USB HID core 
> driver
> Sep 28 15:47:01 localhost vmunix: [    1.270227] isci: Intel(R) C600 
> SAS Controller Driver - version 1.2.0
> Sep 28 15:47:01 localhost vmunix: [    1.445126] EXT4-fs (sda1): 
> mounted filesystem with ordered data mode. Opts: (null)
> Sep 28 15:47:01 localhost vmunix: [    2.387966] random: fast init done
> Sep 28 15:47:01 localhost vmunix: [    3.554499] random: ssh-keygen: 
> uninitialized urandom read (32 bytes read)
> Sep 28 15:47:01 localhost vmunix: [    4.219031] random: shepherd: 
> uninitialized urandom read (4096 bytes read)
> Sep 28 15:47:02 localhost vmunix: [    4.615089] random: crng init done
> Sep 28 15:47:02 localhost vmunix: [    5.199788] shepherd[1]: Service 
> root has been started.
> Sep 28 15:47:02 localhost vmunix: [    6.559652] shepherd[1]: starting 
> services...
> Sep 28 15:47:02 localhost vmunix: [    6.563503] shepherd[1]: Service 
> root-file-system has been started.
> Sep 28 15:47:02 localhost vmunix: [    6.567531] shepherd[1]: Service 
> user-file-systems has been started.
> Sep 28 15:47:02 localhost vmunix: [    6.656184] shepherd[1]: waiting 
> for udevd...
> 
> I do not know if this is a problem with the order in which services,
> crng, mounting start.
> 
> Regards,
> Florian
>

  parent reply	other threads:[~2019-09-29 13:05 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-19 21:21 bug#34580: Service ssh-daemon could not be started Andreas Enge
2019-02-20 22:21 ` Leo Famulari
2019-02-20 22:48   ` Andreas Enge
2019-02-20 22:51     ` Leo Famulari
2019-02-20 23:08       ` Andreas Enge
2019-02-20 23:56         ` Leo Famulari
2019-03-14 22:11       ` Leo Famulari
2019-03-15 16:35         ` Leo Famulari
2019-02-22  6:52 ` Chris Marusich
2019-09-20 20:00 ` Brant Gardner
2019-09-24  8:08   ` Ludovic Courtès
2019-09-24 12:20     ` Brant Gardner
2019-09-26 20:48       ` Ludovic Courtès
2019-09-27 14:57         ` Brant Gardner
2019-09-28  9:45           ` Ludovic Courtès
2019-09-28 12:38             ` Brant Gardner
2019-09-28 13:54               ` pelzflorian (Florian Pelz)
2019-09-28 17:44                 ` Ludovic Courtès
2019-09-28 18:23                   ` Danny Milosavljevic
2019-09-28 18:31                     ` Danny Milosavljevic
2019-09-28 19:47                       ` Ludovic Courtès
2019-09-28 19:47                     ` Ludovic Courtès
2019-09-29 13:02                 ` Brant Gardner [this message]
2019-09-28 14:11               ` Ludovic Courtès
2019-10-09 14:49                 ` Brant Gardner
2019-10-11 10:14                   ` Ludovic Courtès
2019-10-12 12:09                     ` Brant Gardner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dbe0ce85-792c-4471-b1bc-e16e3753010e@www.fastmail.com \
    --to=mail@lnklnx.com \
    --cc=34580@debbugs.gnu.org \
    --cc=pelzflorian@pelzflorian.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).