Debian Bug report logs - #448405
Disabling user-rebooting while apt is upgrading a system

version graph

Package: apt; Maintainer for apt is APT Development Team <[email protected]>; Source for apt is src:apt (PTS, buildd, popcon).

Reported by: Francois Marier <[email protected]>

Date: Sun, 28 Oct 2007 20:48:01 UTC

Severity: wishlist

Found in version apt/0.7.6

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], APT Development Team <[email protected]>:
Bug#448405; Package apt. (full text, mbox, link).


Acknowledgement sent to Francois Marier <[email protected]>:
New Bug report received and forwarded. Copy sent to APT Development Team <[email protected]>. (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Francois Marier <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: Disabling user-rebooting while apt is upgrading a system
Date: Mon, 29 Oct 2007 09:45:56 +1300
Package: apt
Version: 0.7.6
Severity: wishlist

It would be nice if apt would provide a way, perhaps in doc/apt/examples, to disable
user-initiated reboots.  It would disable rebooting when starting and re-enable it at the end of the process.

I often upgrade machines while people are online.  However, sometimes they disconnect from IM and reboot their computers while I am doing an upgrade.  I'm afraid that it could make the system unbootable.

Of course the easy way is to message them to tell them to keep the computer on until I tell them I'm done.  But I was curious whether there was sometime that could be done automatically.

There seems to be quite a few things to disable to prevent reboots:

  http://ubuntu.wordpress.com/2006/03/20/disable-shutdown-for-normal-users/

But on the other hand, the common case (GDM/KDM) would probably be enough.  It would be a good start at least.

Francois




Information forwarded to [email protected], APT Development Team <[email protected]>:
Bug#448405; Package apt. (Fri, 02 Jan 2009 20:15:03 GMT) (full text, mbox, link).


Acknowledgement sent to Francois Marier <[email protected]>:
Extra info received and forwarded to list. Copy sent to APT Development Team <[email protected]>. (Fri, 02 Jan 2009 20:15:03 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Francois Marier <[email protected]>
To: [email protected]
Subject: Blocking reboots using molly-guard
Date: Fri, 02 Jan 2009 15:11:13 -0500
Now that "molly-guard" has hooks, this feature could be implemented by
having apt drop in a small script in /etc/molly-guard/run.d/

Francois




Information forwarded to [email protected], APT Development Team <[email protected]>:
Bug#448405; Package apt. (Fri, 02 Jan 2009 20:36:02 GMT) (full text, mbox, link).


Acknowledgement sent to "Eugene V. Lyubimkin" <[email protected]>:
Extra info received and forwarded to list. Copy sent to APT Development Team <[email protected]>. (Fri, 02 Jan 2009 20:36:08 GMT) (full text, mbox, link).


Message #15 received at [email protected] (full text, mbox, reply):

From: "Eugene V. Lyubimkin" <[email protected]>
To: Francois Marier <[email protected]>, [email protected]
Subject: Re: Bug#448405: Blocking reboots using molly-guard
Date: Fri, 02 Jan 2009 22:30:02 +0200
[Message part 1 (text/plain, inline)]
Hello.

Francois Marier wrote:
> Now that "molly-guard" has hooks, this feature could be implemented by
> having apt drop in a small script in /etc/molly-guard/run.d/
Yes, looks promising after looking to molly-guard description.

-- 
Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com
Ukrainian C++ developer, Debian Maintainer, APT contributor

[signature.asc (application/pgp-signature, attachment)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Sun Sep 22 07:44:41 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.