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

Re: Reboot in postinst

Diogo Kollross <diogok_br@yahoo.com.br> writes:

> Is there a problem in using something like
>   shutdown -r now
> inside a postinst script of a package?

Yes.  Debian packages are supposed to be able to be installed and
start working without requiring any reboots.  We've made this work
pretty well for libc and all kinds of hard cases; you can make it work
for yours too I'm sure.

It is certainly bogus to reboot the machine out from under the

Reply to: