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



I started to debug the thing.

Turns out the message is correctly displayed only once as long as
e.g. compiled with -DDEBUG and running without sudo command.

Even when running after su in a root shell all is fine.

The problem starts with sudo from pkgsrc (latest stable
release sudo-1.9.14p3): Running the command like this:

sudo ./shutdown -Dh +30

will trigger the message twice:



*** System shutdown message from bjjl%lion.mx.plus@localhost *** System going down at 10:43






*** System shutdown message from bjjl%lion.mx.plus@localhost *** System going down at 10:43





Home | Main Index | Thread Index | Old Index