On Thu, May 25, 2017 at 12:30:56PM -0600, Alan Feuerbacher wrote:
> On 5/25/2017 12:24 PM, Kuba wrote:
> > On Thu, 25 May 2017 12:19:53 -0600, Alan Feuerbacher
> > <[email protected]> wrote:

First, may I suggest that sendmail is probably not a mail server
which many people want to use.  It used to be horrendous to
configure.  I run postfix, which provides /usr/sbin/sendmail.

Just mentioning that in case it is something in sendmail that is
hanging.

> > > 
> > > I would do that if the system were up and running. But as I said, it
> > > hangs up at the login prompt.
> > 
> > How can you be sure it hangs? Maybe, as I said, it's just the keyboard?
> 
> The computer itself quits working -- I have to turn the power switch off and
> on to reboot to the host system.
> 

1. My thought process on trying to debug this

With traditional sysvinit, the kernel has invoked init and that has
gone into your chosen runlevel (probably runlevel 3?).  I suggest
that you begin by looking at the bootscript for sendmail, to see if
it starts multiple programs.  If it does, try adding messages
between them.

Alternatively, if sendmail really is running ok then the problem
would be with the *next* script (ordered by the SNN symlink
numbers).  But if that next script begins to execute, I would expect
it to report something.  So this sounds to me as if sendmail is not
completing.

If you have enabled MagicSysRQ in your kernel, and your keyboard has
a SysRq key (possibly on PrtScr - labels may differ slightly), you
can probably force a reboot.  For my desktops I think I use AltGr
e(right Alt) and PrintScreen - hit the magic key combination for your
keyboard, followed by s (sync), wait briefly, then use the magic key
combination followed by b (boot) or, at the end of the session o
(off).  These will do unclean shutdowns, so next boot will fsck, but
the Sync will update logs, particularly the system log and maybe the
mail log, boot log (boot log tends to be not very informative).

If you didn't enable that in your kernel config, wait a few minutes
so that the logs have hopefully sync'd.

2. Recommendations, now you know how I've got them:

As a first stage, from the host look at the LFS logs to see if there
is anything useful.  If there isn't, as root chmod 644
/mnt/lfs/etc/rc.d/init.d/sendmail so that you can read and edit it
but it will not automatically run.

If you are able to boot without sendmail, you should have a working
keyboard on several ttys : from one of those, root can try starting
sendmail, or just stepping through the invocation(s) in that
bootscript [ i.e. run commands directly ].

Alternatively, and if you have NOT booted this system in LFS before
you added the extra packages, perhaps you did not build the
(correct) keyboard driver (usb and PS/2 might be different, I'm not
sure).

ĸen
-- 
I live in a city. I know sparrows from starlings.  After that
everything is a duck as far as I'm concerned.  -- Monstrous Regiment
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to