[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#448405: Disabling user-rebooting while apt is upgrading a system



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




Reply to: