🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #4747

Bug#1133827: molly-guard: should catch xl shutdown "" too

#4747
From: Marc Haber
Date: Mon, 16 Nov 2026 16:30
24 lines
2481 bytes
Control: tags -1 wontfix
thanks

On Tue, Apr 14, 2026 at 07:35:15PM +0200, Samuel Thibault wrote:
> A bogus script of ours was doing
> 
> xl shutdown "${VM_NAME}"
> 
> but VM_NAME happened to be empty. The effect is to shutdown dom0, i.e.
> shut the whole machine without asking for anything!

As far as I understand, that would mean wrapping xl, and handling the 
"special" case of the > 98 % of systems that are not xen hosts. I am not 
sure whether this is maintainable in molly-guard.

You might try submitting a MR, but I reserve the right to not accept 
that if it's too error-prone for the normal case.

I think that is something that should be handled in xl or locally.

Tagging this wontfix, I am open to arguments to convince me otherwise.

Greetings
Marc
Technical Details
Message-ID: <O07KF-chDc-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!news.servidellagleba.it!bofh.it!news.nic.it!robomod
References: <MJPTX-f7Re-1@gated-at.bofh.it> <MJPTX-f7Re-1@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From: Marc Haber <mh+debian-packages@zugschlus.de>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1133827: molly-guard: should catch xl shutdown "" too
Date: Mon, 16 Nov 2026 17:30:01 +0100
Message-ID: <O07KF-chDc-1@gated-at.bofh.it>
References: <MJPTX-f7Re-1@gated-at.bofh.it> <MJPTX-f7Re-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Mon Nov 16 16:29:06 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.651
Reply-To: Marc Haber <mh+debian-packages@zugschlus.de>, 1133827@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: molly-guard@packages.debian.org
X-Debian-Pr-Message: followup 1133827
X-Debian-Pr-Package: molly-guard
X-Debian-Pr-Source: molly-guard
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
User-Agent: Mutt/2.4.1 (2026-07-04)
X-Crossassassin-Score: 2
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2003007
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 24
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Mon, 16 Nov 2026 17:27:32 +0100
X-Original-Message-ID: <avsu9GfOLbn0Juzb@192.168.77.35>
X-Original-References: <ad56023jxE4T1-dj@end> <ad56023jxE4T1-dj@end>