V Mon, Apr 25, 2022 at 11:45:44AM -0400, Simo Sorce napsal(a):
> On Mon, 2022-04-25 at 16:28 +0200, Petr Pisar wrote:
> > V Mon, Apr 25, 2022 at 12:54:10PM +0200, Sandro Mani napsal(a):
> > > Since some recent update (can't pinpoint which exactly), everytime the
> > > system suspends, it sends a "The system is going down for suspend NOW!"
> > > broadcast message to all terminals. Any idea anyone how to switch this 
> > > off?
> > > (Running up-to-date rawhide).
> > > 
> > What's wrong with the message? Do you not want to notify all the users of 
> > your
> > system that it will be powered down?
> 
> On a workstation?
> No, you already know you are suspending and there is no need to spam
> terminals, you want them to stay as they are so when yo un-suspend the
> output is not "corrupted".
> 
On a single-user system no. Ideally the emmitter of the warning should count
users of an interactive sessions.

> > This message is emitted by shutdown tool. That tool has --no-wall option to
> > disable the message. You need to find out what executes that command and 
> > then
> > patch it. It could be e.g. systemd/logind.
> 
> Is this an upstream change?
> 
I have no idea. I do not use suspend. I only know that a similar message is
reported for reboot and poweroff. On Fedora /usr/sbin/shutdown is provided by
systemd. I was unable to find any relevant notice in systemd's NEWS.

-- Petr

Attachment: signature.asc
Description: PGP signature

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to