Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Dec 2020 12:04:14 +0530
From:      Rahul Bharadwaj <rahulbharadwajpromos@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Potential BUG: update_motd="YES" is prepending same text on ever reboot
Message-ID:  <CADotuvvXNoDKgTgdEABv%2B1uW1ua31Ywjazgg3Ff67K1BYgQTOw@mail.gmail.com>
In-Reply-To: <CADotuvvsk8fViP0maTN6tKoL_x2C-7UZEMNn7Kj6GsUCrDXtKQ@mail.gmail.com>
References:  <CADotuvvsk8fViP0maTN6tKoL_x2C-7UZEMNn7Kj6GsUCrDXtKQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

Can anyone please see if they face the same issue with their FreeBSD
machines. It is really annoying to see the same line printed several times
on every restart.

Thanks and Regards.

On Tue, Dec 8, 2020 at 8:17 PM Rahul Bharadwaj <
rahulbharadwajpromos@gmail.com> wrote:

> Hi,
>
> My FreeBSD details are:
> FreeBSD 11.3
>
> I have the following option in my /etc/rc.conf:
> *update_motd="YES"*
>
> Every time I reboot, the output from the "uname" command is prepended to
> the previous reboot in the /etc/motd file. So on 3 restarts, it prints like
> this:
>
> *$ ssh user@ip*
>
> *FreeBSD user 11.3 ...*
> *FreeBSD user 11.3 ...*
> *FreeBSD user 11.3 ...*
>
> *<my actual motd>*
>
>
> Here's what I have tried already:
> - Searched the mailing list for any mention of "motd" or "update_motd".
> None match my issue.
> - Searched the FreeBSD bugzilla for "motd", there are 2 bugs, none of
> which match my issue.
> - Read the man page for rc.conf and motd, they don't give any hints on
> bugs.
>
> So I'm not sure if this is even a bug. Can someone please help out on this.
>
> Thanks and Regards.
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADotuvvXNoDKgTgdEABv%2B1uW1ua31Ywjazgg3Ff67K1BYgQTOw>