public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "John J. Foster" <Gentoo-User@festus.150ml.com>
To: Gentoo User <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] mailx on reboot from within local.start
Date: Fri, 23 Jun 2006 20:50:16 -0400	[thread overview]
Message-ID: <20060624005016.GA9591@garbanzo> (raw)

[-- Attachment #1: Type: text/plain, Size: 2123 bytes --]

Good evening,

I just realized I'm no longer receiving email notification on system
reboots. This quit working between April 23rd and April 27th.

The following lines are in /etc/conf.d/local.start

# Record system restart
echo "System restart on   `date +%F`   at   `date +%R`" >>
/var/log/reboot.log     (on one line, of course)
# Send email notification that the system just restarted
source /etc/profile  (tried without this too)
/usr/bin/date | /bin/mailx -s "System restarted" garbanzo@festus.150ml.com

I get the following error message when /etc/init.d/local is set to run
in the default runlevel.

send-mail: account default not found: no configuration file available
Can't send mail: sendmail process failed with error code 78

If I restart local, or remove it from default runlevel and start it
manually, there is no error and the email is sent fine.

This is what was installed/upgraded during that timeframe:

Mon Apr 24 12:43:58 2006 >>> kde-base/kdegames-3.5.2
Mon Apr 24 17:34:50 2006 >>> kde-base/kdegraphics-3.5.2
Mon Apr 24 18:04:33 2006 >>> kde-base/kdeedu-3.5.2
Mon Apr 24 18:06:11 2006 >>> kde-base/kde-3.5.2
Tue Apr 25 07:20:24 2006 >>> sys-devel/gcc-config-1.3.13-r2
Tue Apr 25 08:38:20 2006 >>> sys-libs/glibc-2.3.6-r3
Tue Apr 25 08:38:53 2006 >>> app-misc/pax-utils-0.1.11-r1
Tue Apr 25 08:39:32 2006 >>> sys-apps/baselayout-1.12.0_pre18-r1
Tue Apr 25 08:40:18 2006 >>> media-sound/alsa-headers-1.0.11
Tue Apr 25 08:43:24 2006 >>> media-libs/alsa-lib-1.0.11
Tue Apr 25 08:44:24 2006 >>> media-sound/alsa-utils-1.0.11
Tue Apr 25 08:44:53 2006 >>> app-portage/portage-utils-0.1.15
Tue Apr 25 08:45:51 2006 >>> app-editors/nano-1.3.10-r1
Tue Apr 25 08:48:15 2006 >>> sys-fs/xfsprogs-2.7.11
Tue Apr 25 08:48:44 2006 >>> sys-apps/memtest86+-1.65
Tue	Apr	25 11:19:29	2006 >>> net-misc/tightvnc-1.2.9-r1

System uses mailx and msmtp.

Any ideas?

Thanks,
festus
-- 
It is not unusual for those at the wrong end of the club to have a
clearer picture of reality than those who wield it.
                                                      Noam Chomsky

[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

                 reply	other threads:[~2006-06-24  0:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

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

  git send-email \
    --in-reply-to=20060624005016.GA9591@garbanzo \
    --to=gentoo-user@festus.150ml.com \
    --cc=gentoo-user@lists.gentoo.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox