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

Re: cron-apt, dpkg and shutdown



On Sun, 20 Jul 2008 19:07:11 +0200
"Hans-J. Ullrich" <hans.ullrich@loop.de> wrote:

> Dear maintainers,
> 
> maybe I am wrong, so please correct me:
> 
> When you are usimg cron-apt on computers, which are not all the time online 
> (i.e. laptops or desktops at home), and you are using cron-apt, so IMO a user 
> should be at least warned, if there is an active upgrading process running.
> 
> Otherwise the user will shut down his system and the running process 
> (aptitude, dpkg or whatever) will be hard killed. 
> 
> In this case, for example, dpkg will be in an unconsistent state (and must be 
> corrected with "dpkg --configure -a"). As this is no problem for an 
> experienced user, IMO this might be a real problem for users, which just want 
> to use the system (say: technical newbies).
> 
> My solution would be, to let the shutdown-process first look into the process 
> list, if essential processes are running (at least aptitude, synaptic, dpkg, 
> apt and some other important processes), and , if they do, either ask the 
> user what to do, or better, inhibit the shutting down. (Windows does it this 
> way, as far as I know).
> 
> As this is no real bug, just more a thing for the wishlist, I do not know, 
> where to send my wish. So I send my thoughts here for discussion.
> 

Don't get me wrong, I like your idea, but debian-amd64 is certainly not the
place to discuss it. IMO, only things specific to 64bit (debian-based) computing
should be topics for discussion within this list, even though many of us
(including myself) have used this list in the past for very different reasons.

There exist much more generic lists in debian to start a fruitful discussion on
this interesting topic. I'm sure you already know of this!

Cheers,
Dimitris


Reply to: