NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/57656: /sbin/shutdown prints message twice
The following reply was made to PR bin/57656; it has been noted by GNATS.
From: ben@pocket.services
To: gnats-bugs%netbsd.org@localhost
Cc: gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost
Subject: Re: bin/57656: /sbin/shutdown prints message twice
Date: Fri, 13 Oct 2023 16:50:22 +0200
--Apple-Mail=_18593F37-21A0-4695-9AA2-D901F351818B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=utf-8
I get=20
=
=20
Broadcast Message from bjjl%lion.mx.plus@localhost =
=20
(/dev/pts/0) at 16:45 CEST... =
=20
=
=20
Hi =20
Just once=E2=80=A6
I had left off the -D parameter earlier, but realised, that for a =
"shutdown now=E2=80=9D, this would no longer display the services =
shutdown info lines (about squid terminating, nginx terminating, =
unmounting the drives, etc.), so being =E2=80=9Cblind=E2=80=9D. With -D, =
running in the foreground, I do get the additional info lines once =
shutdown time has arrived. But the wall(1) is displayed twice, also when =
using a time longer than =E2=80=9Cnow=E2=80=9D:
=20=
bjjl@lion[pts/0]<Documents>% sudo shutdown -Dr +30
=
=20
*** System shutdown message from bjjl%lion.mx.plus@localhost *** =
=20
System going down at 17:18 =
=20
=
=20
=
=20
Shutdown at Fri Oct 13 17:18:57 2023.
=
=20
*** System shutdown message from bjjl%lion.mx.plus@localhost *** =
=20
System going down at 17:18 =
=20
=
=20
=20
> On 13. Oct 2023, at 16:45, Martin Husemann <martin%duskware.de@localhost> wrote:
>=20
> The following reply was made to PR bin/57656; it has been noted by =
GNATS.
>=20
> From: Martin Husemann <martin%duskware.de@localhost>
> To: gnats-bugs%netbsd.org@localhost
> Cc:=20
> Subject: Re: bin/57656: /sbin/shutdown prints message twice
> Date: Fri, 13 Oct 2023 16:43:02 +0200
>=20
> There have been no changes to shutdown, this may depend on how you are
> logged into the system (it uses wall(1) to send that message to all =
users).
>=20
> Try:
>=20
> echo Hi | wall
>=20
> and see what you get displayed.
>=20
> Martin
>=20
--Apple-Mail=_18593F37-21A0-4695-9AA2-D901F351818B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=utf-8
<html><head><meta http-equiv=3D"content-type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"overflow-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;">I =
get <div><br></div><div><p style=3D"margin: 0px; font-style: =
normal; font-variant-caps: normal; font-stretch: normal; font-size: =
16px; line-height: normal; font-family: Menlo; font-size-adjust: none; =
font-kerning: auto; font-variant-alternates: normal; =
font-variant-ligatures: normal; font-variant-numeric: normal; =
font-variant-east-asian: normal; font-variant-position: normal; =
font-feature-settings: normal; font-optical-sizing: auto; =
font-variation-settings: normal; min-height: 19px;"><span =
style=3D"font-variant-ligatures: no-common-ligatures"> =
=
=
=
</span></p>
<p style=3D"margin: 0px; font-style: normal; font-variant-caps: normal; =
font-stretch: normal; font-size: 16px; line-height: normal; font-family: =
Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal;"><span =
style=3D"font-variant-ligatures: no-common-ligatures">Broadcast Message =
from bjjl%lion.mx.plus@localhost =
=
</span></p>
<p style=3D"margin: 0px; font-style: normal; font-variant-caps: normal; =
font-stretch: normal; font-size: 16px; line-height: normal; font-family: =
Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal;"><span =
style=3D"font-variant-ligatures: no-common-ligatures"> =
(/dev/pts/0) at 16:45 CEST... =
=
</span></p>
<p style=3D"margin: 0px; font-style: normal; font-variant-caps: normal; =
font-stretch: normal; font-size: 16px; line-height: normal; font-family: =
Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; min-height: =
19px;"><span style=3D"font-variant-ligatures: =
no-common-ligatures"> =
=
=
=
</span></p>
<p style=3D"margin: 0px; font-style: normal; font-variant-caps: normal; =
font-stretch: normal; font-size: 16px; line-height: normal; font-family: =
Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal;"><span =
style=3D"font-variant-ligatures: no-common-ligatures">Hi =
=
=
</span></p><p style=3D"margin: 0px; font-style: normal; =
font-variant-caps: normal; font-stretch: normal; font-size: 16px; =
line-height: normal; font-family: Menlo; font-size-adjust: none; =
font-kerning: auto; font-variant-alternates: normal; =
font-variant-ligatures: normal; font-variant-numeric: normal; =
font-variant-east-asian: normal; font-variant-position: normal; =
font-feature-settings: normal; font-optical-sizing: auto; =
font-variation-settings: normal;"><br></p><p style=3D"margin: 0px; =
font-stretch: normal; line-height: normal; font-size-adjust: none; =
font-kerning: auto; font-variant-alternates: normal; =
font-variant-ligatures: normal; font-variant-numeric: normal; =
font-variant-east-asian: normal; font-variant-position: normal; =
font-feature-settings: normal; font-optical-sizing: auto; =
font-variation-settings: normal;"><span style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal;">Just =
once</span>=E2=80=A6</p><p style=3D"margin: 0px; font-style: normal; =
font-variant-caps: normal; font-stretch: normal; font-size: 16px; =
line-height: normal; font-family: Menlo; font-size-adjust: none; =
font-kerning: auto; font-variant-alternates: normal; =
font-variant-ligatures: normal; font-variant-numeric: normal; =
font-variant-east-asian: normal; font-variant-position: normal; =
font-feature-settings: normal; font-optical-sizing: auto; =
font-variation-settings: normal;"><span style=3D"font-family: Helvetica; =
font-size: 12px;"><br></span></p><p style=3D"margin: 0px; font-stretch: =
normal; line-height: normal; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal;"><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal;">I had left off the -D parameter earlier, =
but </span>realised, that for a "shutdown now=E2=80=9D, this would =
no longer display the services shutdown info lines (about squid =
terminating, nginx terminating, unmounting the drives, etc.), so being =
=E2=80=9Cblind=E2=80=9D. With -D, running in the foreground, I do get =
the additional info lines once shutdown time has arrived. But the =
wall(1) is displayed twice, also when using a time longer than =
=E2=80=9Cnow=E2=80=9D:</p><p style=3D"margin: 0px; font-stretch: normal; =
line-height: normal; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal;"><br></p><p =
style=3D"margin: 0px; font-style: normal; font-variant-caps: normal; =
font-stretch: normal; font-size: 16px; line-height: normal; font-family: =
Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal;"> =
=
=
=
</p><p style=3D"margin: 0px; =
font-style: normal; font-variant-caps: normal; font-stretch: normal; =
font-size: 16px; line-height: normal; font-family: Menlo; =
font-size-adjust: none; font-kerning: auto; font-variant-alternates: =
normal; font-variant-ligatures: normal; font-variant-numeric: normal; =
font-variant-east-asian: normal; font-variant-position: normal; =
font-feature-settings: normal; font-optical-sizing: auto; =
font-variation-settings: normal;"><span style=3D"font-variant-ligatures: =
no-common-ligatures">bjjl@<b>lion</b>[pts/0]<<b>Documents</b>>% =
sudo shutdown -Dr +30</span></p><p style=3D"margin: 0px; font-style: =
normal; font-variant-caps: normal; font-stretch: normal; font-size: =
16px; line-height: normal; font-family: Menlo; font-size-adjust: none; =
font-kerning: auto; font-variant-alternates: normal; =
font-variant-ligatures: normal; font-variant-numeric: normal; =
font-variant-east-asian: normal; font-variant-position: normal; =
font-feature-settings: normal; font-optical-sizing: auto; =
font-variation-settings: normal; min-height: 19px;"><span =
style=3D"font-variant-ligatures: no-common-ligatures"> =
=
=
=
</span></p><p =
style=3D"margin: 0px; font-style: normal; font-variant-caps: normal; =
font-stretch: normal; font-size: 16px; line-height: normal; font-family: =
Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal;"><span =
style=3D"font-variant-ligatures: no-common-ligatures">*** System =
shutdown message from bjjl%lion.mx.plus@localhost *** =
</span></p><p =
style=3D"margin: 0px; font-style: normal; font-variant-caps: normal; =
font-stretch: normal; font-size: 16px; line-height: normal; font-family: =
Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal;"><span =
style=3D"font-variant-ligatures: no-common-ligatures">System going down =
at 17:18 =
=
</span></p><p =
style=3D"margin: 0px; font-style: normal; font-variant-caps: normal; =
font-stretch: normal; font-size: 16px; line-height: normal; font-family: =
Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; min-height: =
19px;"><span style=3D"font-variant-ligatures: =
no-common-ligatures"> =
=
=
=
</span></p><p style=3D"margin: 0px; font-style: =
normal; font-variant-caps: normal; font-stretch: normal; font-size: =
16px; line-height: normal; font-family: Menlo; font-size-adjust: none; =
font-kerning: auto; font-variant-alternates: normal; =
font-variant-ligatures: normal; font-variant-numeric: normal; =
font-variant-east-asian: normal; font-variant-position: normal; =
font-feature-settings: normal; font-optical-sizing: auto; =
font-variation-settings: normal; min-height: 19px;"><span =
style=3D"font-variant-ligatures: no-common-ligatures"> =
=
=
=
</span></p><p =
style=3D"margin: 0px; font-style: normal; font-variant-caps: normal; =
font-stretch: normal; font-size: 16px; line-height: normal; font-family: =
Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal;"><span =
style=3D"font-variant-ligatures: no-common-ligatures">Shutdown at Fri =
Oct 13 17:18:57 2023.</span></p><p style=3D"margin: 0px; font-style: =
normal; font-variant-caps: normal; font-stretch: normal; font-size: =
16px; line-height: normal; font-family: Menlo; font-size-adjust: none; =
font-kerning: auto; font-variant-alternates: normal; =
font-variant-ligatures: normal; font-variant-numeric: normal; =
font-variant-east-asian: normal; font-variant-position: normal; =
font-feature-settings: normal; font-optical-sizing: auto; =
font-variation-settings: normal; min-height: 19px;"><span =
style=3D"font-variant-ligatures: no-common-ligatures"> =
=
=
=
</span></p><p =
style=3D"margin: 0px; font-style: normal; font-variant-caps: normal; =
font-stretch: normal; font-size: 16px; line-height: normal; font-family: =
Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal;"><span =
style=3D"font-variant-ligatures: no-common-ligatures">*** System =
shutdown message from bjjl%lion.mx.plus@localhost *** =
</span></p><p =
style=3D"margin: 0px; font-style: normal; font-variant-caps: normal; =
font-stretch: normal; font-size: 16px; line-height: normal; font-family: =
Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal;"><span =
style=3D"font-variant-ligatures: no-common-ligatures">System going down =
at 17:18 =
=
</span></p><p =
style=3D"margin: 0px; font-style: normal; font-variant-caps: normal; =
font-stretch: normal; font-size: 16px; line-height: normal; font-family: =
Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; min-height: =
19px;"><span style=3D"font-variant-ligatures: =
no-common-ligatures"> =
=
=
=
</span></p><p style=3D"margin: 0px; font-style: =
normal; font-variant-caps: normal; font-stretch: normal; font-size: =
16px; line-height: normal; font-family: Menlo; font-size-adjust: none; =
font-kerning: auto; font-variant-alternates: normal; =
font-variant-ligatures: normal; font-variant-numeric: normal; =
font-variant-east-asian: normal; font-variant-position: normal; =
font-feature-settings: normal; font-optical-sizing: auto; =
font-variation-settings: normal; min-height: 19px;"><span =
style=3D"font-variant-ligatures: no-common-ligatures"> =
=
</span></p><p style=3D"margin: 0px; =
font-style: normal; font-variant-caps: normal; font-stretch: normal; =
font-size: 16px; line-height: normal; font-family: Menlo; =
font-size-adjust: none; font-kerning: auto; font-variant-alternates: =
normal; font-variant-ligatures: normal; font-variant-numeric: normal; =
font-variant-east-asian: normal; font-variant-position: normal; =
font-feature-settings: normal; font-optical-sizing: auto; =
font-variation-settings: normal;"><span style=3D"font-family: Helvetica; =
font-size: 12px;"><br></span></p><div><blockquote type=3D"cite"><div>On =
13. Oct 2023, at 16:45, Martin Husemann <martin%duskware.de@localhost> =
wrote:</div><br class=3D"Apple-interchange-newline"><div><div>The =
following reply was made to PR bin/57656; it has been noted by =
GNATS.<br><br>From: Martin Husemann <martin%duskware.de@localhost><br>To: =
gnats-bugs%netbsd.org@localhost<br>Cc: <br>Subject: Re: bin/57656: /sbin/shutdown =
prints message twice<br>Date: Fri, 13 Oct 2023 16:43:02 +0200<br><br> =
There have been no changes to shutdown, this may depend on how you =
are<br> logged into the system (it uses wall(1) to send that message to =
all users).<br><br> Try:<br><br> <span class=3D"Apple-tab-span" =
style=3D"white-space:pre"> </span>echo Hi | wall<br><br> and see =
what you get displayed.<br><br> =
Martin<br><br></div></div></blockquote></div><br></div></body></html>=
--Apple-Mail=_18593F37-21A0-4695-9AA2-D901F351818B--
Home |
Main Index |
Thread Index |
Old Index