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 17:40:01 +0200
Logged in from Mac via ssh.
Problem seems to be the -D flag to /sbin/shutdown. Without it, I only =
get the messages once. See below.
bjjl@lion[pts/0]<~>% w bjjl =
(0) 17:30
5:30PM up 3:47, 1 user, load averages: 0.01, 0.02, 0.00
USER TTY FROM LOGIN@ IDLE WHAT
bjjl pts/0 dynamic-2a01-0c22-d1ef-e40 3:35PM 0 w bjjl=20
bjjl@lion[pts/0]<~>% who =
(0) 17:30
bjjl pts/0 Oct 13 15:35 (2a01:c22:d1ef:e400:b1f7:490:aa0:7d64)
bjjl@lion[pts/0]<~>% mesg =
(0) 17:32
is n
bjjl@lion[pts/0]<~>% write bjjl =
(1) 17:33
write: You have write permission turned off; no reply possible
write: bjjl has messages disabled
bjjl@lion[pts/0]<~>% stty -a =
(0) 17:33
speed 9600 baud; 26 rows; 81 columns; queue =3D 1024; line =3D termios;
lflags: icanon isig iexten echo echoe -echok echoke -echonl echoctl
-echoprt -altwerase -noflsh -tostop -flusho pendin -nokerninfo
-extproc
iflags: -istrip icrnl -inlcr -igncr ixon -ixoff ixany imaxbel -ignbrk
brkint -inpck -ignpar -parmrk
oflags: opost onlcr -ocrnl -oxtabs -onocr -onlret
cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -mdmbuf
-cdtrcts
cchars: discard =3D ^O; dsusp =3D ^Y; eof =3D ^D; eol =3D <undef>;
eol2 =3D <undef>; erase =3D ^?; intr =3D ^C; kill =3D ^U; lnext =3D ^V;
min =3D 1; quit =3D ^\; reprint =3D ^R; start =3D ^Q; status =3D ^T;
stop =3D ^S; susp =3D ^Z; time =3D 0; werase =3D ^W;
bjjl@lion[pts/0]<~>% wall /etc/motd =
(0) 17:33
wall: You have write permission turned off; no reply possible
Broadcast Message from bjjl%lion.mx.plus@localhost <mailto:bjjl%lion.mx.plus@localhost>
(/dev/pts/0) at 17:34 CEST=E2=80=A6=20
NetBSD 10.0_BETA (GENERIC) #2: Fri Oct 13 13:34:05 CEST 2023=20
bjjl@lion[pts/0]<~>% sudo /sbin/shutdown -r +100 =
(126) 17:37
Shutdown at Fri Oct 13 19:17:18 2023.
shutdown: [pid 3663]
bjjl@lion[pts/0]<~>%=20
*** System shutdown message from bjjl%lion.mx.plus@localhost ***
System going down at 19:17 =
=
=
=20
bjjl@lion[pts/0]<~>% sudo /sbin/shutdown -Dr +100 =
(0) 17:38
Shutdown at Fri Oct 13 19:18:31 2023.
*** System shutdown message from bjjl%lion.mx.plus@localhost ***=20
System going down at 19:18 =20
=
=
=
=
*** System shutdown message from bjjl%lion.mx.plus@localhost ***=20
System going down at 19:18 =
=20
> On 13. Oct 2023, at 17:15, 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 17:12:32 +0200
>=20
> So how are you loged in? What does who(1) or w(1) display?
> The problem is something on your machine, it is not easily =
reproducable
> here.
>=20
> Martin
>=20
Home |
Main Index |
Thread Index |
Old Index