Re: stable/13 snapshot's /etc/rc.d/machine_id has use of main's startmsg from /etc/rc.subr so it reports 2 "eval: startmsg: not found"
- Reply: Mateusz Piotrowski : "Re: stable/13 snapshot's /etc/rc.d/machine_id has use of main's startmsg from /etc/rc.subr so it reports 2 "eval: startmsg: not found""
- In reply to: Zhenlei Huang : "Re: stable/13 snapshot's /etc/rc.d/machine_id has use of main's startmsg from /etc/rc.subr so it reports 2 "eval: startmsg: not found""
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Feb 2023 01:31:04 UTC
Sorry for missing the author tcberner@ of `libexec/rc/rc.d/machine_id`.
> On Feb 22, 2023, at 9:25 AM, Zhenlei Huang <zlei@FreeBSD.org> wrote:
>
> Hi,
>
> `libexec/rc/rc.d/machine_id` (https://reviews.freebsd.org/D37722 <https://reviews.freebsd.org/D37722>) is MFC'ed into stable/13 but its precedence https://reviews.freebsd.org/D34514 <https://reviews.freebsd.org/D34514> is not.
>
> So we should either MFC D34514, or change libexec/rc/rc.d/machine_id in stable/13 to use `check_startmsgs`.
>
> I'd personally prefer MFCing ;)
>
> Best regards,
> Zhenlei
>
>> On Jan 22, 2023, at 11:32 AM, Mark Millard <marklmi@yahoo.com <mailto:marklmi@yahoo.com>> wrote:
>>
>> When I booted a new stable/13 snapshot install, the messaging
>> included:
>>
>> . . .
>> Updating motd:.
>> eval: startmsg: not found
>> eval: startmsg: not found
>> Clearing /tmp (X related).
>> . . .
>>
>> It looks like the "eval: startmsg: not found" lines
>> are from:
>>
>> # grep -r "\<startmsg\>" /etc/
>> /etc/rc.d/machine_id: startmsg -n "Creating ${machine_id_file} "
>> /etc/rc.d/machine_id: startmsg 'done.'
>>
>> (No more matches found.)
>>
>> The following was not found on stable/13:
>>
>> /etc/rc.subr:# startmsg
>> /etc/rc.subr:startmsg()
>> /etc/rc.subr: startmsg "Starting ${name}."
>>
>>
>> ===
>> Mark Millard
>> marklmi at yahoo.com <http://yahoo.com/>
>>
>>
>
>
>